Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb / glibc querry
@ 2001-09-28 16:17 Ranjan Parthasarathy
  0 siblings, 0 replies; 5+ messages in thread
From: Ranjan Parthasarathy @ 2001-09-28 16:17 UTC (permalink / raw)
  To: gdb

I am working on a pthreads aware gdbserver with an implementation as done in
gdb.

I have a working release however occasionally my gdbserver causes a thread to
die reporting a SIGSEGV in __DTOR_END__ . This is somewhat random and I do
not get such an error in many programs but only in certain cases but
reproducable in all such cases.

Also I found that the __DTOR_END__ is declared in some file in glibc. What is
the purpose of that and how is it used.

Any information will be really helpful

Thanks

Ranjan

------------------ Crash dump

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 14942]
0x40037342 in __DTOR_END__ () from /lib/libpthread.so.0
(gdb) info threads
  11 Thread 14951  remote_fetch: 8
0x4006597e in sigsuspend () from /lib/libc.so.6
  10 Thread 14950  remote_fetch: 8
0x080484f0 in thread6 (v=0x0) at /root/test/test-glibc.c:29
  9 Thread 14949  remote_fetch: 8
0x080485c0 in thread5 (v=0x0) at /root/test/test-glibc.c:49
  8 Thread 14948  remote_fetch: 8
0x080484d0 in thread4 (v=0x0) at /root/test/test-glibc.c:25
  7 Thread 14947  remote_fetch: 8
0x08048570 in thread9 (v=0x0) at /root/test/test-glibc.c:42
  6 Thread 14946  remote_fetch: 8
thread3 (v=0x0) at /root/test/test-glibc.c:21
  5 Thread 14944  remote_fetch: 8
0x08048654 in thread2 (v=0x0) at /root/test/test-glibc.c:62
  4 Thread 14943  remote_fetch: 8
0x080485f0 in thread1 (v=0x0) at /root/test/test-glibc.c:55
* 3 Thread 14942  remote_fetch: 8
0x40037342 in __DTOR_END__ () from /lib/libpthread.so.0
  2 Thread 14940  remote_fetch: 8
main () at /root/test/test-glibc.c:74
  1 Thread 14945  remote_fetch: 8
thread8 (v=0x0) at /root/test/test-glibc.c:38

-------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-09-28 16:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E15n6tZ-000761-00@crack.them.org>
2001-09-28 16:24 ` gdb / glibc querry Daniel Jacobowitz
2001-09-28 16:36   ` Ranjan Parthasarathy
     [not found]   ` <200109281531.IAA21241@messenger.mvista.com>
2001-09-28 16:44     ` Daniel Jacobowitz
     [not found]   ` <200109282337.f8SNbA511877@chmls12.mediaone.net>
2001-09-28 16:53     ` Craig Rodrigues
2001-09-28 16:17 Ranjan Parthasarathy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox