From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1542 invoked by alias); 20 Jun 2006 12:56:50 -0000 Received: (qmail 1533 invoked by uid 22791); 20 Jun 2006 12:56:49 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO brical.or.uni-bonn.de) (131.220.141.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 20 Jun 2006 12:56:44 +0000 Received: from wse04.or.uni-bonn.de (bg-1.or.uni-bonn.de [131.220.141.100]) by brical.or.uni-bonn.de (Postfix) with ESMTP id BCFCFAEA1 for ; Tue, 20 Jun 2006 15:12:18 +0200 (CEST) Received: from [131.220.143.226] (unknown [131.220.143.226]) by wse04.or.uni-bonn.de (Postfix) with ESMTP id 9CE5BE95E for ; Tue, 20 Jun 2006 14:58:29 +0200 (CEST) From: Christoph Bartoschek To: gdb@sourceware.org Subject: Re: Cannot fetch general-purpose registers for thread 1342445920: generic error Date: Tue, 20 Jun 2006 13:00:00 -0000 User-Agent: KMail/1.9.3 References: <200606191719.00530.bartoschek@or.uni-bonn.de> <20060620122832.GE20079@nevyn.them.org> In-Reply-To: <20060620122832.GE20079@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606201456.57681.bartoschek@or.uni-bonn.de> 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-06/txt/msg00139.txt.bz2 > We have no idea - sorry, but you need to tell us a lot more about what > you're doing. At a minimum: > > - Is this NPTL or LinuxThreads? > - What architecture and kernel version are you using? > - What were you doing when it happened? > - What version of GDB are you using? This is NPTL. The code is compiled on a "Red Hat Enterprise Linux WS release 3 (Taroon Update 7)" machine. The compiler version is: g++ (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-54) The architecture is x86_64 AMD Opteron. I have the same error on different Kernel Versions: The RedHat machine: Linux feiler 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:13:55 EST 2006 x86_64 x86_64 x86_64 GNU/Linux A Suse Linux 10.0 machine: Linux eos 2.6.13-15.7-smp #1 SMP Tue Nov 29 14:32:29 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux I have also tried different gdb versions: GNU gdb Red Hat Linux (6.3.0.0-1.90rh) - This GDB was configured as "x86_64-redhat-linux-gnu". GNU gdb 6.3 - This GDB was configured as "x86_64-suse-linux". GNU gdb 6.4 - This GDB was configured as "x86_64-unknown-linux-gnu". What are we doing? I am not sure what we are doing when the error occurs because instrumenting the code with printf is very tedious and stepping towards the error takes to long (maybe one could use a script that stepps forward till the error occurs). But the error seems to occur on different places: When a gzip job is forked and waited for, when threads are joined or when an exception is thrown. The exception case is not deterministic and seems to only occur when I use "catch throw". Christoph Bartoschek