You are not logged in.

#1 2016-09-26 09:00:23

vavachan
Member
Registered: 2016-08-05
Posts: 1

Xorg dumps core when I try to lock the computer using slock or xlock.

Hi,

I used to use Gnome display manager and one day decided to stop using it. After I stopped using it , sometimes (very randomly) when I lock screen using xlock or slock (or I think any locking software) Xorg dumps core.

I tried to analyze the coredump using gdb but I can't figure it out and also could not find any mention of the locking application which triggered it.  Also it happens randomly , as in I cannot reproduce it.

coredump>>coredumpctl gdb 593
           PID: 593 (Xorg)
           UID: 1000 (varghese)
           GID: 1000 (varghese)
        Signal: 6 (ABRT)
     Timestamp: Mon 2016-09-26 12:36:05 IST (1h 50min ago)
  Command Line: /usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.JiJ1uTEYXM
    Executable: /usr/lib/xorg-server/Xorg
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (varghese)
       Boot ID: a94d821609144284a22003cb75f88564
    Machine ID: 7cf94621ecb24b3b8f7b6da8ac1e8a73
      Hostname: varghese
      Coredump: /var/lib/systemd/coredump/core.Xorg.1000.a94d821609144284a22003cb75f88564.593.1474873565000000000000.lz4
       Message: Process 593 (Xorg) of user 1000 dumped core.
                
                Stack trace of thread 593:
                #0  0x00007f23ac3c404f raise (libc.so.6)
                #1  0x00007f23ac3c547a abort (libc.so.6)
                #2  0x00007f23ac3bcea7 __assert_fail_base (libc.so.6)
                #3  0x00007f23ac3bcf52 __assert_fail (libc.so.6)
                #4  0x0000000000519a4c present_event_notify (Xorg)
                #5  0x00007f23a7aa65ff n/a (intel_drv.so)
                #6  0x00007f23a7a80743 n/a (intel_drv.so)
                #7  0x00007f23ad52f596 drmHandleEvent (libdrm.so.2)
                #8  0x000000000043b2dd WakeupHandler (Xorg)
                #9  0x00000000005954f9 WaitForSomething (Xorg)
                #10 0x000000000043656e n/a (Xorg)
                #11 0x000000000043a763 n/a (Xorg)
                #12 0x00007f23ac3b1291 __libc_start_main (libc.so.6)
                #13 0x00000000004246e9 _start (Xorg)

GNU gdb (GDB) 7.11.1
Copyright (C) 2016 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 "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/xorg-server/Xorg...(no debugging symbols found)...done.
[New LWP 593]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.JiJ1uTEYXM'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f23ac3c404f in raise () from /usr/lib/libc.so.6

This is followed by  fluxbox dumping core :

           PID: 596 (fluxbox)
           UID: 1000 (varghese)
           GID: 1000 (varghese)
        Signal: 6 (ABRT)
     Timestamp: Mon 2016-09-26 12:36:05 IST (2h 15min ago)
  Command Line: fluxbox
    Executable: /usr/bin/fluxbox
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (varghese)
       Boot ID: a94d821609144284a22003cb75f88564
    Machine ID: 7cf94621ecb24b3b8f7b6da8ac1e8a73
      Hostname: varghese
      Coredump: /var/lib/systemd/coredump/core.fluxbox.1000.a94d821609144284a22003cb75f88564.596.1474873565000000000000.lz4
       Message: Process 596 (fluxbox) of user 1000 dumped core.
                
                Stack trace of thread 596:
                #0  0x00007fb88e5fd04f raise (libc.so.6)
                #1  0x00007fb88e5fe47a abort (libc.so.6)
                #2  0x000000000048fa1c n/a (fluxbox)
                #3  0x00007fb88e5fd0b0 __restore_rt (libc.so.6)
                #4  0x00000000004c7ff9 n/a (fluxbox)
                #5  0x00000000004c79cc n/a (fluxbox)
                #6  0x00000000004cc836 n/a (fluxbox)
                #7  0x00000000004c3a10 n/a (fluxbox)
                #8  0x00000000004c15e8 n/a (fluxbox)
                #9  0x00000000004c172c n/a (fluxbox)
                #10 0x00000000004c1b39 n/a (fluxbox)
                #11 0x00000000004b6fb6 n/a (fluxbox)
                #12 0x00000000004b9143 n/a (fluxbox)
                #13 0x00000000004b9df9 n/a (fluxbox)
                #14 0x0000000000455b72 n/a (fluxbox)
                #15 0x00000000004565a9 n/a (fluxbox)
                #16 0x000000000048b3ff n/a (fluxbox)
                #17 0x000000000048c389 n/a (fluxbox)
                #18 0x00007fb88e5ff990 __run_exit_handlers (libc.so.6)
                #19 0x00007fb88e5ff9ea exit (libc.so.6)
                #20 0x000000000048404d n/a (fluxbox)
                #21 0x00007fb88f66191e _XIOError (libX11.so.6)
                #22 0x00007fb88f65f25d _XEventsQueued (libX11.so.6)
                #23 0x00007fb88f650b87 XPending (libX11.so.6)
                #24 0x00000000004856b9 n/a (fluxbox)
                #25 0x000000000040c89e n/a (fluxbox)
                #26 0x00007fb88e5ea291 __libc_start_main (libc.so.6)
                #27 0x000000000040e229 n/a (fluxbox)

GNU gdb (GDB) 7.11.1
Copyright (C) 2016 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 "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/fluxbox...(no debugging symbols found)...done.
[New LWP 596]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `fluxbox'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fb88e5fd04f in raise () from /usr/lib/libc.so.6

Any help is appreciated .  I can also provide more information.

thank you.

Last edited by vavachan (2016-09-26 09:21:30)

Offline

#2 2016-10-02 14:22:43

seth
Member
Registered: 2012-09-03
Posts: 51,240

Re: Xorg dumps core when I try to lock the computer using slock or xlock.

The culprit seems the intel driver, you may try resorting to the modesetting driver and/or tweak several aspects of the intel driver (DRI3/2; GLAMOR; etc.)

The fluxbox exit is "normal", it looses connection to the X11 server (which just crashed) and aborts (this is not really a crash, but more like "something's really wrong here, I better leave and tell the user)

https://wiki.archlinux.org/index.php/Intel_graphics

Offline

#3 2016-12-08 14:42:44

msh3
Member
Registered: 2016-12-08
Posts: 1

Re: Xorg dumps core when I try to lock the computer using slock or xlock.

Did you find a solution to your problem? I'm running into very similar problems with my Thinkpad X1 Yoga. When I'm connected to two external screens via my docking station and try to lock my screen, about half the time Xorg crashes:

Process 560 (Xorg) of user 1000 dumped core.
                                            
                                            Stack trace of thread 560:
                                            #0  0x00007fdd9835404f raise (libc.so.6)
                                            #1  0x00007fdd9835547a abort (libc.so.6)
                                            #2  0x00007fdd9834cea7 __assert_fail_base (libc.so.6)
                                            #3  0x00007fdd9834cf52 __assert_fail (libc.so.6)
                                            #4  0x0000000000519a4c present_event_notify (Xorg)
                                            #5  0x00007fdd93a8f8af n/a (modesetting_drv.so)
                                            #6  0x00007fdd93a906d9 n/a (modesetting_drv.so)
                                            #7  0x00007fdd994bf906 drmHandleEvent (libdrm.so.2)
                                            #8  0x000000000043b2dd WakeupHandler (Xorg)
                                            #9  0x00000000005954f9 WaitForSomething (Xorg)
                                            #10 0x000000000043656e n/a (Xorg)
                                            #11 0x000000000043a763 n/a (Xorg)
                                            #12 0x00007fdd98341291 __libc_start_main (libc.so.6)
                                            #13 0x00000000004246e9 _start (Xorg)

I tried both the xf86-video-intel driver and the modesetting one (from which this stack trace is from). I'm currently using i3wm, started by using startx from the command line.

Offline

Board footer

Powered by FluxBB