From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19172 invoked by alias); 28 Mar 2006 15:31:22 -0000 Received: (qmail 19162 invoked by uid 22791); 28 Mar 2006 15:31:21 -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, 28 Mar 2006 15:31:20 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FOGAA-0008NY-QF; Tue, 28 Mar 2006 10:31:18 -0500 Date: Tue, 28 Mar 2006 22:01:00 -0000 From: Daniel Jacobowitz To: Balazs Scheidler Cc: gdb@sourceware.org Subject: Re: thread register state information invalid in core files Message-ID: <20060328153118.GA32152@nevyn.them.org> Mail-Followup-To: Balazs Scheidler , gdb@sourceware.org References: <1143542626.8742.12.camel@bzorp.balabit> <20060328143647.GB30581@nevyn.them.org> <1143559222.16757.11.camel@bzorp.balabit> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1143559222.16757.11.camel@bzorp.balabit> User-Agent: Mutt/1.5.8i 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-03/txt/msg00188.txt.bz2 On Tue, Mar 28, 2006 at 05:20:22PM +0200, Balazs Scheidler wrote: > So it seems to be a kernel bug. Any hints where this was fixed or whether > it was fixed at all? Sorry, I've no idea. If it still occurs in current kernel.org kernels, you may want to report it to the kernel bugzilla. > > > The funny part that the segfault > > > itself occurred in the PID number 31158 (not the main thread for sure), > > > but gdb lists pid 31158 as the main thread with the main thread's stack. > > > > The kernel always dumps the faulting thread first. > > Sure, but it has the context of the main thread. Oh, I think I misunderstood you. You've got the main thread's registers, but the faulting thread's PID? I have no idea how that could happen! -- Daniel Jacobowitz CodeSourcery