From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 8 20:46:29 2006 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58A6816A416; Fri, 8 Dec 2006 20:46:29 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04A1443CA7; Fri, 8 Dec 2006 20:45:28 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.166] (vpn-client-166.marcuscom.com [10.2.1.166]) by creme-brulee.marcuscom.com (8.13.8/8.13.8) with ESMTP id kB8KlOLq061192; Fri, 8 Dec 2006 15:47:24 -0500 (EST) (envelope-from marcus@marcuscom.com) Message-ID: <4579CF70.3070703@marcuscom.com> Date: Fri, 08 Dec 2006 15:47:44 -0500 From: Joe Marcus Clarke Organization: MarcusCom, Inc. User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: Micah References: <200612061930.kB6JUJVA038980@freefall.freebsd.org> <1165476509.74826.14.camel@shumai.marcuscom.com> <4578AB25.2020504@ywave.com> <1165565003.15396.7.camel@shumai.marcuscom.com> <4579C00E.2040905@ywave.com> <4579C125.3040106@marcuscom.com> <4579C1E0.6000703@ywave.com> In-Reply-To: <4579C1E0.6000703@ywave.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on creme-brulee.marcuscom.com Cc: gnome@freebsd.org, bug-followup@freebsd.org Subject: Re: ports/105589: Firefox 2.0 segfaults when saving more than one file per session X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 20:46:29 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Micah wrote: > Joe Marcus Clarke wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Micah wrote: >>> Joe Marcus Clarke wrote: >>>> On Thu, 2006-12-07 at 16:00 -0800, Micah wrote: >>>>> Joe Marcus Clarke wrote: >>>>>> Before anything can be done to fix this, someone needs to provide a >>>>>> backtrace with full debugging symbols. For more on doing this, see >>>>>> http://www.freebsd.org/gnome/docs/bugging.html . >>>>>> >>>>>> Joe >>>>> Anything else I can provide? >>>> This backtrace appears corrupt. I do not see how it dies in endian.h. >>>> Rebuild libc and libpthread with debugging symbols, and get a new >>>> trace. >>>> >>>> Joe >>>> >>> Okay, but it still died in endian.h. I then rebuilt world with debugging >>> symbols in hope that there's some other library somewhere that needed >>> them, but the stack trace still ends in endian.h >>> >>> I followed it through the debugger in hopes of getting you something >>> more useful. It segfaults while executing line 357 of xdgmimecache.c, >>> (which is: XdgMimeCache *cache = _caches[i]; inside >>> cache_glob_lookup_literal). Stepping into that line of code sends the >>> debugger to endian.h. Is there another non-system library that I need to >>> add debugging symbols to? >> >> What endian.h files do you have on your system? What does: >> >> (gdb) frame 0 >> (gdb) l >> >> Report? >> >> Joe > > (gdb) frame 0 > #0 0x48614d0e in cache_glob_lookup_literal ( > file_name=0x8e8b317 "logo-reverse.png", mime_types=0x101, > n_mime_types=2) > at endian.h:144 > 144 { > (gdb) list > 139 ((_x << 40) & ((__uint64_t)0xff << 48)) | ((_x << > 56))); > 140 } > 141 > 142 static __inline __uint32_t > 143 __bswap32(__uint32_t _x) > 144 { > 145 > 146 return (__byte_swap_int(_x)); > 147 } > 148 > > > kdbg reports that endian.h resides in /usr/include/machine. This looks like a stack overflow. Does increasing THR_STACK32_DEFAULT in /usr/src/lib/libpthread/thread/thr_private.h (maybe to (2 * 1024 * 1024)) then rebuilding libpthread help? What GTK+ theme are you using? Joe - -- PGP Key : http://www.marcuscom.com/pgp.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFec9vb2iPiv4Uz4cRAqG9AJ9aerGaeJeIbuwl1xfdz4HnSFPU6ACfS+g3 b8g/1qU+tMQpdZthqPT44t8= =8YNe -----END PGP SIGNATURE-----