This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6692] New: thread stack unwinding.on reaching function clone
- From: "vinutheraj at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 25 Jun 2008 00:32:39 -0000
- Subject: [Bug libc/6692] New: thread stack unwinding.on reaching function clone
- Reply-to: sourceware-bugzilla at sourceware dot org
I was working on the nptl library in glibc-2.7.
I installed the source and built the thing.
When a tried to run a simple program which created
a thread and subsequently the thread calls a backtrace.
This is the output I got:
./a.out(print_bt+0x1c) [0x4008a4]
./a.out(foo2+0xe) [0x400904]
/home/vinu.rajashekhar/glibc/local/lib/libpthread.so.0 [0x2ad573bba1b7]
/home/vinu.rajashekhar/glibc/local/lib/libc.so.6(clone+0x6d) [0x2ad573e93bfd]
/home/vinu.rajashekhar/glibc/local/lib/libc.so.6(clone+0x6d) [0x2ad573e93bfd]
/home/vinu.rajashekhar/glibc/local/lib/libc.so.6(clone+0x6d) [0x2ad573e93bfd]
/home/vinu.rajashekhar/glibc/local/lib/libc.so.6(clone+0x6d) [0x2ad573e93bfd]
/home/vinu.rajashekhar/glibc/local/lib/libc.so.6(clone+0x6d) [0x2ad573e93bfd]
/home/vinu.rajashekhar/glibc/local/lib/libc.so.6(clone+0x6d) [0x2ad573e93bfd]
/home/vinu.rajashekhar/glibc/local/lib/libc.so.6(clone+0x6d) [0x2ad573e93bfd]
(....)
So I tried with gdb and it stopped at one clone
glibc-2.7.x86_64
gcc-4.1.1.x86_64
gdb-6.5-8-fc6rh.x86_64
When I checked on the net I saw that this bug was
reported on gcc-bugzilla - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36568
And after some time I tried the testcode on the link on ubuntu hardy heron
and it worked. So the bug was actually a problem with the glibc
clone.S for x86_64 and it was patched by a patch which comes with
ubuntu glibc-source in patches/amd64/local-clone.diff
But these two things havent been reported yet.
So I think the bug is for glibc and its patch is also given in the link.
--
Summary: thread stack unwinding.on reaching function clone
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: vinutheraj at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6692
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.