This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot fetch general-purpose registers for thread 1342445920: generic error


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]