public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/36568]  New: infinite _Unwind_Backtrace / thread stack unwinding.
@ 2008-06-18 19:35 pluto at agmk dot net
  2008-06-18 19:36 ` [Bug target/36568] " pluto at agmk dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2008-06-18 19:35 UTC (permalink / raw)
  To: gcc-bugs

test w/o threads:

$ ./u
0x400a74 handler+0x1a
0x400a95 crash+0x10
0x400afd main+0x60
0x7fa92f9e74a4 __libc_start_main+0xf4

test w/ threads:

$ ./u threaded
0x400a74 handler+0x1a
0x400a95 crash+0x10
0x7fcea7803a3d clone+0x6d
0x7fcea7803a3d clone+0x6d
0x7fcea7803a3d clone+0x6d
0x7fcea7803a3d clone+0x6d
0x7fcea7803a3d clone+0x6d
0x7fcea7803a3d clone+0x6d
0x7fcea7803a3d clone+0x6d
0x7fcea7803a3d clone+0x6d
0x7fcea7803a3d clone+0x6d
(...)

gdb stops unwinding at clone():

$ gdb ./u
(gdb) set args threaded
(gdb) r
(...)
[New Thread 0x7fdd9636b6f0 (LWP 7318)]
[New Thread 0x42501950 (LWP 7322)]
(...)
Breakpoint 2, handler (signalNumber=11) at u.c:25
25              _Unwind_Backtrace( helper, 0 );
(gdb) bt
#0  handler (signalNumber=11) at u.c:25
#1  <signal handler called>
#2  0x0000000000400a95 in crash () at u.c:32
#3  0x00007fa0eef04070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa0eea6da3d in clone () from /lib64/libc.so.6

gcc-4.2.4-1.x86_64
glibc-2.8-3.x86_64
gdb-6.8-1.x86_64


-- 
           Summary: infinite _Unwind_Backtrace / thread stack unwinding.
           Product: gcc
           Version: 4.2.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-gnu-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36568


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

* [Bug target/36568] infinite _Unwind_Backtrace / thread stack unwinding.
  2008-06-18 19:35 [Bug target/36568] New: infinite _Unwind_Backtrace / thread stack unwinding pluto at agmk dot net
@ 2008-06-18 19:36 ` pluto at agmk dot net
  2008-06-18 19:37 ` pluto at agmk dot net
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2008-06-18 19:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pluto at agmk dot net  2008-06-18 19:35 -------
Created an attachment (id=15781)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15781&action=view)
testcase.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36568


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

* [Bug target/36568] infinite _Unwind_Backtrace / thread stack unwinding.
  2008-06-18 19:35 [Bug target/36568] New: infinite _Unwind_Backtrace / thread stack unwinding pluto at agmk dot net
  2008-06-18 19:36 ` [Bug target/36568] " pluto at agmk dot net
@ 2008-06-18 19:37 ` pluto at agmk dot net
  2008-06-24 21:04 ` vinutheraj at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2008-06-18 19:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pluto at agmk dot net  2008-06-18 19:36 -------
Created an attachment (id=15782)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15782&action=view)
testcase makefile.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36568


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

* [Bug target/36568] infinite _Unwind_Backtrace / thread stack unwinding.
  2008-06-18 19:35 [Bug target/36568] New: infinite _Unwind_Backtrace / thread stack unwinding pluto at agmk dot net
  2008-06-18 19:36 ` [Bug target/36568] " pluto at agmk dot net
  2008-06-18 19:37 ` pluto at agmk dot net
@ 2008-06-24 21:04 ` vinutheraj at gmail dot com
  2008-06-24 22:03 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: vinutheraj at gmail dot com @ 2008-06-24 21:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from vinutheraj at gmail dot com  2008-06-24 21:04 -------
Created an attachment (id=15812)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15812&action=view)
A patch which comes with debian and ubuntu which solves this problem

A patch which is provided with ubuntu and debian which solves the 
problem of the infinite _Unwind_Backtrace automagically. I chanced upon this
luckily. In ubuntu do apt-get install glibc-source and in patches/amd64/ 
you will find it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36568


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

* [Bug target/36568] infinite _Unwind_Backtrace / thread stack unwinding.
  2008-06-18 19:35 [Bug target/36568] New: infinite _Unwind_Backtrace / thread stack unwinding pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2008-06-24 21:04 ` vinutheraj at gmail dot com
@ 2008-06-24 22:03 ` rguenth at gcc dot gnu dot org
  2008-06-24 22:03 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-24 22:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-06-24 22:03 -------
This is a glibc bug then.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36568


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

* [Bug target/36568] infinite _Unwind_Backtrace / thread stack unwinding.
  2008-06-18 19:35 [Bug target/36568] New: infinite _Unwind_Backtrace / thread stack unwinding pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2008-06-24 22:03 ` rguenth at gcc dot gnu dot org
@ 2008-06-24 22:03 ` rguenth at gcc dot gnu dot org
  2008-06-25  7:53 ` pluto at agmk dot net
  2008-10-28 15:19 ` pluto at agmk dot net
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-24 22:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-06-24 22:02 -------
*** Bug 36621 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vinutheraj at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36568


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

* [Bug target/36568] infinite _Unwind_Backtrace / thread stack unwinding.
  2008-06-18 19:35 [Bug target/36568] New: infinite _Unwind_Backtrace / thread stack unwinding pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2008-06-24 22:03 ` rguenth at gcc dot gnu dot org
@ 2008-06-25  7:53 ` pluto at agmk dot net
  2008-10-28 15:19 ` pluto at agmk dot net
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2008-06-25  7:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pluto at agmk dot net  2008-06-25 07:52 -------
forwarded to libc bugzilla:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6693


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36568


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

* [Bug target/36568] infinite _Unwind_Backtrace / thread stack unwinding.
  2008-06-18 19:35 [Bug target/36568] New: infinite _Unwind_Backtrace / thread stack unwinding pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2008-06-25  7:53 ` pluto at agmk dot net
@ 2008-10-28 15:19 ` pluto at agmk dot net
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2008-10-28 15:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pluto at agmk dot net  2008-10-28 15:18 -------
(In reply to comment #5)
> This is a glibc bug then.
> 

hmm, Ulrich Drepper rejects this bug report.
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6693#c1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36568


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

end of thread, other threads:[~2008-10-28 15:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-18 19:35 [Bug target/36568] New: infinite _Unwind_Backtrace / thread stack unwinding pluto at agmk dot net
2008-06-18 19:36 ` [Bug target/36568] " pluto at agmk dot net
2008-06-18 19:37 ` pluto at agmk dot net
2008-06-24 21:04 ` vinutheraj at gmail dot com
2008-06-24 22:03 ` rguenth at gcc dot gnu dot org
2008-06-24 22:03 ` rguenth at gcc dot gnu dot org
2008-06-25  7:53 ` pluto at agmk dot net
2008-10-28 15:19 ` pluto at agmk dot net

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).