FS#46741 - [xorg-server] 1.17.2-4 Core dump with signal ABRT

Attached to Project: Arch Linux
Opened by jb (jb.1234abcd) - Thursday, 15 October 2015, 19:32 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 05 January 2016, 12:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I get these dumps from either:
- shutdown from DE menu (LXDE)
- $ startx 2> ./.xsession-errors
Note: rootless xorg-server implementation does not allow stderr redirection -
can that be fixed ?

$ coredumpctl
TIME PID UID GID SIG PRESENT EXE
Wed 2015-09-30 06:20:13 CEST 1803 1000 1000 6 /usr/lib/xorg-server/Xorg
Wed 2015-09-30 07:13:55 CEST 507 1000 1000 6 /usr/lib/xorg-server/Xorg
Sat 2015-10-10 10:36:07 CEST 20795 1000 1000 6 /usr/lib/xorg-server/Xorg
Sun 2015-10-11 07:30:12 CEST 558 1000 1000 6 /usr/lib/xorg-server/Xorg
Sun 2015-10-11 18:51:14 CEST 2172 1000 1000 6 /usr/lib/xorg-server/Xorg
Tue 2015-10-13 08:56:02 CEST 4208 1000 1000 6 * /usr/lib/xorg-server/Xorg
Tue 2015-10-13 10:30:23 CEST 505 1000 1000 6 * /usr/lib/xorg-server/Xorg
Wed 2015-10-14 11:45:12 CEST 476 1000 1000 6 * /usr/lib/xorg-server/Xorg
Thu 2015-10-15 11:45:58 CEST 8249 1000 1000 6 * /usr/lib/xorg-server/Xorg

$ journalctl
...
ct 15 11:45:58 myhost systemd[461]: Closed D-Bus User Message Bus Socket.
Oct 15 11:45:58 myhost systemd[461]: Reached target Shutdown.
Oct 15 11:45:58 myhost systemd[461]: Starting Exit the Session...
Oct 15 11:45:58 myhost systemd[463]: pam_unix(systemd-user:session): session clo
Oct 15 11:45:58 myhost systemd[461]: Received SIGRTMIN+24 from PID 8411 (kill).
Oct 15 11:45:58 myhost systemd[1]: Stopped User Manager for UID 1000.
Oct 15 11:45:58 myhost systemd-coredump[8381]: Process 8249 (Xorg) of user 1000
...

$ coredumpctl gdb 8249
PID: 8249 (Xorg)
UID: 1000 (jb)
GID: 1000 (jb)
Signal: 6 (ABRT)
Timestamp: Thu 2015-10-15 11:45:57 CEST (6h ago)
Command Line: /usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.49st3jFrO5
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 (jb)
Boot ID: 64becc8b0f5b4be5a50e531009358a45
Machine ID: 43cd1b5fea0e43608d828e60ee49bb23
Hostname: myhost
Coredump: /var/lib/systemd/coredump/core.Xorg.1000.64becc8b0f5b4be5a50e531009358a45.8249.1444902357000000.lz4
Message: Process 8249 (Xorg) of user 1000 dumped core.

GNU gdb (GDB) 7.10
...
Reading symbols from /usr/lib/xorg-server/Xorg...(no debugging symbols found)...done.
[New LWP 8249]
[New LWP 8250]

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.49st3jFrO5'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f5415ed55f8 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f5417ef4940 (LWP 8249))]
(gdb) bt
#0 0x00007f5415ed55f8 in raise () from /usr/lib/libc.so.6
#1 0x00007f5415ed6a7a in abort () from /usr/lib/libc.so.6
#2 0x00000000005992ee in OsAbort ()
#3 0x000000000059fd07 in FatalError ()
#4 0x000000000049ed81 in ?? ()
#5 0x000000000049f6a3 in xf86CloseConsole ()
#6 0x000000000047a415 in ddxGiveUp ()
#7 0x000000000059ef02 in ?? ()
#8 0x000000000059fd3d in FatalError ()
#9 0x000000000049ed81 in ?? ()
#10 0x000000000049f6a3 in xf86CloseConsole ()
#11 0x000000000047a415 in ddxGiveUp ()
#12 0x000000000043d1a9 in ?? ()
#13 0x00007f5415ec2610 in __libc_start_main () from /usr/lib/libc.so.6
#14 0x0000000000427319 in _start ()
(gdb)

Unfortunately I do not have builds with symbols installed.
But the dumps can be reproduced easily (see top of this text).

Also, see Xorg.0.log attachment.

Additional info:
* package version(s)
xorg-server 1.17.2-4

* config and/or log files etc.


Steps to reproduce:
as above
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 05 January 2016, 12:09 GMT
Reason for closing:  Fixed
Comment by jb (jb.1234abcd) - Friday, 16 October 2015, 05:40 GMT
I found that -keeptty flag fixes startx problem.
So, the shutdown problem still remains.
Comment by Laurent Carlier (lordheavy) - Friday, 16 October 2015, 18:50 GMT Comment by Laurent Carlier (lordheavy) - Saturday, 17 October 2015, 11:14 GMT
Please test xorg-server-1.17.2-5 in testing
Comment by jb (jb.1234abcd) - Saturday, 17 October 2015, 12:39 GMT
Tested xorg-server-1.17.2-5
No core dump on reboot from DE menu.
But I see unclean exit from X server on reboot from DE menu - see attachments.
Comment by jb (jb.1234abcd) - Monday, 19 October 2015, 07:53 GMT
There is another case of unclean exit from X server on reboot from DE menu - see attachments.
xorg-server 1.17.2-5
systemd 227-1
Comment by Andreas Radke (AndyRTR) - Monday, 04 January 2016, 18:42 GMT
Status? Can this one be closed as solved?
Comment by jb (jb.1234abcd) - Monday, 04 January 2016, 19:25 GMT
I start DE with startx.

This is good exit from DE thru Logout:
$ cat .local/share/xorg/Xorg.0.log
...
[ 78.881] (II) intel(0): Modeline "1366x768"x0.0 76.30 1366 1374 1384 1558 768 771 772 816 -hsync -vsync (49.0 kHz eP)
[ 92.461] (**) Option "fd" "12"
[ 92.461] (**) Option "fd" "15"
[ 92.461] (**) Option "fd" "16"
[ 92.461] (**) Option "fd" "17"
[ 92.461] (**) Option "fd" "18"
[ 92.461] (**) Option "fd" "19"
[ 92.461] (**) Option "fd" "20"
[ 92.461] (II) UnloadModule: "libinput"
[ 92.461] (II) systemd-logind: releasing fd for 13:69
[ 92.480] (II) UnloadModule: "libinput"
[ 92.480] (II) systemd-logind: releasing fd for 13:74
[ 92.510] (II) UnloadModule: "libinput"
[ 92.510] (II) systemd-logind: releasing fd for 13:73
[ 92.536] (II) UnloadModule: "libinput"
[ 92.536] (II) systemd-logind: releasing fd for 13:64
[ 92.563] (II) UnloadModule: "libinput"
[ 92.563] (II) systemd-logind: releasing fd for 13:65
[ 92.590] (II) UnloadModule: "libinput"
[ 92.590] (II) systemd-logind: releasing fd for 13:75
[ 92.603] (II) UnloadModule: "libinput"
[ 92.603] (II) systemd-logind: releasing fd for 13:67
[ 92.713] (II) Server terminated successfully (0). Closing log file.

This is NOT so good exit from DE thru Reboot:
$ cat .local/share/xorg/Xorg.0.log
...
[ 83.918] (II) intel(0): Modeline "1366x768"x0.0 76.30 1366 1374 1384 1558 768 771 772 816 -hsync -vsync (49.0 kHz eP)
[214298.186] (EE)
Fatal server error:
[214298.186] (EE) systemd-logind disappeared (stopped/restarted?)
[214298.186] (EE)
[214298.186] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[214298.186] (EE) Please also check the log file at "/home/jb/.local/share/xorg/Xorg.0.log" for additional information.
[214298.186] (EE)
[214298.186] (II) AIGLX: Suspending AIGLX clients for VT switch
[214298.257] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[214298.257] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[214298.257] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[214298.257] (EE) systemd-logind: ReleaseControl failed: Connection was disconnected before a reply was received
[214298.257] (EE) Server terminated with error (1). Closing log file.

So, it is up to you to judge if the "Reboot exit" is acceptable or not.
Comment by Andreas Radke (AndyRTR) - Tuesday, 05 January 2016, 12:08 GMT
The initial bug is fixed. Closing this one. Feel free to work with upstream to solve the remaining errors in your logs.

Loading...