Subject: Re: pkg/34266: editors/joe + amd64 = libcurses core dump
To: None <gnats-bugs@NetBSD.org>
From: Stephen Borrill <netbsd@precedence.co.uk>
List: pkgsrc-bugs
Date: 09/08/2006 10:43:38
On Sun, 27 Aug 2006, Julian Coleman wrote:
> The following reply was made to PR pkg/34266; it has been noted by GNATS.
>
> From: Julian Coleman <jdc@coris.org.uk>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/34266: editors/joe + amd64 = libcurses core dump
> Date: Sun, 27 Aug 2006 17:40:05 +0100
>
> > 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.
>
> > >How-To-Repeat:
> > install editors/joe on amd64 and type joe at a command line.
>
> I can't reproduce this on sparc64 and I don't have access to an amd64
> machine.

FYI, emulators/qemu includes an x86_64 emulator which can be used to 
recreate the problem (that's what I'musing now - I no longer have access 
to real hardware).

> Is it possible for you to compile libcurses and libterm from
> current and see if the problem still exists?  There have been a few fixes
> that might be relevant.

Yes, it's still there with a (24-hour old) current.

> If the problem is still there, could you compile
> libcurses with:
>
>   DEBUG_CURSES=1 FULL_DEBUG=1 make
>
> then run joe and make the __curses.out file available?

Done that, but I'm not getting the __curses.out file (grep __curses.out 
/usr/lib/libcurses.so.6.1 shows it's compiled with FULL_DEBUG).

-- 
Stephen