* Re: gdb / glibc querry
[not found] <E15n6tZ-000761-00@crack.them.org>
@ 2001-09-28 16:24 ` Daniel Jacobowitz
2001-09-28 16:36 ` Ranjan Parthasarathy
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2001-09-28 16:24 UTC (permalink / raw)
To: Ranjan Parthasarathy; +Cc: gdb
On Thu, Sep 27, 2001 at 05:17:58AM -0700, Ranjan Parthasarathy wrote:
> 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.
__DTOR_END__ describes the end of the static destructors section. It's
unlikely that you're really crashing there; more likely, it's the last
symbol before the address where you are really crashing.
Are you planning on posting this code soon (I hope so!)? Do you have a
copyright assignment in place?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gdb / glibc querry
2001-09-28 16:24 ` gdb / glibc querry Daniel Jacobowitz
@ 2001-09-28 16:36 ` Ranjan Parthasarathy
[not found] ` <200109281531.IAA21241@messenger.mvista.com>
[not found] ` <200109282337.f8SNbA511877@chmls12.mediaone.net>
2 siblings, 0 replies; 5+ messages in thread
From: Ranjan Parthasarathy @ 2001-09-28 16:36 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
Yes once it is working I do plan to post it and hopefully that will be soon
enough :-).
copyright assignment ????
Thanks
Ranjan
On Friday 28 September 2001 16:25, Daniel Jacobowitz wrote:
> On Thu, Sep 27, 2001 at 05:17:58AM -0700, Ranjan Parthasarathy wrote:
> > 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.
>
> __DTOR_END__ describes the end of the static destructors section. It's
> unlikely that you're really crashing there; more likely, it's the last
> symbol before the address where you are really crashing.
>
> Are you planning on posting this code soon (I hope so!)? Do you have a
> copyright assignment in place?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gdb / glibc querry
[not found] ` <200109281531.IAA21241@messenger.mvista.com>
@ 2001-09-28 16:44 ` Daniel Jacobowitz
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2001-09-28 16:44 UTC (permalink / raw)
To: Ranjan Parthasarathy; +Cc: gdb
On Thu, Sep 27, 2001 at 05:36:37AM -0700, Ranjan Parthasarathy wrote:
> Yes once it is working I do plan to post it and hopefully that will be soon
> enough :-).
Feel free to post it earlier if you want help.
> copyright assignment ????
Take a look at gdb/CONTRIBUTE for more.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gdb / glibc querry
[not found] ` <200109282337.f8SNbA511877@chmls12.mediaone.net>
@ 2001-09-28 16:53 ` Craig Rodrigues
0 siblings, 0 replies; 5+ messages in thread
From: Craig Rodrigues @ 2001-09-28 16:53 UTC (permalink / raw)
To: Ranjan Parthasarathy; +Cc: gdb
On Thu, Sep 27, 2001 at 05:36:37AM -0700, Ranjan Parthasarathy wrote:
> Yes once it is working I do plan to post it and hopefully that will be soon
> enough :-).
>
> copyright assignment ????
You need to fill out a copyright assignment form
when you contribute code to GDB.
See:
http://sources.redhat.com/gdb/contribute/
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net
^ permalink raw reply [flat|nested] 5+ messages in thread
* 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