bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in gdb


From: Rustam
Subject: bug in gdb
Date: Mon, 8 Sep 2003 19:43:45 +0400
User-agent: KMail/1.5.2

When debugging multithreaded C program that uses pthreads gdb fails.


My system is:

Linux mandrake 9.1
2.4.21-0.18mdk
glibc-2.3.1
GNU gdb 5.3-22mdk (Mandrake Linux)
gcc-3.2.2-3mdk
comiler flags: -Wall -g -O0

It seems gdb fails when my program works with mutexes: locking or unlocking.


address@hidden sc_iked]# gdb sc_int_iked 4546
GNU gdb 5.3-22mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...
Attaching to program: /home/rustam/work/sc/sc_iked/sc_int_iked, process 4546
Reading symbols from /lib/i686/libpthread.so.0...done.
[New Thread 16384 (LWP 4543)]
[New Thread 32769 (LWP 4544)]
[New Thread 16386 (LWP 4545)]
[New Thread 32771 (LWP 4546)]
[New Thread 49156 (LWP 4547)]
[New Thread 65541 (LWP 4548)]
[New Thread 81926 (LWP 4549)]
[New Thread 98311 (LWP 4550)]
Loaded symbols for /lib/i686/libpthread.so.0
Reading symbols from /usr/lib/libgmp.so.3...done.
Loaded symbols for /usr/lib/libgmp.so.3
Reading symbols from /usr/lib/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.7
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
0x40025fd6 in nanosleep () from /lib/i686/libpthread.so.0
(gdb) break ike_sessions_int.c:842
Breakpoint 1 at 0x804eba5: file ike_sessions_int.c, line 842.
(gdb) c
Continuing.
[New Thread 114696 (LWP 4556)]
lin-lwp.c:1167: gdb-internal-error: lin_lwp_wait: Assertion lp->resumed'
failed.
An internal GDB error was detected.  This may make further
debugging unreliable.  Quit this debugging session? (y or n) n





reply via email to

[Prev in Thread] Current Thread [Next in Thread]