Comment 40 for bug 1026777

Revision history for this message
Rik Shaw (rik-shaw) wrote :

Finally got the /etc/X11/core created on recent crash yesterday.

Trying the gdb command, I was first presented with an error, after which I ran the bt full command (inside gdb). Maybe I have a problem and gdb is not running well? I'll post the reply when starting gdb, and then the results of the gdb full command:

======================================================

first, just starting gdb (I had changed permissions on the "core" file to be 666):

~$ gdb /usr/bin/Xorg core
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/Xorg...Reading symbols from /usr/lib/debug/usr/bin/Xorg...done.
done.
[New LWP 1253]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/X -core :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitc'.
Program terminated with signal 6, Aborted.
#0 0xb7509424 in __kernel_vsyscall ()
(gdb) bt full

======================================================

Now, here is the bt full:

(gdb) bt full
#0 0xb7509424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb71a41ef in __GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <optimized out>
        resultvar = <optimized out>
        pid = -1221496844
        selftid = 1253
#2 0xb71a7835 in __GI_abort () at abort.c:91
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x407,
            sa_sigaction = 0x407}, sa_mask = {__val = {3075656124, 3075668188,
              6, 8, 3217881636, 3072690606, 0, 0, 3072024909, 3073470452,
              3073470452, 10, 3217883172, 3072812426, 2, 3217881636, 8, 0,
              3217884364, 0, 7, 0, 5, 3217881740, 3217881732, 8, 3073200872,
              3073200876, 3075653632, 2, 3075806873, 3}}, sa_flags = 4,
          sa_restorer = 0xb72d2dbf}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb71df2fa in __libc_message (do_abort=2,
    fmt=0xb72d73bc "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
        ap = 0xb6ebb000 ""
        ap_copy = 0xb6ebb000 ""
        fd = 2
        on_2 = <optimized out>
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
        written = <optimized out>
#4 0xb71e9e42 in malloc_printerr (action=<optimized out>,
    str=<optimized out>, ptr=0xb93b1940) at malloc.c:5007
        buf = "b93b1940"
        cp = <optimized out>
#5 0xb764c88c in XIDeleteAllDeviceProperties (device=0xb93af288)
    at ../../Xi/xiproperty.c:658
        prop = <optimized out>
        next = <optimized out>
        curr_handler = <optimized out>
        next_handler = 0xb93afa18
#6 0xb7557c0d in CloseDevice (dev=0xb93af288) at ../../dix/devices.c:919
        screen = 0xb8f64cc8
        classes = <optimized out>
        j = <optimized out>
#7 0xb755c1bd in RemoveDevice (dev=0xb93af288, sendevent=1 '\001')
    at ../../dix/devices.c:1117
        prev = <optimized out>
        tmp = 0xb93af288
        next = 0x0
        ret = <optimized out>
        screen = <optimized out>
        deviceid = 11
        initialized = 1
        flags = {0 <repeats 11 times>, 8, 0 <repeats 28 times>}
#8 0xb75b9c0c in DeleteInputDeviceRequest (pDev=0xb93af288)
    at ../../../../hw/xfree86/common/xf86Xinput.c:1007
        pInfo = 0xb9395500
        drv = 0xb9381908
        isMaster = <optimized out>
#9 0xb7557e80 in CloseDeviceList (listHead=0xb772da44)
    at ../../dix/devices.c:997
        freedIds = {0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 <repeats 28 times>}
        dev = <optimized out>
#10 0xb75584b0 in CloseDownDevices () at ../../dix/devices.c:1027
        dev = 0x0
#11 0xb75513bf in main (argc=11, argv=0xbfcd04f4, envp=0xbfcd0524)
    at ../../dix/main.c:319
        i = <optimized out>
        alwaysCheckForInput = {0, 1}

======================================================

Any observations?