From owner-freebsd-ports@FreeBSD.ORG Mon Mar 8 23:34:18 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C28CE16A4CE for ; Mon, 8 Mar 2004 23:34:18 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id B37BD43D45 for ; Mon, 8 Mar 2004 23:34:18 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (105bfbbf44c130812c8d4f7cd5f1e560@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i297XDQ4024425; Mon, 8 Mar 2004 23:33:14 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B5AC152D8F; Mon, 8 Mar 2004 23:34:11 -0800 (PST) Date: Mon, 8 Mar 2004 23:34:11 -0800 From: Kris Kennaway To: freebsd-ports@freebsd.org, lists-freebsd@biaix.org Message-ID: <20040309073411.GA63104@xor.obsecurity.org> References: <20040224090105.GA34383@grummit.biaix.org> <1077654347.1751.2.camel@timon.nist> <20040309065229.GA9722@grummit.biaix.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <20040309065229.GA9722@grummit.biaix.org> User-Agent: Mutt/1.4.2.1i Subject: Re: XFree86 debugging X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 07:34:18 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 09, 2004 at 07:52:29AM +0100, Joan Picanyol wrote: > That did the trick. The backtrace is: >=20 > (gdb) where > #0 0x2825c3ef in kill () from /lib/libc.so.5 > #1 0x282510e8 in raise () from /lib/libc.so.5 > #2 0x282c6f53 in abort () from /lib/libc.so.5 > #3 0x282c588e in tcflow () from /lib/libc.so.5 > #4 0x282c60bb in tcflow () from /lib/libc.so.5 > #5 0x282c643e in malloc () from /lib/libc.so.5 > #6 0x080e17b0 in Xalloc (amount=3D0) at utils.c:1197 > #7 0x080e183a in Xcalloc (amount=3D67732) at utils.c:1238 > #8 0x0809be75 in xf86calloc (sz=3D1, n=3D0) at libc_wrapper.c:1778 > #9 0x084aa039 in ?? () > #10 0x084aa0bc in ?? () > #11 0x085e501a in ?? () > #12 0x085e513d in ?? () > #13 0x085f02cf in ?? () > #14 0x085e906c in ?? () > #15 0x085e9155 in ?? () > #16 0x083e70f4 in ?? () > #17 0x0831d053 in ?? () > #18 0x0835e2b0 in ?? () > #19 0x08366648 in ?? () > #20 0x080b75d5 in Dispatch () at dispatch.c:450 > #21 0x080c96fb in main (argc=3D9, argv=3D0xbfbfee08, envp=3D0x0) at main.= c:438 > #22 0x0806b7b9 in _start () > (gdb) >=20 > This is 100% reproducible, with 'aj' options to malloc. How do I find > out who is failing to allocate memory and why? What else should I do to > debug this? You might have better luck following this up on the XFree86 developers list. Kris --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFATXNzWry0BWjoQKURAvfWAKDuDF3UPcU5xwxmIJOqUiG2qgNsKQCeLcXo m0jVVcBVQyYScTgXfPmLrAg= =nV2R -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--