WaitForSomething(): select: Invalid argument, part 2
Hi, I've been investigating the bug regarding WaitForSomething() invalid arguments[1], and I've made some progress, but could use some help. This has happened sporadically in my machine, it was happening reliably with Chromium but the issue went away before I could track it down, and now it's happening with Dota 2. It happens always in the same part of the game, so at least I could try to reproduce, but it doesn't happen all the time. I've compiled my own X server and added debugging to find out the culprit, and so far this is what I've found. The issue seems to happen in dix/dixutils.c::BlockHandler(), after this is run, waittime,tv_sec = 0, and waittime.tv_usec = -1000. Clearly the arguments are wrong, so it's no wonder Select() complains. It's clear that an integer -1 is being converted wrongly, but I've no idea where. I've tried adding debugging to all the BlockHandler() functions I could see, as I don't know how that works, so far with no luck. It seems to be one of the screens/gpuscreens BlockHandler(), but I don't know where those are coming from. I'll keep trying to reproduce the issue, and hopefully the next time I do I would have more information. In the meantime, do you have any pointers? [1] http://thread.gmane.org/gmane.comp.freedesktop.xorg/49065 -- Felipe Contreras ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
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
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
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. 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
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
On Tue, Apr 23, 2013 at 4:57 AM, Grant emailgr...@gmail.com 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 Fri, May 10, 2013 at 12:43 PM, Grant emailgr...@gmail.com 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
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-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
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
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