Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tablet logs me out when changing screens #107

Closed
cohen990 opened this issue Aug 15, 2019 · 18 comments
Closed

Tablet logs me out when changing screens #107

cohen990 opened this issue Aug 15, 2019 · 18 comments
Assignees
Labels
invalid Not a bug, or not this project's bug

Comments

@cohen990
Copy link

Apologies if this is the wrong place.

I'm using a Wacom Intuos Pro M (PTH-651/K) with Ubuntu 18.04.3 LTS

I have one of my buttons mapped to "Switch Monitor" and if I press it too many times (twice or more) it logs me out of Ubuntu and I have to log back in.

I'm not sure where to find the relevant logs and configuration files but happy to post them if you can show me where to look

@cohen990
Copy link
Author

I found the following system logs which happen at the time when it logs me out

Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1
Aug 15 12:10:39 danbuntu at-spi-bus-launcher[7327]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Aug 15 12:10:39 danbuntu at-spi-bus-launcher[7327]:       after 82 requests (82 known processed) with 0 events remaining.
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Clipboard.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gsd-color[7990]: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
Aug 15 12:10:39 danbuntu nautilus-deskto[8062]: nautilus-desktop: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Clipboard.desktop' exited with code 1
Aug 15 12:10:39 danbuntu [7976]: gsd-clipboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 15 12:10:39 danbuntu gsd-media-keys[8001]: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 15 12:10:39 danbuntu gsd-keyboard[7992]: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 15 12:10:39 danbuntu gnome-shell[7883]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 15 12:10:39 danbuntu gsd-xsettings[7962]: gsd-xsettings: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 15 12:10:39 danbuntu [7950]: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 15 12:10:39 danbuntu [7971]: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gsd-color[2827]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_AOC_2460G4_62469_dan_1000
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-shell[8174]: Failed to create backend: Unable to open display ':0'
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Aug 15 12:10:39 danbuntu gnome-session[7789]: gnome-session-binary[7789]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: Unrecoverable failure in required component org.gnome.Shell.desktop
Aug 15 12:10:39 danbuntu gnome-session-binary[7789]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Aug 15 12:10:39 danbuntu kernel: [10348.591789] rfkill: input handler enabled
Aug 15 12:10:39 danbuntu kernel: [10348.634300] evdi: [D] evdi_painter_crtc_state_notify:483 (dev=2) Notifying crtc state: 3
Aug 15 12:10:40 danbuntu systemd[1]: Stopping User Manager for UID 1000...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Virtual filesystem service - Media Transfer Protocol monitor...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping D-Bus User Message Bus...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Virtual filesystem service - Apple File Conduit monitor...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping sandboxed app permission store...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Evolution address book service...
Aug 15 12:10:40 danbuntu gvfsd[7348]: A connection to the bus can't be made
Aug 15 12:10:40 danbuntu gvfsd[7348]: A connection to the bus can't be made
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Virtual filesystem service - GNOME Online Accounts monitor...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Virtual filesystem service - digital camera monitor...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Virtual filesystem service...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Virtual filesystem metadata service...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Evolution calendar service...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Virtual filesystem service - disk device monitor...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Evolution source registry...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopping Accessibility services bus...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped target Default.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Accessibility services bus.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped sandboxed app permission store.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Virtual filesystem service - GNOME Online Accounts monitor.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Virtual filesystem service - Media Transfer Protocol monitor.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Virtual filesystem service - digital camera monitor.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped D-Bus User Message Bus.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Evolution source registry.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Virtual filesystem service - disk device monitor.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Virtual filesystem service - Apple File Conduit monitor.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Evolution calendar service.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Evolution address book service.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Virtual filesystem service.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Virtual filesystem metadata service.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped target Basic System.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped target Paths.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped Pending report trigger for Ubuntu Report.
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped target Sockets.
Aug 15 12:10:40 danbuntu systemd[7180]: Closed D-Bus User Message Bus Socket.
Aug 15 12:10:40 danbuntu systemd[7180]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Aug 15 12:10:40 danbuntu systemd[7180]: Closed GnuPG network certificate management daemon.
Aug 15 12:10:40 danbuntu systemd[7180]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Aug 15 12:10:40 danbuntu systemd[7180]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Aug 15 12:10:40 danbuntu systemd[7180]: Closed GnuPG cryptographic agent and passphrase cache.
Aug 15 12:10:40 danbuntu systemd[7180]: Reached target Shutdown.
Aug 15 12:10:40 danbuntu systemd[7180]: Starting Exit the Session...
Aug 15 12:10:40 danbuntu systemd[7180]: Stopped target Timers.
Aug 15 12:10:40 danbuntu systemd[7180]: Received SIGRTMIN+24 from PID 8183 (kill).
Aug 15 12:10:40 danbuntu systemd[1]: Stopped User Manager for UID 1000.
Aug 15 12:10:40 danbuntu systemd[1]: Removed slice User Slice of dan.
Aug 15 12:10:40 danbuntu gsd-color[2827]: could not find device: property match 'XRANDR_name'='DP-1' does not exist```

@cohen990
Copy link
Author

cohen990 commented Aug 15, 2019

It only happens when I switch to one of my monitors (I have a dual monitor setup) and only when the pen comes into proximity with the tablet while that screen has just been switched to

@skomra
Copy link
Member

skomra commented Aug 15, 2019

Hi, I was not immediately able to reproduce this with the Intuos Pro on 18.04.03 with two monitors. From your log it looks like there may be a problem with gsd-color. Unfortunately I don't have a lot of experience with gsd-color but I think you can turn it off by:

$sudo apt install dconf-editor
$dconf-editor

then in the GUI:
org > gnome > settings-daemon > plugins > color (switch to off)

Then reboot and see if you can still reproduce the issue.

@skomra skomra self-assigned this Aug 15, 2019
@jigpu
Copy link
Member

jigpu commented Aug 16, 2019

You may also want to run coredumpctl to see if there are any crashes logged within a few seconds of the journalctl output. If there are, you try running coredumpctl info <path> with the path to the process that crashed and post the output here.

@cohen990
Copy link
Author

cohen990 commented Aug 19, 2019

The crashes are now happening less predictably although the reproduction steps above still work

Aug 19 12:03:42 danbuntu xournalpp[11918]: xournalpp: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: #
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: # A fatal error has been detected by the Java Runtime Environment:
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: #
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: #  SIGSEGV (0xb) at pc=0x00007f3ef1f47ff6, pid=10454, tid=0x00007f3dcd346700
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: #
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: # JRE version: OpenJDK Runtime Environment (8.0_212-b04) (build 1.8.0_212-release-1586-b4)
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: # Java VM: OpenJDK 64-Bit Server VM (25.212-b4 mixed mode linux-amd64 compressed oops)
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: # Problematic frame:
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: # C  [libc.so.6+0x42ff6]
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: #
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: #
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: # An error report file with more information is saved as:
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: # /home/dan/java_error_in_RIDER_10454.log
Aug 19 12:03:42 danbuntu jetbrains-rider.desktop[10385]: pure virtual method called
Aug 19 12:03:42 danbuntu org.gnome.Shell.desktop[5192]: [6261:6261:0819/120342.777253:ERROR:chrome_browser_main_extra_parts_x11.cc(62)] X IO error received (X server probably went away)
Aug 19 12:03:42 danbuntu guake[5401]: guake: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu update-notifier[5977]: update-notifier: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu nautilus-deskto[5406]: nautilus-desktop: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu gsd-keyboard[5306]: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu gsd-color[5304]: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu gsd-xsettings[5276]: gsd-xsettings: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu gsd-wacom[5282]: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu at-spi-bus-launcher[953]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Aug 19 12:03:42 danbuntu at-spi-bus-launcher[953]:       after 9149 requests (9149 known processed) with 0 events remaining.
Aug 19 12:03:42 danbuntu gsd-clipboard[5289]: gsd-clipboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu gsd-power[5262]: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu gsd-media-keys[5322]: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu gnome-shell[5192]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1
Aug 19 12:03:42 danbuntu org.gnome.Shell.desktop[5192]: [6314:6314:0819/120342.783673:ERROR:x11_util.cc(109)] X IO error received (X server probably went away)
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Clipboard.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.Clipboard.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gsd-color[2873]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_AOC_2460G4_62469_dan_1000
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
Aug 19 12:03:42 danbuntu ibus-daemon[5226]: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). See the documentation of g_child_watch_source_new() for possible causes.
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-shell[13165]: Failed to create backend: Unable to open display ':0'
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Aug 19 12:03:42 danbuntu gnome-session[5097]: gnome-session-binary[5097]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: Unrecoverable failure in required component org.gnome.Shell.desktop
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Aug 19 12:03:42 danbuntu gnome-session-binary[5097]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Aug 19 12:03:42 danbuntu kernel: [10833.182369] rfkill: input handler enabled
Aug 19 12:03:43 danbuntu kernel: [10833.465339] evdi: [D] evdi_painter_crtc_state_notify:483 (dev=2) Notifying crtc state: 3

@cohen990
Copy link
Author

I did turn off the colors as instructed but the problem still occurs

@cohen990
Copy link
Author

here is the result of coredump

           PID: 13189 (Xorg)
           UID: 1000 (dan)
           GID: 1000 (dan)
        Signal: 11 (SEGV)
     Timestamp: Mon 2019-08-19 12:15:30 BST (1min 9s ago)
  Command Line: /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
    Executable: /usr/lib/xorg/Xorg
 Control Group: /user.slice/user-1000.slice/session-9.scope
          Unit: session-9.scope
         Slice: user-1000.slice
       Session: 9
     Owner UID: 1000 (dan)
       Boot ID: e04f2cac24bf4c42b9ac54f12f0607cd
    Machine ID: a8c84753764447e7b1bf3bd00476dcd8
      Hostname: danbuntu
       Storage: /var/lib/systemd/coredump/core.Xorg.1000.e04f2cac24bf4c42b9ac54f12f0607cd.13189.1566213330000000.lz4
       Message: Process 13189 (Xorg) of user 1000 dumped core.
                
                Stack trace of thread 13204:
                #0  0x00007f4ed6af0ea6 n/a (modesetting_drv.so)
                #1  0x00005571298e50f3 n/a (Xorg)
                #2  0x00005571298effa2 n/a (Xorg)
                #3  0x00005571299bc53b n/a (Xorg)
                #4  0x00005571299bd309 miPointerSetPosition (Xorg)
                #5  0x00005571298815de n/a (Xorg)
                #6  0x0000557129881d80 n/a (Xorg)
                #7  0x00005571298835bf GetPointerEvents (Xorg)
                #8  0x0000557129883b60 QueuePointerEvents (Xorg)
                #9  0x00005571298bbbd9 xf86PostMotionEventP (Xorg)
                #10 0x00007f4ec6a63ecc n/a (wacom_drv.so)
                #11 0x00007f4ec6a65233 n/a (wacom_drv.so)
                #12 0x00007f4ec6a6a89d n/a (wacom_drv.so)
                #13 0x00007f4ec6a62677 n/a (wacom_drv.so)
                #14 0x00007f4ec6a628d3 n/a (wacom_drv.so)
                #15 0x00005571299d2c33 n/a (Xorg)
                #16 0x00005571299d5331 n/a (Xorg)
                #17 0x00005571299d2a7e n/a (Xorg)
                #18 0x00007f4ed9e526db start_thread (libpthread.so.0)
                #19 0x00007f4ed9b7b88f __clone (libc.so.6)
                
                Stack trace of thread 13189:
                #0  0x00007f4ed9b7bbb7 epoll_wait (libc.so.6)
                #1  0x00005571299d52e7 n/a (Xorg)
                #2  0x00005571299ce32b WaitForSomething (Xorg)
                #3  0x000055712986ac43 n/a (Xorg)
                #4  0x000055712986eee0 n/a (Xorg)
                #5  0x00007f4ed9a7bb97 __libc_start_main (libc.so.6)
                #6  0x0000557129858b8a _start (Xorg)
                
                Stack trace of thread 13190:
                #0  0x00007f4ed9e589f3 futex_wait_cancelable (libpthread.so.0)
                #1  0x00007f4ed45be31a n/a (i965_dri.so)
                #2  0x00007f4ed45be047 n/a (i965_dri.so)
                #3  0x00007f4ed9e526db start_thread (libpthread.so.0)
                #4  0x00007f4ed9b7b88f __clone (libc.so.6)
                
                Stack trace of thread 13199:
                #0  0x00007f4ed9e589f3 futex_wait_cancelable (libpthread.so.0)
                #1  0x00007f4ed0fa80aa n/a (nouveau_dri.so)
                #2  0x00007f4ed0fa7dd7 n/a (nouveau_dri.so)
                #3  0x00007f4ed9e526db start_thread (libpthread.so.0)
                #4  0x00007f4ed9b7b88f __clone (libc.so.6)

@cohen990
Copy link
Author

Looks like something is tripping up xorg

@skomra
Copy link
Member

skomra commented Aug 19, 2019

Thanks for the core dump, it looks like the modesetting driver may be to blame, but let's try and narrow it down. Please use apt to install the xorg debug symbols appropriate for your graphics driver as well as the evdev debug symbols (see below). Then catch another core dump after the problem occurs.


xserver-xorg-video-amdgpu-dbg - X.Org X server -- AMDGPU display driver (debugging symbols)
xserver-xorg-video-ati-dbg - X.Org X server -- AMD/ATI display driver wrapper (debugging symbols)
xserver-xorg-video-intel-dbg - X.Org X server -- Intel i8xx, i9xx display driver (debug symbols)
xserver-xorg-video-radeon-dbg - X.Org X server -- AMD/ATI Radeon display driver (debugging symbols)

xserver-xorg-input-evdev-dbg - X.Org X server -- evdev input driver (debug symbols)

@cohen990
Copy link
Author

I tried installing xserver-xorg-video-intel-dbg - which I think I the correct one for my driver but the core dump looks the same

This is the command I used to check which driver I'm using

~ » egrep -i " connected|card detect|primary dev|Setting driver" /var/log/Xorg.0.log
[    62.478] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
[    86.406] (II) modeset(0): Output DP-1 connected

@jigpu
Copy link
Member

jigpu commented Aug 20, 2019

Weird. I wonder if asking gdb directly would work any better. Install gdb and then run coredumpctl debug <path>. At the "(gdb)" prompt that follows, type in bt full and press enter. Afterwards press CTRL+D to quit. Hopefully that'll do the trick and print out the additional details that we need to understand what's going on.

@cohen990
Copy link
Author

@jigpu unfortunately looks like we are missing some debug symbols

#0  0x00007f6b80d9bea6 in ?? () from /usr/lib/xorg/modules/drivers/modesetting_drv.so
No symbol table info available.
#1  0x000055bb62c8b0f3 in ?? ()
No symbol table info available.
#2  0x000055bb62c95fa2 in ?? ()
No symbol table info available.
#3  0x000055bb62d6253b in ?? ()
No symbol table info available.
#4  0x000055bb62d63309 in miPointerSetPosition ()
No symbol table info available.
#5  0x000055bb62c275de in ?? ()
No symbol table info available.
#6  0x000055bb62c27d80 in ?? ()
No symbol table info available.
#7  0x000055bb62c295bf in GetPointerEvents ()
No symbol table info available.
#8  0x000055bb62c29b60 in QueuePointerEvents ()
No symbol table info available.
#9  0x00007f6b71ce4fb5 in ?? () from /usr/lib/xorg/modules/input/libinput_drv.so
No symbol table info available.
#10 0x00007f6b71ce5b40 in ?? () from /usr/lib/xorg/modules/input/libinput_drv.so
No symbol table info available.
#11 0x000055bb62d78c33 in ?? ()
No symbol table info available.
#12 0x000055bb62d7b331 in ?? ()
No symbol table info available.
#13 0x000055bb62d78a7e in ?? ()
No symbol table info available.
#14 0x00007f6b840fd6db in start_thread (arg=0x7f6b6affd700) at pthread_create.c:463
        pd = 0x7f6b6affd700
        now = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140099333379840, 2214544212643191700, 140099333377216, 0, 0, 140734716615744, -2275037141702632556, -2275254433581720684}, mask_was_saved = 0}}, priv = {
            pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#15 0x00007f6b83e2688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
(gdb) bt full
#0  0x00007f6b80d9bea6 in ?? () from /usr/lib/xorg/modules/drivers/modesetting_drv.so
No symbol table info available.
#1  0x000055bb62c8b0f3 in ?? ()
No symbol table info available.
#2  0x000055bb62c95fa2 in ?? ()
No symbol table info available.
#3  0x000055bb62d6253b in ?? ()
No symbol table info available.
#4  0x000055bb62d63309 in miPointerSetPosition ()
No symbol table info available.
#5  0x000055bb62c275de in ?? ()
No symbol table info available.
#6  0x000055bb62c27d80 in ?? ()
No symbol table info available.
#7  0x000055bb62c295bf in GetPointerEvents ()
No symbol table info available.
#8  0x000055bb62c29b60 in QueuePointerEvents ()
No symbol table info available.
#9  0x00007f6b71ce4fb5 in ?? () from /usr/lib/xorg/modules/input/libinput_drv.so
No symbol table info available.
#10 0x00007f6b71ce5b40 in ?? () from /usr/lib/xorg/modules/input/libinput_drv.so
No symbol table info available.
#11 0x000055bb62d78c33 in ?? ()
No symbol table info available.
#12 0x000055bb62d7b331 in ?? ()
No symbol table info available.
#13 0x000055bb62d78a7e in ?? ()
No symbol table info available.
#14 0x00007f6b840fd6db in start_thread (arg=0x7f6b6affd700) at pthread_create.c:463
        pd = 0x7f6b6affd700
        now = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140099333379840, 2214544212643191700, 140099333377216, 0, 0, 140734716615744, -2275037141702632556, -2275254433581720684}, mask_was_saved = 0}}, priv = {
            pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#15 0x00007f6b83e2688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
(gdb) bt full
#0  0x00007f6b80d9bea6 in ?? () from /usr/lib/xorg/modules/drivers/modesetting_drv.so
No symbol table info available.
#1  0x000055bb62c8b0f3 in ?? ()
No symbol table info available.
#2  0x000055bb62c95fa2 in ?? ()
No symbol table info available.
#3  0x000055bb62d6253b in ?? ()
No symbol table info available.
#4  0x000055bb62d63309 in miPointerSetPosition ()
No symbol table info available.
#5  0x000055bb62c275de in ?? ()
No symbol table info available.
#6  0x000055bb62c27d80 in ?? ()
No symbol table info available.
#7  0x000055bb62c295bf in GetPointerEvents ()
No symbol table info available.
#8  0x000055bb62c29b60 in QueuePointerEvents ()
No symbol table info available.
#9  0x00007f6b71ce4fb5 in ?? () from /usr/lib/xorg/modules/input/libinput_drv.so
No symbol table info available.
#10 0x00007f6b71ce5b40 in ?? () from /usr/lib/xorg/modules/input/libinput_drv.so
No symbol table info available.
#11 0x000055bb62d78c33 in ?? ()
No symbol table info available.
#12 0x000055bb62d7b331 in ?? ()
No symbol table info available.
#13 0x000055bb62d78a7e in ?? ()
No symbol table info available.
#14 0x00007f6b840fd6db in start_thread (arg=0x7f6b6affd700) at pthread_create.c:463
        pd = 0x7f6b6affd700
        now = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140099333379840, 2214544212643191700, 140099333377216, 0, 0, 140734716615744, -2275037141702632556, -2275254433581720684}, mask_was_saved = 0}}, priv = {
            pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#15 0x00007f6b83e2688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

@jigpu
Copy link
Member

jigpu commented Aug 22, 2019

Looks like the symbols might be in another package. Please try following the instructions at https://wiki.ubuntu.com/Debug%20Symbol%20Packages#Getting_-dbgsym.ddeb_packages to add the "ddebs" repository and then run sudo apt-get install xserver-xorg-core-dbgsym. Afterwards, try the coredumpctl command again and see if you get more information.

@cohen990
Copy link
Author

cohen990 commented Sep 3, 2019

sorry for the slow response. Just got back from holiday

adding the ddebs repository seems to have changed things a bit

@cohen990
Copy link
Author

cohen990 commented Sep 3, 2019

~ » coredumpctl gdb /usr/lib/xorg/Xorg                                                                                                                                                                dan@danbuntu
           PID: 3582 (Xorg)
           UID: 1000 (dan)
           GID: 1000 (dan)
        Signal: 11 (SEGV)
     Timestamp: Mon 2019-09-02 16:05:37 BST (17h ago)
  Command Line: /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
    Executable: /usr/lib/xorg/Xorg
 Control Group: /user.slice/user-1000.slice/session-13.scope
          Unit: session-13.scope
         Slice: user-1000.slice
       Session: 13
     Owner UID: 1000 (dan)
       Boot ID: 0ebf621cbd864e09a8063a969f0a19d9
    Machine ID: a8c84753764447e7b1bf3bd00476dcd8
      Hostname: danbuntu
       Storage: /var/lib/systemd/coredump/core.Xorg.1000.0ebf621cbd864e09a8063a969f0a19d9.3582.1567436737000000.lz4
       Message: Process 3582 (Xorg) of user 1000 dumped core.
                
                Stack trace of thread 3597:
                #0  0x00007fe3294d9ea6 n/a (modesetting_drv.so)
                #1  0x000055e78d9170f3 n/a (Xorg)
                #2  0x000055e78d921fa2 n/a (Xorg)
                #3  0x000055e78d9ee53b n/a (Xorg)
                #4  0x000055e78d9ef309 miPointerSetPosition (Xorg)
                #5  0x000055e78d8b35de n/a (Xorg)
                #6  0x000055e78d8b3d80 n/a (Xorg)
                #7  0x000055e78d8b55bf GetPointerEvents (Xorg)
                #8  0x000055e78d8b5b60 QueuePointerEvents (Xorg)
                #9  0x000055e78d8edbd9 xf86PostMotionEventP (Xorg)
                #10 0x00007fe31041eecc n/a (wacom_drv.so)
                #11 0x00007fe310420233 n/a (wacom_drv.so)
                #12 0x00007fe31042589d n/a (wacom_drv.so)
                #13 0x00007fe31041d677 n/a (wacom_drv.so)
                #14 0x00007fe31041d8d3 n/a (wacom_drv.so)
                #15 0x000055e78da04c33 n/a (Xorg)
                #16 0x000055e78da07331 n/a (Xorg)
                #17 0x000055e78da04a7e n/a (Xorg)
                #18 0x00007fe32c83b6db start_thread (libpthread.so.0)
                #19 0x00007fe32c56488f __clone (libc.so.6)
                
                Stack trace of thread 3582:
                #0  0x00007fe32c5596e7 __GI___writev (libc.so.6)
                #1  0x000055e78da0b16e n/a (Xorg)
                #2  0x000055e78da05bfd n/a (Xorg)
                #3  0x000055e78da061ce WriteToClient (Xorg)
                #4  0x000055e78d8a8432 WriteEventsToClient (Xorg)
                #5  0x000055e78d8a85a4 TryClientEvents (Xorg)
                #6  0x000055e78d8abe52 n/a (Xorg)
                #7  0x000055e78d8abf8e DeliverEventsToWindow (Xorg)
                #8  0x000055e78d98f4f2 n/a (Xorg)
                #9  0x000055e78d99ada1 n/a (Xorg)
                #10 0x000055e78d99b6ed XIChangeDeviceProperty (Xorg)
                #11 0x000055e78d99c5f0 n/a (Xorg)
                #12 0x000055e78d89ce98 n/a (Xorg)
                #13 0x000055e78d8a0ee0 n/a (Xorg)
                #14 0x00007fe32c464b97 __libc_start_main (libc.so.6)
                #15 0x000055e78d88ab8a _start (Xorg)
                
                Stack trace of thread 3592:
                #0  0x00007fe32c8419f3 futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fe31f6c923a n/a (nouveau_dri.so)
                #2  0x00007fe31f6c8f67 n/a (nouveau_dri.so)
                #3  0x00007fe32c83b6db start_thread (libpthread.so.0)
                #4  0x00007fe32c56488f __clone (libc.so.6)
                
                Stack trace of thread 3583:
                #0  0x00007fe32c8419f3 futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fe326fa70aa n/a (i965_dri.so)
                #2  0x00007fe326fa6dd7 n/a (i965_dri.so)
                #3  0x00007fe32c83b6db start_thread (libpthread.so.0)
                #4  0x00007fe32c56488f __clone (libc.so.6)

GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 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-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/Xorg...Reading symbols from /usr/lib/debug/.build-id/fe/2a0414d47476223296301f9ef7c3eec49699de.debug...done.
done.
[New LWP 3597]
[New LWP 3582]
[New LWP 3592]
[New LWP 3583]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -backgr'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  drmmode_set_cursor (crtc=<optimised out>, crtc=<optimised out>) at ../../../../../../../hw/xfree86/drivers/modesetting/drmmode_display.c:755
755	../../../../../../../hw/xfree86/drivers/modesetting/drmmode_display.c: No such file or directory.
[Current thread is 1 (Thread 0x7fe313fff700 (LWP 3597))]
(gdb) bt full
#0  drmmode_set_cursor (crtc=<optimised out>, crtc=<optimised out>) at ../../../../../../../hw/xfree86/drivers/modesetting/drmmode_display.c:755
        cursor = 0x0
        drmmode_crtc = 0x55e78f801250
        drmmode = 0x55e78f7d22a0
        handle = 2
        ms = 0x55e78f7d2250
        ret = -22
#1  0x000055e78d9170f3 in xf86_crtc_show_cursor (crtc=0x55e78f800b00) at ../../../../../../hw/xfree86/modes/xf86Cursors.c:340
        crtc = 0x55e78f800b00
#2  xf86_crtc_set_cursor_position (y=287, x=1054, crtc=0x55e78f800b00) at ../../../../../../hw/xfree86/modes/xf86Cursors.c:451
        scrn = <optimised out>
        xf86_config = <optimised out>
        cursor_info = <optimised out>
        crtc_y = <optimised out>
        mode = 0x55e78f800b18
        crtc_x = <optimised out>
        scrn = <optimised out>
        xf86_config = <optimised out>
        cursor_info = <optimised out>
        mode = <optimised out>
        crtc_x = <optimised out>
        crtc_y = <optimised out>
#3  xf86_set_cursor_position (scrn=<optimised out>, x=1054, y=287) at ../../../../../../hw/xfree86/modes/xf86Cursors.c:468
        crtc = 0x55e78f800b00
        xf86_config = 0x55e78f7d2bd0
        c = 0
#4  0x000055e78d921fa2 in xf86MoveCursor (pScreen=0x55e78f858ae0, x=1054, y=287) at ../../../../../../hw/xfree86/ramdac/xf86HWCurs.c:336
        ScreenPriv = <optimised out>
        pSlave = 0x55e78f8465c0
#5  0x000055e78d9ee53b in miPointerMoveNoEvent (pDev=pDev@entry=0x55e790eced40, pScreen=pScreen@entry=0x55e78f858ae0, x=1061, y=291) at ../../../../mi/mipointer.c:567
        pPointer = 0x55e78f92b8d0
        pScreenPriv = <optimised out>
#6  0x000055e78d9ef309 in miPointerSetPosition (pDev=pDev@entry=0x55e790eced40, mode=mode@entry=1, screenx=screenx@entry=0x7fe313ffd0d0, screeny=screeny@entry=0x7fe313ffd0d8, 
    nevents=nevents@entry=0x7fe313ffd0cc, events=events@entry=0x7fe32f10f830) at ../../../../mi/mipointer.c:669
        pScreenPriv = <optimised out>
        pScreen = 0x55e78f858ae0
        newScreen = 0x1
        x = 1061
        y = 291
        switch_screen = <optimised out>
        should_constrain_barriers = 0
        i = <optimised out>
        pPointer = 0x55e78f92b8d0
#7  0x000055e78d8b35de in positionSprite (dev=dev@entry=0x55e790eced40, mode=mode@entry=1, mask=mask@entry=0x7fe313ffd120, devx=devx@entry=0x7fe313ffd0e0, devy=devy@entry=0x7fe313ffd0e8, 
    screenx=screenx@entry=0x7fe313ffd0d0, screeny=0x7fe313ffd0d8, nevents=0x7fe313ffd0cc, events=0x7fe32f10f830) at ../../../../dix/getevents.c:984
        scr = <optimised out>
        tmpx = 1061.6799015770048
        tmpy = 291.36537704448659
#8  0x000055e78d8b3d80 in positionSprite (events=0x7fe32f10f830, nevents=0x7fe313ffd0cc, screeny=0x7fe313ffd0d8, screenx=0x7fe313ffd0d0, devy=0x7fe313ffd0e8, devx=0x7fe313ffd0e0, mask=0x7fe313ffd120, mode=1, 
    dev=0x55e790eced40) at ../../../../dix/getevents.c:1457
        scr = 0x55e78f858ae0
        tmpx = <optimised out>
        tmpy = <optimised out>
        scr = <optimised out>
        tmpx = <optimised out>
        tmpy = <optimised out>
        x = <optimised out>
---Type <return> to continue, or q <return> to quit---
        y = <optimised out>
#9  fill_pointer_events (events=0x7fe32f10f830, events@entry=0x7fe32f10ec20, pDev=pDev@entry=0x55e790eced40, type=6, buttons=buttons@entry=0, ms=ms@entry=28897031, flags=flags@entry=4, mask_in=0x7fe313ffd420)
    at ../../../../dix/getevents.c:1457
        num_events = 2
        event = <optimised out>
        raw = 0x7fe32f10ec20
        screenx = 1061.6799015770048
        screeny = 291.36537704448659
        devx = 12360
        devy = 7538
        sx = 0
        sy = 0
        mask = {last_bit = 5 '\005', has_unaccelerated = 0 '\000', mask = "?\000\000\000", valuators = {12360, 7538, 0, -4, 0, -900, 0 <repeats 30 times>}, unaccelerated = {0 <repeats 36 times>}}
        scr = <optimised out>
        num_barrier_events = 0
#10 0x000055e78d8b55bf in GetPointerEvents (events=0x7fe32f10ec20, pDev=pDev@entry=0x55e790eced40, type=<optimised out>, buttons=0, flags=4, mask_in=<optimised out>) at ../../../../dix/getevents.c:1714
        ms = 28897031
        num_events = 1
        nev_tmp = <optimised out>
        mask = {last_bit = 5 '\005', has_unaccelerated = 0 '\000', mask = "?\000\000\000", valuators = {24720, 7538, 0, -4, 0, -900, 0 <repeats 30 times>}, unaccelerated = {0 <repeats 36 times>}}
        scroll = {last_bit = 5 '\005', has_unaccelerated = 0 '\000', mask = "8\000\000\000", valuators = {0 <repeats 36 times>}, unaccelerated = {0 <repeats 28 times>, 4.6665982637945478e-310, 0, 
            4.6665982637945478e-310, 4.6666010733221628e-310, 4.6666010733221628e-310, 6.9472185976416278e-310, 3.7111674212262522e+188, 6.9472185976416278e-310}}
        i = <optimised out>
        realtype = 6
        __func__ = "GetPointerEvents"
#11 0x000055e78d8b5b60 in QueuePointerEvents (device=0x55e790eced40, type=<optimised out>, buttons=<optimised out>, flags=<optimised out>, mask=<optimised out>) at ../../../../dix/getevents.c:1313
        nevents = <optimised out>
#12 0x000055e78d8edbd9 in xf86PostMotionEventP (device=0x55e790eced40, is_absolute=1, first_valuator=<optimised out>, num_valuators=<optimised out>, valuators=<optimised out>)
    at ../../../../../../hw/xfree86/common/xf86Xinput.c:1175
        mask = {last_bit = 5 '\005', has_unaccelerated = 0 '\000', mask = "?\000\000\000", valuators = {24720, 7538, 0, -4, 0, -900, 0 <repeats 30 times>}, unaccelerated = {0 <repeats 36 times>}}
        __FUNCTION__ = "xf86PostMotionEventP"
#13 0x00007fe31041eecc in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#14 0x00007fe310420233 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#15 0x00007fe31042589d in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#16 0x00007fe31041d677 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#17 0x00007fe31041d8d3 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#18 0x000055e78da04c33 in InputReady (fd=61, xevents=1, data=0x55e790e73b10) at ../../../../os/inputthread.c:180
        dev = 0x55e790e73b10
#19 0x000055e78da07331 in ospoll_wait (ospoll=0x55e78f9c5a60, timeout=timeout@entry=-1) at ../../../../os/ospoll.c:412
        ev = <optimised out>
        osfd = <optimised out>
        revents = <optimised out>
        xevents = <optimised out>
        nready = 1
        events = {{events = 1, data = {ptr = 0x7fe2f40093d0, fd = -201288752, u32 = 4093678544, u64 = 140612733014992}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}} <repeats 93 times>, {
            events = 529096197, data = {ptr = 0x13ffe92000007fe3, fd = 32739, u32 = 32739, u64 = 1441126729430106083}}, {events = 32739, data = {ptr = 0x7fe313ffeab0, fd = 335538864, u32 = 335538864, 
              u64 = 140613269842608}}, {events = 9, data = {ptr = 0x13ffe93000000000, fd = 0, u32 = 0, u64 = 1441126798149550080}}, {events = 32739, data = {ptr = 0x7fe32c82afa0 <_IO_strn_jumps>, 
              fd = 746762144, u32 = 746762144, u64 = 140613681065888}}, {events = 743041450, data = {ptr = 0x7fe3, fd = 32739, u32 = 32739, u64 = 32739}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, 
              u64 = 0}}, {events = 529096207, data = {ptr = 0x7fe3, fd = 32739, u32 = 32739, u64 = 32739}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 1, data = {
              ptr = 0xffffffff00000000, fd = 0, u32 = 0, u64 = 18446744069414584320}}, {events = 4294967295, data = {ptr = 0x100000000, fd = 0, u32 = 0, u64 = 4294967296}}, {events = 10, data = {
              ptr = 0x13ffe8e700000000, fd = 0, u32 = 0, u64 = 1441126484616937472}}, {events = 32739, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 6, data = {ptr = 0x100000000, fd = 0, u32 = 0, 
              u64 = 4294967296}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x7fe313ffe500, 
---Type <return> to continue, or q <return> to quit---
              fd = 335537408, u32 = 335537408, u64 = 140613269841152}}, {events = 32, data = {ptr = 0x1f895e0f00000000, fd = 0, u32 = 0, u64 = 2272450905502646272}}, {events = 32739, data = {ptr = 0x0, fd = 0, 
              u32 = 0, u64 = 0}}, {events = 3432, data = {ptr = 0x1f895e1000000000, fd = 0, u32 = 0, u64 = 2272450909797613568}}, {events = 32739, data = {ptr = 0x7fe31f895e0e, fd = 529096206, u32 = 529096206, 
              u64 = 140613463399950}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, 
              u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {
            events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, 
            data = {ptr = 0x3000000028, fd = 40, u32 = 40, u64 = 206158430248}}, {events = 335539088, data = {ptr = 0x13ffead000007fe3, fd = 32739, u32 = 32739, u64 = 1441128584855977955}}, {events = 32739, 
            data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}} <repeats 83 times>, {events = 0, data = {ptr = 0x3600000000000000, fd = 0, u32 = 0, 
              u64 = 3891110078048108544}}, {events = 61160192, data = {ptr = 0x13ffe930671552c0, fd = 1729450688, u32 = 1729450688, u64 = 1441126799879000768}}, {events = 32739, data = {ptr = 0x7fe313ffe930, 
              fd = 335538480, u32 = 335538480, u64 = 140613269842224}}, {events = 335539088, data = {ptr = 0x1f895e0500007fe3, fd = 32739, u32 = 32739, u64 = 2272450862553006051}}, {events = 32739, data = {
              ptr = 0x7fe313ffeab0, fd = 335538864, u32 = 335538864, u64 = 140613269842608}}, {events = 1, data = {ptr = 0xf00000000, fd = 0, u32 = 0, u64 = 64424509440}}, {events = 0, data = {
              ptr = 0x7fe32c575169 <___vsnprintf_chk+169>, fd = 743919977, u32 = 743919977, u64 = 140613678223721}}, {events = 4222451713, data = {ptr = 0x13ffeb9000000000, fd = 0, u32 = 0, 
              u64 = 1441129409489666048}}, {events = 32739, data = {ptr = 0x7fe313ffeb90, fd = 335539088, u32 = 335539088, u64 = 140613269842832}}, {events = 335539088, data = {ptr = 0x13ffeb9000007fe3, 
              fd = 32739, u32 = 32739, u64 = 1441129409489698787}}, {events = 32739, data = {ptr = 0x7fe313ffeb9a, fd = 335539098, u32 = 335539098, u64 = 140613269842842}}, {events = 335539103, data = {
              ptr = 0x13ffeb9000007fe3, fd = 32739, u32 = 32739, u64 = 1441129409489698787}}, {events = 32739, data = {ptr = 0x7fe313ffeb9f, fd = 335539103, u32 = 335539103, u64 = 140613269842847}}, {
            events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, 
            data = {ptr = 0x8400000000, fd = 0, u32 = 0, u64 = 566935683072}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {
            events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0xffffffffffffffff, fd = -1, u32 = 4294967295, u64 = 18446744073709551615}}, {events = 0, data = {ptr = 0x0, 
              fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x240, fd = 576, u32 = 576, u64 = 576}}, {events = 4294967295, data = {ptr = 0x3000000025, fd = 37, u32 = 37, u64 = 206158430245}}, {
            events = 0, data = {ptr = 0x400000000, fd = 0, u32 = 0, u64 = 17179869184}}, {events = 7, data = {ptr = 0x4000000000, fd = 0, u32 = 0, u64 = 274877906944}}, {events = 0, data = {
              ptr = 0x7fe2f40008e0, fd = -201324320, u32 = 4093642976, u64 = 140612732979424}}, {events = 96, data = {ptr = 0xfffffcb000000000, fd = 0, u32 = 0, u64 = 18446740431577284608}}, {
            events = 4294967295, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {events = 4, data = {ptr = 0x31, fd = 49, u32 = 49, u64 = 49}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {
            events = 0, data = {ptr = 0x7c00000000, fd = 0, u32 = 0, u64 = 532575944704}}, {events = 119, data = {ptr = 0x5b0000006e, fd = 110, u32 = 110, u64 = 390842024046}}, {events = 4093640736, data = {
              ptr = 0x3000007fe2, fd = 32738, u32 = 32738, u64 = 206158462946}}, {events = 0, data = {ptr = 0x17bc0, fd = 97216, u32 = 97216, u64 = 97216}}, {events = 48, data = {ptr = 0x2c8338f800000000, 
              fd = 0, u32 = 0, u64 = 3207469997420969984}}, {events = 32739, data = {ptr = 0x7fe2f4009440, fd = -201288640, u32 = 4093678656, u64 = 140612733015104}}, {events = 4093640736, data = {
              ptr = 0x90e5542000007fe2, fd = 32738, u32 = 32738, u64 = 10440843807544082402}}, {events = 21991, data = {ptr = 0x7fe32c4dd0b1 <__libc_calloc+129>, fd = 743297201, u32 = 743297201, 
              u64 = 140613677600945}}, {events = 2378809600, data = {ptr = 0x55e7, fd = 21991, u32 = 21991, u64 = 21991}}, {events = 0, data = {ptr = 0x7fe32c83f7df <__GI___pthread_mutex_unlock+63>, 
              fd = 746846175, u32 = 746846175, u64 = 140613681149919}}, {events = 1, data = {ptr = 0x8da04c1000000000, fd = 0, u32 = 0, u64 = 10205240387224731648}}, {events = 21991, data = {
              ptr = 0x55e78da07058 <ospoll_add+408>, fd = -1918865320, u32 = 2376101976, u64 = 94453001908312}}, {events = 4093678672, data = {ptr = 0x2c8452cc00007fe2, fd = 32738, u32 = 32738, 
              u64 = 3207779870721474530}}, {events = 32739, data = {ptr = 0x55e78f811118, fd = -1887366888, u32 = 2407600408, u64 = 94453033406744}}, {events = 1, data = {ptr = 0x13ffeb2700000000, fd = 0, 
              u32 = 0, u64 = 1441128958518099968}}, {events = 32739, data = {ptr = 0x16, fd = 22, u32 = 22, u64 = 22}}}
        i = <optimised out>
#20 0x000055e78da04a7e in InputThreadDoWork (arg=<optimised out>) at ../../../../os/inputthread.c:367
        set = {__val = {18446744067267100671, 18446744073709551615 <repeats 15 times>}}
        __func__ = "InputThreadDoWork"
#21 0x00007fe32c83b6db in start_thread (arg=0x7fe313fff700) at pthread_create.c:463
        pd = 0x7fe313fff700
        now = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140613269845760, 4356930679972880053, 140613269843136, 0, 0, 140736612012496, -4345750846319305035, -4345775341780017483}, mask_was_saved = 0}}, priv = {
            pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#22 0x00007fe32c56488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
(gdb) 
(gdb) quit

@jigpu
Copy link
Member

jigpu commented Sep 3, 2019

This looks like some kind of issue with either the Xorg server or its modesetting driver. The event our driver sends seems perfectly sensible, and the screen coordinates the server transforms them to seems fairly reasonable as well. For some reason, however, there isn't a cursor to be displayed and the modesetting driver crashes as a result.

I would file an issue at https://gitlab.freedesktop.org/xorg/xserver/issues with information about your system and the dump you posted above. It would also be good to include a link back to this issue for reference. The developers over there should be better able to track down the cause of the issue.

@cohen990
Copy link
Author

cohen990 commented Sep 6, 2019

issue filed. Thanks for your help so far!

@jigpu jigpu added the invalid Not a bug, or not this project's bug label Oct 28, 2019
@jigpu
Copy link
Member

jigpu commented Oct 28, 2019

Ref to upstream bug: https://gitlab.freedesktop.org/xorg/xserver/issues/883

@jigpu jigpu closed this as completed Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not a bug, or not this project's bug
Projects
None yet
Development

No branches or pull requests

3 participants