public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/6692] New: thread stack unwinding.on reaching function clone
@ 2008-06-25  0:33 vinutheraj at gmail dot com
  2008-08-13  5:38 ` [Bug libc/6692] " drepper at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: vinutheraj at gmail dot com @ 2008-06-25  0:33 UTC (permalink / raw)
  To: glibc-bugs

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.


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

* [Bug libc/6692] thread stack unwinding.on reaching function clone
  2008-06-25  0:33 [Bug libc/6692] New: thread stack unwinding.on reaching function clone vinutheraj at gmail dot com
@ 2008-08-13  5:38 ` drepper at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2008-08-13  5:38 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2008-08-13 05:36 -------
I see no problem with the current sources.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


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.


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

end of thread, other threads:[~2008-08-13  5:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-25  0:33 [Bug libc/6692] New: thread stack unwinding.on reaching function clone vinutheraj at gmail dot com
2008-08-13  5:38 ` [Bug libc/6692] " drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).