Help with debuging Xserver / Goes in an infinite loop

Joshua C. joshuacov at googlemail.com
Mon Oct 5 17:19:42 UTC 2009


2009/10/5 Colin Walters <walters at verbum.org>:
> On Mon, Oct 5, 2009 at 4:06 PM, Adam Jackson <ajax at redhat.com> wrote:
>>
>> Before typing in cont, of course.  "cont" continues execution from where
>> you're currently stopped.  "bt" shows a backtrace of where you're
>> currently stopped.
>
> If you're not planning to actively debug and just want a stack, i'd
> use: gstack $(pidof Xorg)
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>

(gdb) bt
#0  0x0000003cc3cd70b3 in __select_nocancel () from /lib64/libc.so.6
#1  0x00000000004e615a in WaitForSomething (
    pClientsReady=<value optimized out>) at WaitFor.c:228
#2  0x0000000000446ef2 in Dispatch () at dispatch.c:386
#3  0x000000000042d205 in main (argc=<value optimized out>,
    argv=0x7fffa2ac9218, envp=<value optimized out>) at main.c:397

[root at localhost ~]# gstack $(pidof X)
#0  0x0000003cc3cd70b3 in __select_nocancel () from /lib64/libc.so.6
#1  0x00000000004e615a in WaitForSomething ()
#2  0x0000000000446ef2 in Dispatch ()
#3  0x000000000042d205 in main ()




More information about the fedora-devel-list mailing list