Subject: pkg/34266: editors/joe + amd64 = libcurses core dump
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <netbsd@precedence.co.uk>
List: pkgsrc-bugs
Date: 08/23/2006 10:35:00
>Number:         34266
>Category:       pkg
>Synopsis:       editors/joe + amd64 = libcurses core dump
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 23 10:35:00 +0000 2006
>Originator:     Stephen Borrill
>Release:        3.1_RC1
>Organization:
Precedence Technologies
>Environment:
NetBSD  3.1_RC1 NetBSD 3.1_RC1 (GENERIC) #0: Mon Aug 21 18:12:40 BST 2006  root@ugly:/usr/obj.amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
joe coredumps when run on an amd64 machine. Seems to be irrespective of terminal type. gdb shows the following. Seems to be a libcurses problem.

(gdb) bt
#0  0x0000000200a170cd in _tputs_convert () from /usr/lib/libcurses.so.6
#1  0x0000000200a171ae in tputs () from /usr/lib/libcurses.so.6
#2  0x000000000041deb6 in getcap ()
#3  0x000000000041e024 in getcap ()
#4  0x000000000040dd0d in free ()
#5  0x000000000040dd80 in free ()
#6  0x00000000004148dd in free ()
#7  0x000000000040ff70 in free ()
#8  0x0000000000402c28 in free ()

>How-To-Repeat:
install editors/joe on amd64 and type joe at a command line.
>Fix: