Comment 10 for bug 137312

Revision history for this message
Arya Irani (arya-irani) wrote : Re: [Bug 137312] Re: gdb on ppc often remains stuck in call___do_global_ctors_aux

Sorry, I don't have a linux-compatible PS3 anymore...

On Sun, Jan 10, 2010 at 10:41 AM, Teej <email address hidden> wrote:

> Are you able to find out if this affects Karmic 9.10 on the PowerPC/PS3
> please? Thank you.
>
> ** Changed in: ubuntu-ps3-port
> Status: Confirmed => Incomplete
>
> --
> gdb on ppc often remains stuck in call___do_global_ctors_aux
> https://bugs.launchpad.net/bugs/137312
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu PS3 Port: Incomplete
> Status in “gdb” package in Ubuntu: Fix Released
> Status in “gdb” package in Debian: New
>
> Bug description:
> I've a ppc64 machine (an iMac G5). Whenever I try to run gdb on a program,
> after having installed its dbgsym package, stepping with next causes sooner
> or later the output of the message:
> "Single stepping until exit from function call___do_global_ctors_aux, which
> has no line number information."
>
> If I try to use "step" instead of "next", cpu goes to 100% and I've to
> SIGINT the debugged program. This makes virtually impossible to debug
> something, if you don't want to set a breakpoint every other line and use
> "continue" to reach it.
>
> Also other people seem to have hit this bug, in Debian:
>
> http://<email address hidden>/msg367309.html
>
> Or also:
> http://www.cygwin.com/ml/gdb/2006-03/msg00224.html
>
> I don't know if this can be related:
>
> https://www.redhat.com/archives/fedora-cvs-commits/2006-December/msg01091.html
> Unfortunately I'm quite in a hurry now.
>
> ---------- Example session: -----------
>
> matteo@Dahlia:~/pulseaudio-0.9.6/src$ gdb pulseaudio
> [...]
> Using host libthread_db library "/lib/libthread_db.so.1".
> (gdb) break main
> Breakpoint 1 at 0x1000618c: file daemon/main.c, line 316.
> (gdb) r
> Starting program: /usr/bin/pulseaudio
> [Thread debugging using libthread_db enabled]
> [New Thread -134462368 (LWP 17533)]
> [Switching to Thread -134462368 (LWP 17533)]
>
> Breakpoint 1, main (argc=1, argv=0xffec8784) at daemon/main.c:316
> warning: Source file is more recent than executable.
> 316
> (gdb) n
> 329 struct timeval tv;
> (gdb)
> 315 pa_mainloop *mainloop = NULL;
> (gdb)
> 308 }
> (gdb)
> 329 struct timeval tv;
> (gdb)
> 308 }
> (gdb)
> 315 pa_mainloop *mainloop = NULL;
> (gdb)
> 316
> (gdb)
> 321 int valid_pid_file = 0;
> (gdb)
> 329 struct timeval tv;
> (gdb)
> 0x10007a80 in call___do_global_ctors_aux ()
> (gdb)
> Single stepping until exit from function call___do_global_ctors_aux,
> which has no line number information.
> 0xf7ff4cc4 in ?? () from /lib/ld.so.1
> (gdb)
> Cannot find bounds of current function
> (gdb)
> Cannot find bounds of current function
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu-ps3-port/+bug/137312/+subscribe
>