Subject: lib/7863: new libcurses breaks old binaries
To: None <gnats-bugs@gnats.netbsd.org>
From: Ross Harvey <ross@rain.org>
List: netbsd-bugs
Date: 06/26/1999 23:20:52
>Number:         7863
>Category:       lib
>Synopsis:       new libcurses breaks old binaries
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 26 23:20:00 1999
>Last-Modified:
>Originator:     Ross Harvey
>Organization:
Avalon Computer Systems, Inc.
>Release:        post-1.4, probably appeared with 1999/04/13 curses update
>Environment:
	
System: NetBSD sutekh 1.4D NetBSD 1.4D (GENERIC) #0: Sat Jun 26 19:56:52 PDT 1999 ross@sutekh:/usr/src/sys/arch/alpha/compile/GENERIC alpha


>Description:
	Installing new libraries (probably libcurses) breaks the 1.4 vi(1)
	binary, and quite possibly other binaries as well.
>How-To-Repeat:
	I have duplicated this problem on both i386 and alpha.

	1. install NetBSD-1.4
	2. rebuild and install /usr/src/lib from -current
	3. vi anthing
	4. ^z
	5. fg
	6. Notice that your screen is blank.

	Updating a shared library should not break old binaries.
	This problem probably appeared when 3,562 lines of patches
	were made to libcurses on April 13, 1999.

	If vi(1) is then rebuilt and reinstalled, the problem "goes
	away". However, this doesn't mean things are OK. The fact that
	a shared library broke an old binary means that something bad
	has happened. This should be fixed or the next release will
	break locally built binaries.
>Fix:
	Unknown.
>Audit-Trail:
>Unformatted: