This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: backtrace() from a pthread on ARM
- From: Andrew Haley <aph at redhat dot com>
- To: lxusr <gnanasekar dot r29 at gmail dot com>
- Cc: libc-ports at sourceware dot org
- Date: Wed, 14 Mar 2012 09:27:54 +0000
- Subject: Re: backtrace() from a pthread on ARM
- References: <be62573b0905111306j50989697k755312d6e4fdd5e3@mail.gmail.com> <20090511201238.GA12032@caradoc.them.org> <be62573b0905111336y4a664f42v21aa2b21f9252623@mail.gmail.com> <m2eiuu1xf9.fsf@igel.home> <be62573b0905120854w4c1269f4r6698e231b9b4ff6e@mail.gmail.com> <m2zldil2w2.fsf@igel.home> <be62573b0905120924x5a943ebfue3eba03c77fa404d@mail.gmail.com> <33492571.post@talk.nabble.com> <4F5F108E.7010204@redhat.com> <33494793.post@talk.nabble.com> <4F5F68A9.4050605@redhat.com> <33500266.post@talk.nabble.com>
On 03/14/2012 08:55 AM, lxusr wrote:
>
> Hi,
>
> I tried applying this patch.. Now I see that the bt prints the message
> infinitely
>
> #0 threadFunction_2 (xyz=0x0) at common.c:46
> #1 0x4002c858 in start_thread (arg=<optimized out>) at pthread_create.c:299
> #2 0x40117ed0 in ?? () from /arm/lib/libc.so.6
> #3 0x40117ed0 in ?? () from /arm/lib/libc.so.6
> #4 0x40117ed0 in ?? () from /arm/lib/libc.so.6
> .......
> ...
>
> I am using glibc-2.9 and linux 2.6.28. Am I missing something?
Not necessarily. I know that, after the patch, the stack is correct.
If GDB is doing it wrong, that's GDB's fault, and you need either to
update GDB or submit a bug report.
Andrew.