From owner-freebsd-current@FreeBSD.ORG Tue Jan 17 20:52:42 2006 Return-Path: X-Original-To: freebsd-current@www.freebsd.org Delivered-To: freebsd-current@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2B6316A420 for ; Tue, 17 Jan 2006 20:52:41 +0000 (GMT) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (afrodita.rcub.bg.ac.yu [147.91.1.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90D5D43D67 for ; Tue, 17 Jan 2006 20:52:37 +0000 (GMT) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (localhost.localdomain [127.0.0.1]) by afrodita.rcub.bg.ac.yu (8.13.4/8.13.4) with ESMTP id k0HKqJpY002054; Tue, 17 Jan 2006 21:52:19 +0100 Received: from localhost (ggajic@localhost) by afrodita.rcub.bg.ac.yu (8.13.4/8.13.4/Submit) with ESMTP id k0HKqH9Z002049; Tue, 17 Jan 2006 21:52:18 +0100 Date: Tue, 17 Jan 2006 21:52:17 +0100 (CET) From: Goran Gajic To: Steve Kargl In-Reply-To: <20060117153021.GA22577@troutmask.apl.washington.edu> Message-ID: References: <84dead720601170605m406353b5nfbe9e4f2890b59b4@mail.gmail.com> <20060117153021.GA22577@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-RCUB-MailScanner-Information: Please contact the RCUB if you have problem with mail X-RCUB-MailScanner: Found to be clean X-RCUB-MailScanner-From: ggajic@afrodita.rcub.bg.ac.yu X-Mailman-Approved-At: Tue, 17 Jan 2006 20:54:22 +0000 Cc: freebsd-current@www.freebsd.org Subject: Re: recent changes to libc on amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2006 20:52:42 -0000 On Tue, 17 Jan 2006, Steve Kargl wrote: > > The problem with Xorg on amd64 is known, and I believe Jason > intends to look into the problem when his hardware arrives. > The prolem with joe appears to be new. Can you build libncurses > and joe with debugging symbol to get more information? Can > rebuild joe with electric fence? Also, read the malloc manpage > for setting various flags. > > Hi, I have staticly linked joe with ncurses (both build with -g flag) and got this: # gdb joe GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) run Starting program: /usr/ports/editors/joe/work/joe-3.3/joe Processing '/usr/local/etc/joe/joerc'... Program received signal SIGSEGV, Segmentation fault. 0x0000000000440554 in tgoto ( string=0x20028f8 , x=0, y=0) at /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/lib_tgoto.c:4 6 46 if (string == 0 || *string == '\0') { (gdb) where #0 0x0000000000440554 in tgoto ( string=0x20028f8 , x=0, y=0) at /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/lib_tgoto.c:4 6 #1 0x000000000041c808 in texec (cap=0x802000200, s=0x20028f8 , l=0, a0=0, a1=33564920, a2=0, a3=0) at termcap.c:518 #2 0x000000000041cc54 in tcompile (cap=0x802000200, s=0x20028f8 , a0=0, a1=0, a2=0, a3=0) at termcap.c:708 #3 0x000000000040ba15 in kbuild (cap=0x802000200, kmap=0x802ff6de0, seq=0x7fffffffe706 ".kN", bind=0x8020130e0, err=0x7fffffffe6a4, capseq=0x0, seql=0) at kbd.c:246 #4 0x000000000040bbb0 in kadd (cap=0x1, kmap=0x20028f8, seq=0x0, bind=0x0) at kbd.c:297 #5 0x0000000000412f3a in procrc (cap=0x802000200, name=0x802002b58 "/usr/local/etc/joe/joerc") at rc.c:1164 #6 0x000000000040df06 in main (argc=1, argv=0x7fffffffec58, envv=0x802002b58) at main.c:318 (gdb) Regards, gg. p.s. I have tried rebuilding Xorg again but with no luck :(