From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19442 invoked by alias); 20 Sep 2004 15:46:41 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19435 invoked from network); 20 Sep 2004 15:46:40 -0000 Received: from unknown (HELO danu.procontrol.fi) (212.149.71.178) by sourceware.org with SMTP; 20 Sep 2004 15:46:40 -0000 Received: by danu.procontrol.fi (Postfix, from userid 106) id 775CC1C3511B; Mon, 20 Sep 2004 18:46:39 +0300 (EEST) Received: from [192.168.10.217] (ip213-185-36-189.laajakaista.mtv3.fi [213.185.36.189]) by danu.procontrol.fi (Postfix) with ESMTP id B65931C35112 for ; Mon, 20 Sep 2004 18:46:34 +0300 (EEST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <3F0C315B-0B1C-11D9-8F31-000393CC2E90@iki.fi> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-5--723607683" To: gdb@sources.redhat.com From: Timo Sirainen Subject: Linux 2.6 backtrace problems Date: Mon, 20 Sep 2004 15:46:00 -0000 X-Pgp-Agent: GPGMail 1.0.2 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on danu.procontrol.fi X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-SW-Source: 2004-09/txt/msg00162.txt.bz2 --Apple-Mail-5--723607683 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Content-length: 1161 Googling this problem doesn't show many people complaining, so I'm wondering if it's just something wrong with my system. So, simply put: int main() { abort(); } Running it and getting backtrace gives: #0 0xb7ebdee9 in raise () from /lib/tls/libc.so.6 #1 0xb7fcbedc in ?? () from /lib/tls/libc.so.6 #2 0xbffff3f0 in ?? () #3 0xb7ebf781 in abort () from /lib/tls/libc.so.6 #4 0x00000000 in ?? () #5 0x00000020 in ?? () .. #37 0xb8000c40 in ?? () from /lib/ld-linux.so.2 #38 0xb7fe919c in ?? () #39 0x08048217 in ?? () #40 0xbffff3d8 in ?? () #41 0xb7ff23cf in _dl_lookup_versioned_symbol () from /lib/ld-linux.so.2 #42 0xb7ea97f8 in __libc_start_main () from /lib/tls/libc.so.6 #43 0xb7fcbedc in ?? () from /lib/tls/libc.so.6 Not very helpful. Sometimes it gives almost usable backtrace by losing only the first 5 functions, but sometimes it's entirely corrupted. First this happened with Linux 2.6.5, gdb 6.0 and gcc 3.something. I went back to 2.4 kernel. Today I thought maybe it would be fixed by now, but it still happens with 2.6.9-rc2-mm1, gdb 6.2.1 and gcc 3.3.4 (from Debian unstable). CPU is Athlon XP. Is this kernel or gdb problem? --Apple-Mail-5--723607683 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit Content-length: 186 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFBTvtYyUhSUUBViskRAoKRAKCj+IscWvmhapSGWxqD4xoOA+F6IACeMw6G tlb0rGm1T82q2pHaCPgEd/s= =JR8p -----END PGP SIGNATURE----- --Apple-Mail-5--723607683--