WaitForSomething(): select: Invalid argument
My X server is frequently crashing with the error "WaitForSomething(): select: Invalid argument". There has been a previous report on this issue in which the suggested action was to upgrade the synaptics driver (http://lists.x.org/pipermail/xorg/2013-May/055680.html). I am already running a significantly newer driver than the user in that report was, as I'm using 1.7.4. The crash happens frequently, and mostly random. However I am able to reproduce it on demand by launching the HipChat client. As soon as the app finishes loading and goes to display the main window, X crashes with the mentioned error. I have attached the Xorg.0.log from a crashed session. I have also attached a packet capture of HipChat talking to the X server so you can see what it's doing to cause the crash. I am using: xorg-server 1.15.0 xf86-input-evdev 2.8.2 xf86-input-synaptics 1.7.4 xf86-video-intel 2.21.15 kernel 3.14.14 -Patrick [ 342.140] X.Org X Server 1.15.0 Release Date: 2013-12-27 [ 342.140] X Protocol Version 11, Revision 0 [ 342.140] Build Operating System: Linux 3.14.14-gentoo x86_64 Gentoo [ 342.140] Current Operating System: Linux gadget 3.14.14-gentoo #13 SMP Mon Oct 13 10:45:53 EDT 2014 x86_64 [ 342.140] Kernel command line: BOOT_IMAGE=/kernel-3.14.14-gentoo log_buf_len=128K consoleblank=0 root=/dev/sys/root [ 342.140] Build Date: 05 October 2014 07:21:00PM [ 342.140] [ 342.140] Current version of pixman: 0.32.4 [ 342.140]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 342.140] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 342.140] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 13 10:53:04 2014 [ 342.140] (==) Using config file: "/etc/X11/xorg.conf" [ 342.140] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 342.141] (==) No Layout section. Using the first Screen section. [ 342.141] (==) No screen section available. Using defaults. [ 342.141] (**) |-->Screen "Default Screen Section" (0) [ 342.141] (**) | |-->Monitor "" [ 342.141] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 342.141] (**) | |-->Device "Intel Graphics" [ 342.141] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 342.141] (==) Automatically adding devices [ 342.141] (==) Automatically enabling devices [ 342.141] (==) Automatically adding GPU devices [ 342.141] (WW) The directory "/usr/share/fonts/misc/" does not exist. [ 342.141]Entry deleted from font path. [ 342.141] (WW) The directory "/usr/share/fonts/TTF/" does not exist. [ 342.141]Entry deleted from font path. [ 342.141] (WW) The directory "/usr/share/fonts/OTF/" does not exist. [ 342.141]Entry deleted from font path. [ 342.141] (WW) The directory "/usr/share/fonts/Type1/" does not exist. [ 342.141]Entry deleted from font path. [ 342.141] (WW) The directory "/usr/share/fonts/100dpi/" does not exist. [ 342.141]Entry deleted from font path. [ 342.141] (WW) The directory "/usr/share/fonts/75dpi/" does not exist. [ 342.141]Entry deleted from font path. [ 342.141] (==) FontPath set to: [ 342.141] (==) ModulePath set to "/usr/lib64/xorg/modules" [ 342.141] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 342.141] (II) Loader magic: 0x807c60 [ 342.141] (II) Module ABI versions: [ 342.141]X.Org ANSI C Emulation: 0.4 [ 342.141]X.Org Video Driver: 15.0 [ 342.141]X.Org XInput driver : 20.0 [ 342.141]X.Org Server Extension : 8.0 [ 342.142] (II) xfree86: Adding drm device (/dev/dri/card0) [ 342.144] (--) PCI:*(0:0:2:0) 8086:0166:144d:c0d3 rev 9, Mem @ 0xf000/4194304, 0xe000/268435456, I/O @ 0x3000/64 [ 342.144] Initializing built-in extension Generic Event Extension [ 342.144] Initializing built-in extension SHAPE [ 342.144] Initializing built-in extension MIT-SHM [ 342.144] Initializing built-in extension XInputExtension [ 342.144] Initializing built-in extension XTEST [ 342.144] Initializing built-in extension BIG-REQUESTS [ 342.144] Initializing built-in extension SYNC [ 342.144] Initializing built-in extension XKEYBOARD [ 342.144] Initializing built-in extension XC-MISC [ 342.144] Initializing built-in extension XINERAMA [ 342.144] Initializing built-in extension XFIXES [ 342.144] Initializing built-in extension RENDER [ 342.144] Initializing built-in extension RANDR [
Re: WaitForSomething(): select: Invalid argument
> See eg. https://bugzilla.redhat.com/show_bug.cgi?id=877464 > Try to update the synaptics driver if possible. OK, I'm updating from 1.6.2-r1 to 1.7.0. This crash didn't start happening for me until I started using the new Cypress driver in the kernel. - Grant >> OK here are two. > > > (EE) BUG: triggered 'if (priv->num_active_touches > priv->num_slots)' > (EE) BUG: > /var/tmp/portage/x11-drivers/xf86-input-synaptics-1.6.2-r1/work/xf86-input-synaptics-1.6.2/src/synaptics.c:3122 > in UpdateTouchState() > (EE) (EE) Backtrace: > (EE) 0: /usr/bin/X (xorg_backtrace+0x34) [0x595814] > (EE) 1: /usr/lib64/xorg/modules/input/synaptics_drv.so > (0x7feee999+0x31b7) [0x7feee99931b7] > (EE) 2: /usr/lib64/xorg/modules/input/synaptics_drv.so > (0x7feee999+0x3a8f) [0x7feee9993a8f] > (EE) 3: /usr/lib64/xorg/modules/input/synaptics_drv.so > (0x7feee999+0x65ea) [0x7feee99965ea] > (EE) 4: /usr/bin/X (0x40+0x7a137) [0x47a137] > (EE) 5: /usr/bin/X (0x40+0xa4fc7) [0x4a4fc7] > (EE) 6: /lib64/libpthread.so.0 (0x7f53d000+0x10460) [0x7f54d460] > (EE) 7: /lib64/libc.so.6 (__select+0x33) [0x7feeed2a2233] > (EE) 8: /usr/bin/X (WaitForSomething+0x19b) [0x592f9b] > (EE) 9: /usr/bin/X (0x40+0x3ab62) [0x43ab62] > (EE) 10: /usr/bin/X (0x40+0x299d4) [0x4299d4] > (EE) 11: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7feeed1df4bd] > (EE) 12: /usr/bin/X (0x40+0x29d1d) [0x429d1d] ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: WaitForSomething(): select: Invalid argument
On Freitag, 10. Mai 2013 08:33:34 CEST, Grant wrote: See eg. https://bugzilla.redhat.com/show_bug.cgi?id=877464 Try to update the synaptics driver if possible. OK here are two. (EE) BUG: triggered 'if (priv->num_active_touches > priv->num_slots)' (EE) BUG: /var/tmp/portage/x11-drivers/xf86-input-synaptics-1.6.2-r1/work/xf86-input-synaptics-1.6.2/src/synaptics.c:3122 in UpdateTouchState() (EE) (EE) Backtrace: (EE) 0: /usr/bin/X (xorg_backtrace+0x34) [0x595814] (EE) 1: /usr/lib64/xorg/modules/input/synaptics_drv.so (0x7feee999+0x31b7) [0x7feee99931b7] (EE) 2: /usr/lib64/xorg/modules/input/synaptics_drv.so (0x7feee999+0x3a8f) [0x7feee9993a8f] (EE) 3: /usr/lib64/xorg/modules/input/synaptics_drv.so (0x7feee999+0x65ea) [0x7feee99965ea] (EE) 4: /usr/bin/X (0x40+0x7a137) [0x47a137] (EE) 5: /usr/bin/X (0x40+0xa4fc7) [0x4a4fc7] (EE) 6: /lib64/libpthread.so.0 (0x7f53d000+0x10460) [0x7f54d460] (EE) 7: /lib64/libc.so.6 (__select+0x33) [0x7feeed2a2233] (EE) 8: /usr/bin/X (WaitForSomething+0x19b) [0x592f9b] (EE) 9: /usr/bin/X (0x40+0x3ab62) [0x43ab62] (EE) 10: /usr/bin/X (0x40+0x299d4) [0x4299d4] (EE) 11: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7feeed1df4bd] (EE) 12: /usr/bin/X (0x40+0x29d1d) [0x429d1d] ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: WaitForSomething(): select: Invalid argument
On Fri, May 10, 2013 at 12:43 PM, Grant wrote: >>> xorg crashed on my Gentoo system with the following in Xorg.0.log.old >>> as I was posting something on Tumblr. Should I file a bug? >>> >> can you attach the complete log? > > Sure, do we need to turn on any extra debugging? Nope I just want to see the loaded drivers, as we pass way too much too them to affect select. Dave. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: WaitForSomething(): select: Invalid argument
>> xorg crashed on my Gentoo system with the following in Xorg.0.log.old >> as I was posting something on Tumblr. Should I file a bug? >> > can you attach the complete log? Sure, do we need to turn on any extra debugging? - Grant ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: WaitForSomething(): select: Invalid argument
On Tue, Apr 23, 2013 at 4:57 AM, Grant wrote: > xorg crashed on my Gentoo system with the following in Xorg.0.log.old > as I was posting something on Tumblr. Should I file a bug? > can you attach the complete log? Dave. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: WaitForSomething(): select: Invalid argument
On 05/ 9/13 12:32 PM, Grant wrote: WaitForSomething(): select: Invalid argument https://lkml.org/lkml/2012/8/31/1 ? Thanks, Google didn't bring that up for me. So it's a kernel issue. I'm on 3.9-rc7. I'll pursue this further with the kernel guys if it happens on 3.9-rc8. I've only seen it once so far. That is wrong, the patch mentioned in that mail thread was applied long time ago, in v3.6[1]. And the issue is most definitely in X: --- Also, letting the X people know that they are doing something crazy sounds like a good idea. -- Linus --- This happens on my Arch Linux 3.8.11 and I've seen it happen also on 3.9. X crashing is not good. Agreed. What should we do? To start with, xorg-devel is how you reach the X developers, but with no detail about what argument is invalid or why, I don't know what we can do. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: WaitForSomething(): select: Invalid argument
>> >> WaitForSomething(): select: Invalid argument >> > >> > >> > https://lkml.org/lkml/2012/8/31/1 ? >> >> Thanks, Google didn't bring that up for me. So it's a kernel issue. >> I'm on 3.9-rc7. I'll pursue this further with the kernel guys if it >> happens on 3.9-rc8. I've only seen it once so far. > > That is wrong, the patch mentioned in that mail thread was applied long > time ago, in v3.6[1]. > > And the issue is most definitely in X: > > --- > Also, letting the X people know that they are doing something crazy > sounds like a good idea. -- Linus > --- > > This happens on my Arch Linux 3.8.11 and I've seen it happen also on > 3.9. > > X crashing is not good. Agreed. What should we do? - Grant > [1] > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cee58483cf56e0ba355fdd97ff5e8925329aa936 ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: WaitForSomething(): select: Invalid argument
Grant wrote: > >> WaitForSomething(): select: Invalid argument > > > > > > https://lkml.org/lkml/2012/8/31/1 ? > > Thanks, Google didn't bring that up for me. So it's a kernel issue. > I'm on 3.9-rc7. I'll pursue this further with the kernel guys if it > happens on 3.9-rc8. I've only seen it once so far. That is wrong, the patch mentioned in that mail thread was applied long time ago, in v3.6[1]. And the issue is most definitely in X: --- Also, letting the X people know that they are doing something crazy sounds like a good idea. -- Linus --- This happens on my Arch Linux 3.8.11 and I've seen it happen also on 3.9. X crashing is not good. [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cee58483cf56e0ba355fdd97ff5e8925329aa936 -- Felipe Contreras ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: WaitForSomething(): select: Invalid argument
>> WaitForSomething(): select: Invalid argument > > > https://lkml.org/lkml/2012/8/31/1 ? Thanks, Google didn't bring that up for me. So it's a kernel issue. I'm on 3.9-rc7. I'll pursue this further with the kernel guys if it happens on 3.9-rc8. I've only seen it once so far. - Grant ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: WaitForSomething(): select: Invalid argument
On Montag, 22. April 2013 20:57:40 CEST, Grant wrote: WaitForSomething(): select: Invalid argument https://lkml.org/lkml/2012/8/31/1 ? ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
WaitForSomething(): select: Invalid argument
xorg crashed on my Gentoo system with the following in Xorg.0.log.old as I was posting something on Tumblr. Should I file a bug? Fatal server error: [ 2018.895] WaitForSomething(): select: Invalid argument [ 2018.895] [ 2018.895] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 2018.895] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 2018.895] (EE) [ 2018.905] (II) evdev: Power Button: Close [ 2018.905] (II) UnloadModule: "evdev" [ 2018.920] (II) evdev: Video Bus: Close [ 2018.920] (II) UnloadModule: "evdev" [ 2018.930] (II) evdev: Power Button: Close [ 2018.930] (II) UnloadModule: "evdev" [ 2018.941] (II) evdev: Sleep Button: Close [ 2018.941] (II) UnloadModule: "evdev" [ 2018.951] (II) evdev: AT Translated Set 2 keyboard: Close [ 2018.951] (II) UnloadModule: "evdev" [ 2018.976] (II) UnloadModule: "synaptics" [ 2018.976] (II) AIGLX: Suspending AIGLX clients for VT switch [ 2018.998] Server terminated with error (1). Closing log file. - Grant ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com