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: Backtrace not working from within nanosleep


Daniel Jacobowitz wrote:
On Tue, Mar 06, 2007 at 04:42:17PM +0000, Richard van der Hoff wrote:
The stack looks fine - it just looks like gdb can't unwind it. Any ideas
what might be the problem here?

I have:

Linux kernel 2.4.26
GNU gdb 6.6
gcc (GCC) 3.3.4
glibc-2.3.6

LinuxThreads, presumably, since this is 2.4.x.

Yes, indeed.


That means it is
fairly likely that you do not have unwind tables for nanosleep, so GDB
s unable to reason its way out.

I believe this is fixed if you use glibc 2.5, but I'm not completely
sure of that.

Hrm. That's something I can try. I've got a feeling my sysadmin isn't going to like the idea of upgrading everything to glibc 2.5, though...


Thanks.


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