From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28206 invoked by alias); 29 Aug 2006 13:27:10 -0000 Received: (qmail 28198 invoked by uid 22791); 29 Aug 2006 13:27:10 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 29 Aug 2006 13:27:04 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GI3cM-0003wr-IR; Tue, 29 Aug 2006 09:27:02 -0400 Date: Tue, 29 Aug 2006 13:27:00 -0000 From: Daniel Jacobowitz To: Steffen Schumacher Cc: gdb@sourceware.org Subject: Re: SV: Which thread caused dump? Message-ID: <20060829132702.GA15145@nevyn.them.org> Mail-Followup-To: Steffen Schumacher , gdb@sourceware.org References: <20060829123901.GA12955@nevyn.them.org> <2B1831460E7C6B46A19066A0E9147A4E0C1743@VESTMB403A.tdk.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2B1831460E7C6B46A19066A0E9147A4E0C1743@VESTMB403A.tdk.dk> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00215.txt.bz2 On Tue, Aug 29, 2006 at 03:23:11PM +0200, Steffen Schumacher wrote: > Ok but it doesn't show me much. Hmm.. > > My stack must have been overwritten: > > (gdb) bt > > #0 0x2834f46b in pthread_testcancel () from /usr/lib/libpthread.so.2 > > #1 0x28347e3c in pthread_mutexattr_init () from > > /usr/lib/libpthread.so.2 > > #2 0x284fa450 in ?? () > > (gdb) > > #2 seems to start out of the blue.. > How do you go about chasing a bug like this? Maybe try getting system libraries with debugging; GDB has apparently not got enough information to backtrace out of libpthread.so.2. -- Daniel Jacobowitz CodeSourcery