You are not logged in.

#1 2017-11-11 22:28:00

kekc
Member
Registered: 2017-11-10
Posts: 15

[SOLVED] Xorg crashes when opening a folder

This is a follow-up to this topic. Seems the culprit is Xorg - I now caught a Xorg crash under LXDE as well (LXDE was the only DE loading post LightDM). When I click (from PCManFM file manager) on a folder with a large number of media files, the folder contents are shown momentarily and then I got thrown back to lightdm greeter. Any ideas?

Xorg backtrace

[ 42275.659] (EE)
[ 42275.659] (EE) Backtrace:
[ 42275.659] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x55563f261ee9]
[ 42275.659] (EE) 1: /usr/lib/libpthread.so.0 (funlockfile+0x50) [0x7fc458bdfdef]
[ 42275.659] (EE) 2: /usr/lib/libc.so.6 (gsignal+0x110) [0x7fc45884a8a0]
[ 42275.660] (EE) 3: /usr/lib/libc.so.6 (abort+0x1c9) [0x7fc45884bf09]
[ 42275.660] (EE) 4: /usr/lib/libc.so.6 (__assert_fail_base+0x14c) [0x7fc4588430dc]
[ 42275.661] (EE) 5: /usr/lib/libc.so.6 (__assert_fail+0x43) [0x7fc458843153]
[ 42275.661] (EE) 6: /usr/lib/xorg-server/Xorg (_init+0x26d9) [0x55563f0eae87]
[ 42275.661] (EE) 7: /usr/lib/xorg-server/Xorg (DRI2Authenticate+0x93) [0x55563f231b03]
[ 42275.661] (EE) 8: /usr/lib/xorg-server/Xorg (DRI2GetParam+0x7b3) [0x55563f232d63]
[ 42275.661] (EE) 9: /usr/lib/xorg-server/Xorg (SendErrorToClient+0x368) [0x55563f0fc208]
[ 42275.661] (EE) 10: /usr/lib/xorg-server/Xorg (InitFonts+0x420) [0x55563f100230]
[ 42275.661] (EE) 11: /usr/lib/libc.so.6 (__libc_start_main+0xea) [0x7fc458836f6a]
[ 42275.662] (EE) 12: /usr/lib/xorg-server/Xorg (_start+0x2a) [0x55563f0e9eaa]
[ 42275.662] (EE)
[ 42275.662] (EE)
Fatal server error:
[ 42275.662] (EE) Caught signal 6 (Aborted). Server aborting

journalctl of the crash (as a click on the folder until I'm thrown back to a greeter)

Nov 12 01:07:28 nuc ntfs-3g[26152]: Ownership and permissions disabled, configuration type 7
Nov 12 01:08:45 nuc systemd[1]: Started Process Core Dump (PID 26671/UID 0).
Nov 12 01:08:46 nuc vncserver-x11-serviced[354]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Nov 12 01:08:46 nuc vncserver-x11-serviced[354]:       after 1192 requests (1192 known processed) with 0 events remaining.
Nov 12 01:08:46 nuc pulseaudio[23669]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Nov 12 01:08:46 nuc pulseaudio[23669]:       after 14 requests (6 known processed) with 0 events remaining.
Nov 12 01:08:46 nuc vncserver-x11-serviced[354]: vncserverui: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Nov 12 01:08:46 nuc at-spi-bus-launcher[2075]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Nov 12 01:08:46 nuc at-spi-bus-launcher[2075]:       after 105 requests (105 known processed) with 0 events remaining.
Nov 12 01:08:46 nuc systemd[506]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Nov 12 01:08:46 nuc systemd[506]: pulseaudio.service: Failed with result 'exit-code'.
Nov 12 01:08:46 nuc polkitd[337]: Unregistered Authentication Agent for unix-session:c29 (system bus name :1.13343, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Nov 12 01:08:46 nuc vncserver-x11-serviced[354]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Nov 12 01:08:46 nuc vncserver-x11-serviced[354]:       after 9279 requests (9279 known processed) with 0 events remaining.
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.07s] DEBUG: Process 23668 terminated with signal 6
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.07s] DEBUG: XServer 0: X server stopped
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.07s] DEBUG: Releasing VT 7
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.07s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.07s] DEBUG: Seat seat0: Display server stopped
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.07s] DEBUG: Seat seat0: Stopping session
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.07s] DEBUG: Terminating login1 session c29
Nov 12 01:08:46 nuc systemd[1]: session-c29.scope: Killing process 23730 (lightdm) with signal SIGTERM.
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: Session pid=23730: Sending SIGTERM
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: Seat seat0: Active display server stopped, starting greeter
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: Seat seat0: Creating greeter session
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: Seat seat0: Creating display server of type x
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: Using VT 7
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: Seat seat0: Starting local X display on VT 7
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: XServer 0: Launching X Server
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: Launching process 26674: /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.08s] DEBUG: XServer 0: Waiting for ready signal from X server :0
Nov 12 01:08:46 nuc systemd[1]: session-c29.scope: Killing process 25954 (gnome-keyring-d) with signal SIGTERM.
Nov 12 01:08:46 nuc pulseaudio[26679]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
Nov 12 01:08:46 nuc systemd[1]: session-c29.scope: Killing process 25998 (ssh-agent) with signal SIGTERM.
Nov 12 01:08:46 nuc systemd[1]: session-c29.scope: Killing process 26029 (menu-cached) with signal SIGTERM.
Nov 12 01:08:46 nuc systemd[1]: session-c29.scope: Killing process 26669 (totem-video-thu) with signal SIGTERM.
Nov 12 01:08:46 nuc systemd[1]: Stopping Session c29 of user darker.
Nov 12 01:08:46 nuc systemd[506]: pulseaudio.service: Service hold-off time over, scheduling restart.
Nov 12 01:08:46 nuc systemd[506]: pulseaudio.service: Scheduled restart job, restart counter is at 8.
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.31s] DEBUG: Session pid=23730: Exited with return value 0
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.31s] DEBUG: Seat seat0: Session stopped
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.31s] DEBUG: Seat seat0: Stopping display server, no sessions require it
Nov 12 01:08:46 nuc systemd[506]: Stopped Sound Service.
Nov 12 01:08:46 nuc systemd[506]: Starting Sound Service...
Nov 12 01:08:46 nuc systemd[1]: Stopped Session c29 of user darker.
Nov 12 01:08:46 nuc systemd-logind[328]: Removed session c29.
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.32s] DEBUG: Seat seat0 changes active session to
Nov 12 01:08:46 nuc pulseaudio[26679]: E: [pulseaudio] module-alsa-card.c: Failed to open mixer for jack detection
Nov 12 01:08:46 nuc dbus-daemon[319]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.13382" (uid=1000 pid=26679 comm="/usr/bin/pulseaudio --daemonize=no ") interface="org.freedesktop.DBus.ObjectManager" meNov 12 01:08:46 nuc systemd[506]: Started Sound Service.
Nov 12 01:08:46 nuc pulseaudio[26679]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.13382" (uid=1000 pid=26679 cNov 12 01:08:46 nuc lightdm[1815]: [+42031.48s] DEBUG: Got signal 10 from process 26674
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.48s] DEBUG: XServer 0: Got signal from X server :0
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.48s] DEBUG: XServer 0: Connecting to XServer :0
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.49s] CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.49s] DEBUG: Seat seat0: Display server ready, starting session authentication
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.49s] DEBUG: Session pid=26686: Started with service 'lightdm-greeter', username 'lightdm'
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.49s] DEBUG: Session pid=26686: Authentication complete with return value 0: Success
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.49s] DEBUG: Seat seat0: Session authenticated, running command
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.49s] DEBUG: Session pid=26686: Running command /usr/sbin/lightdm-gtk-greeter
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.49s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.49s] DEBUG: Session pid=26686: Logging to /var/log/lightdm/seat0-greeter.log
Nov 12 01:08:46 nuc lightdm[26686]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Nov 12 01:08:46 nuc systemd[1]: Created slice User Slice of lightdm.
Nov 12 01:08:46 nuc systemd[1]: Starting User Manager for UID 620...
Nov 12 01:08:46 nuc vncserver-x11[359]: ConsoleDisplay: Found running X server (pid=26674)
Nov 12 01:08:46 nuc systemd[26690]: pam_unix(systemd-user:session): session opened for user lightdm by (uid=0)
Nov 12 01:08:46 nuc systemd[1]: Started Session c30 of user lightdm.
Nov 12 01:08:46 nuc systemd-logind[328]: New session c30 of user lightdm.
Nov 12 01:08:46 nuc systemd-coredump[26672]: Process 23668 (Xorg) of user 0 dumped core.

                                             Stack trace of thread 23668:
                                             #0  0x00007fc45884a8a0 raise (libc.so.6)
                                             #1  0x00007fc45884bf09 abort (libc.so.6)
                                             #2  0x000055563f264d3a OsAbort (Xorg)
                                             #3  0x000055563f1405d4 ddxGiveUp (Xorg)
                                             #4  0x000055563f26a832 n/a (Xorg)
                                             #5  0x000055563f26b675 FatalError (Xorg)
                                             #6  0x000055563f261e2e n/a (Xorg)
                                             #7  0x00007fc458bdfda0 __restore_rt (libpthread.so.0)
                                             #8  0x00007fc45884a8a0 raise (libc.so.6)
                                             #9  0x00007fc45884bf09 abort (libc.so.6)
                                             #10 0x00007fc4588430dc __assert_fail_base (libc.so.6)
                                             #11 0x00007fc458843153 __assert_fail (libc.so.6)
                                             #12 0x000055563f0e87d1 n/a (Xorg)
                                             #13 0x000055563f231b03 DRI2Authenticate (Xorg)
                                             #14 0x000055563f232953 n/a (Xorg)
                                             #15 0x000055563f0fc1a8 n/a (Xorg)
                                             #16 0x000055563f1001f0 n/a (Xorg)
                                             #17 0x00007fc458836f6a __libc_start_main (libc.so.6)
                                             #18 0x000055563f0e9eaa _start (Xorg)

                                             Stack trace of thread 23670:
                                             #0  0x00007fc458bdb38d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007fc44516a924 n/a (swrast_dri.so)
                                             #2  0x00007fc44516a778 n/a (swrast_dri.so)
                                             #3  0x00007fc458bd508a start_thread (libpthread.so.0)
                                             #4  0x00007fc45890c47f __clone (libc.so.6)

                                             Stack trace of thread 23671:
                                             #0  0x00007fc458bdb38d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007fc44516a924 n/a (swrast_dri.so)
                                             #2  0x00007fc44516a778 n/a (swrast_dri.so)
                                             #3  0x00007fc458bd508a start_thread (libpthread.so.0)
                                             #4  0x00007fc45890c47f __clone (libc.so.6)

                                             Stack trace of thread 23672:
                                             #0  0x00007fc458bdb38d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007fc44516a924 n/a (swrast_dri.so)
                                             #2  0x00007fc44516a778 n/a (swrast_dri.so)
                                             #3  0x00007fc458bd508a start_thread (libpthread.so.0)
                                             #4  0x00007fc45890c47f __clone (libc.so.6)

                                             Stack trace of thread 23673:
                                             #0  0x00007fc458bdb38d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007fc44516a924 n/a (swrast_dri.so)
                                             #2  0x00007fc44516a778 n/a (swrast_dri.so)
                                             #3  0x00007fc458bd508a start_thread (libpthread.so.0)
                                             #4  0x00007fc45890c47f __clone (libc.so.6)

                                             Stack trace of thread 23679:
                                             #0  0x00007fc45890c5e6 epoll_pwait (libc.so.6)
                                             #1  0x000055563f262867 n/a (Xorg)
                                             #2  0x000055563f25fffe n/a (Xorg)
                                             #3  0x00007fc458bd508a start_thread (libpthread.so.0)
                                             #4  0x00007fc45890c47f __clone (libc.so.6)
Nov 12 01:08:46 nuc systemd[26690]: Listening on GnuPG cryptographic agent and passphrase cache.
Nov 12 01:08:46 nuc systemd[26690]: Reached target Paths.
Nov 12 01:08:46 nuc systemd[26690]: Reached target Timers.
Nov 12 01:08:46 nuc systemd[26690]: Listening on GnuPG network certificate management daemon.
Nov 12 01:08:46 nuc systemd[26690]: Starting D-Bus User Message Bus Socket.
Nov 12 01:08:46 nuc systemd[26690]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Nov 12 01:08:46 nuc systemd[26690]: Listening on Sound System.
Nov 12 01:08:46 nuc systemd[26690]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Nov 12 01:08:46 nuc systemd[26690]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Nov 12 01:08:46 nuc systemd[26690]: Listening on D-Bus User Message Bus Socket.
Nov 12 01:08:46 nuc systemd[26690]: Reached target Sockets.
Nov 12 01:08:46 nuc systemd[26690]: Reached target Basic System.
Nov 12 01:08:46 nuc systemd[26690]: Starting Update XDG user dir configuration...
Nov 12 01:08:46 nuc systemd[26690]: Started Update XDG user dir configuration.
Nov 12 01:08:46 nuc systemd[26690]: Reached target Default.
Nov 12 01:08:46 nuc systemd[26690]: Startup finished in 46ms.
Nov 12 01:08:46 nuc systemd[1]: Started User Manager for UID 620.
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.57s] DEBUG: Activating VT 7
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.57s] DEBUG: Activating login1 session c30
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.57s] DEBUG: Seat seat0 changes active session to c30
Nov 12 01:08:46 nuc lightdm[1815]: [+42031.57s] DEBUG: Session c30 is already active
Nov 12 01:08:47 nuc systemd[26690]: Started D-Bus User Message Bus.
Nov 12 01:08:47 nuc dbus-daemon[26747]: [session uid=620 pid=26747] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.1' (uid=620 pid=26712 comm="/usr/sbin/lightdm-gtk-greeter ")
Nov 12 01:08:47 nuc systemd[26690]: Starting Accessibility services bus...
Nov 12 01:08:47 nuc dbus-daemon[26747]: [session uid=620 pid=26747] Successfully activated service 'org.a11y.Bus'
Nov 12 01:08:47 nuc systemd[26690]: Started Accessibility services bus.
Nov 12 01:08:47 nuc at-spi-bus-launcher[26748]: dbus-daemon[26753]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=620 pid=26712 comm="/usr/sbin/lightdm-gtk-greeter ")
Nov 12 01:08:47 nuc dbus-daemon[26747]: [session uid=620 pid=26747] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.3' (uid=620 pid=26712 comm="/usr/sbin/lightdm-gtk-greeter ")
Nov 12 01:08:47 nuc systemd[26690]: Starting Virtual filesystem service...
Nov 12 01:08:47 nuc at-spi-bus-launcher[26748]: dbus-daemon[26753]: Successfully activated service 'org.a11y.atspi.Registry'
Nov 12 01:08:47 nuc at-spi-bus-launcher[26748]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Nov 12 01:08:47 nuc dbus-daemon[26747]: [session uid=620 pid=26747] Successfully activated service 'org.gtk.vfs.Daemon'
Nov 12 01:08:47 nuc systemd[26690]: Started Virtual filesystem service.
Nov 12 01:08:47 nuc lightdm[1815]: [+42031.75s] DEBUG: Greeter connected version=1.24.0 api=1 resettable=false
Nov 12 01:08:47 nuc lightdm[1815]: [+42031.79s] DEBUG: Greeter start authentication for darker
Nov 12 01:08:47 nuc lightdm[1815]: [+42031.79s] DEBUG: Session pid=26776: Started with service 'lightdm', username 'darker'
Nov 12 01:08:47 nuc lightdm[1815]: [+42031.80s] DEBUG: Session pid=26776: Got 1 message(s) from PAM
Nov 12 01:08:47 nuc lightdm[1815]: [+42031.80s] DEBUG: Prompt greeter with 1 message(s)

Last edited by kekc (2017-11-12 11:53:10)

Offline

#2 2017-11-12 08:44:47

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

Re: [SOLVED] Xorg crashes when opening a folder

Get rid of the dummy driver, use modesetting or intel.

Offline

#3 2017-11-12 10:37:30

kekc
Member
Registered: 2017-11-10
Posts: 15

Re: [SOLVED] Xorg crashes when opening a folder

Seth, thanks for suggestion, I tried to experiment with intel driver - LXDE and XFCE both work (GNOME crashing at meta_window_get_monitor), but there is a much bigger problem here - I can't change the resolution from standard 1024x768:
- xrandr doesn't work as there is ("Can't open display")
- none of the DE utils work as no monitor is connected
- Option "PreferredMode" "1920x1080" in xorg.conf does not work either
Any ideas on how to increase the resolution with intel driver w/o monitor connected?

EDIT: Trying to call Xorg -configure crashes as well

(==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 12 14:00:54 2017
(EE)
(EE) Backtrace:
(EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x560d57649ee9]
(EE) 1: /usr/lib/libpthread.so.0 (funlockfile+0x50) [0x7fb9d7ba9def]
(EE) 2: /usr/lib/xorg-server/Xorg (xf86PlatformMatchDriver+0x2b4) [0x560d57543534]
(EE) 3: /usr/lib/xorg-server/Xorg (xf86BusProbe+0x9) [0x560d5751b469]
(EE) 4: /usr/lib/xorg-server/Xorg (InitOutput+0x7ff) [0x560d5752a0ef]
(EE) 5: /usr/lib/xorg-server/Xorg (InitFonts+0x213) [0x560d574e8023]
(EE) 6: /usr/lib/libc.so.6 (__libc_start_main+0xea) [0x7fb9d7800f6a]
(EE) 7: /usr/lib/xorg-server/Xorg (_start+0x2a) [0x560d574d1eaa]
(EE)
(EE) Segmentation fault at address 0x50
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting

Last edited by kekc (2017-11-12 11:05:33)

Offline

#4 2017-11-12 11:52:33

kekc
Member
Registered: 2017-11-10
Posts: 15

Re: [SOLVED] Xorg crashes when opening a folder

I changed to modesetting driver (Driver "modesetting" in xorg.conf) and it worked - resolution changed and no more crashes in either LXDE or XFCE. Thanks Seth.

While GNOME is still crashing on "meta_window_get_monitor" call, this is a different topic, so I will mark this thread as solved.

Offline

#5 2017-11-12 13:08:55

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

Re: [SOLVED] Xorg crashes when opening a folder

For completeness sake:
- "Xorg -configure" is (probably "accidentally") broken ever since, deprecated and not supposed to be used
- "Can't open display" simply means that the DISPLAY variable isn't set on the shell you're calling xrandr from
- "none of the DE utils work as no monitor is connected" is kinda beyond me - it should really not matter whether there's a monitor attached, though you'll indeed have to tell the system what resolution to use
- https://wiki.archlinux.org/index.php/Xr … esolutions

Offline

Board footer

Powered by FluxBB