WaitForSomething(): select: Invalid argument

Patrick Hemmer xorg at stormcloud9.net
Mon Oct 13 09:42:03 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20141013/9254d342/attachment-0001.html>
-------------- next part --------------
[   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 "<default 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 @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/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
[   342.144] Initializing built-in extension COMPOSITE
[   342.144] Initializing built-in extension DAMAGE
[   342.144] Initializing built-in extension MIT-SCREEN-SAVER
[   342.144] Initializing built-in extension DOUBLE-BUFFER
[   342.144] Initializing built-in extension RECORD
[   342.144] Initializing built-in extension DPMS
[   342.144] Initializing built-in extension Present
[   342.144] Initializing built-in extension DRI3
[   342.144] Initializing built-in extension X-Resource
[   342.144] Initializing built-in extension XVideo
[   342.144] Initializing built-in extension XVideo-MotionCompensation
[   342.144] Initializing built-in extension XFree86-VidModeExtension
[   342.144] Initializing built-in extension XFree86-DGA
[   342.144] Initializing built-in extension XFree86-DRI
[   342.144] Initializing built-in extension DRI2
[   342.144] (II) LoadModule: "glx"
[   342.145] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   342.146] (II) Module glx: vendor="X.Org Foundation"
[   342.146] 	compiled for 1.15.0, module version = 1.0.0
[   342.146] 	ABI class: X.Org Server Extension, version 8.0
[   342.146] (==) AIGLX enabled
[   342.147] Loading extension GLX
[   342.147] (II) LoadModule: "intel"
[   342.147] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   342.147] (II) Module intel: vendor="X.Org Foundation"
[   342.147] 	compiled for 1.15.0, module version = 2.21.15
[   342.147] 	Module class: X.Org Video Driver
[   342.147] 	ABI class: X.Org Video Driver, version 15.0
[   342.147] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
	HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
	HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
	HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
	HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[   342.147] (++) using VT number 7

[   342.149] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   342.149] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   342.149] (==) intel(0): RGB weight 888
[   342.149] (==) intel(0): Default visual is TrueColor
[   342.149] (**) intel(0): Option "TearFree" "true"
[   342.149] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[   342.149] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[   342.149] (**) intel(0): Framebuffer tiled
[   342.149] (**) intel(0): Pixmaps tiled
[   342.149] (**) intel(0): "Tear free" enabled
[   342.149] (**) intel(0): Forcing per-crtc-pixmaps? no
[   342.149] (II) intel(0): Output LVDS1 has no monitor section
[   342.149] (--) intel(0): found backlight control interface acpi_video0 (type 'firmware')
[   342.149] (II) intel(0): Output VGA1 has no monitor section
[   342.150] (II) intel(0): Output HDMI1 using monitor section HDMI1
[   342.150] (**) intel(0): Option "Disable" "true"
[   342.150] (II) intel(0): Output DP1 has no monitor section
[   342.150] (--) intel(0): Output LVDS1 using initial mode 1600x900 on pipe 0
[   342.150] (==) intel(0): DPI set to (96, 96)
[   342.150] (II) Loading sub module "dri2"
[   342.150] (II) LoadModule: "dri2"
[   342.150] (II) Module "dri2" already built-in
[   342.150] (==) Depth 24 pixmap format is 32 bpp
[   342.150] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[   342.150] (==) intel(0): Backing store enabled
[   342.150] (==) intel(0): Silken mouse enabled
[   342.150] (II) intel(0): HW Cursor enabled
[   342.150] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   342.155] (==) intel(0): DPMS enabled
[   342.155] (II) intel(0): [DRI2] Setup complete
[   342.155] (II) intel(0): [DRI2]   DRI driver: i965
[   342.155] (II) intel(0): direct rendering: DRI2 Enabled
[   342.155] (==) intel(0): hotplug detection: "enabled"
[   342.155] (--) RandR disabled
[   342.168] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   342.168] (II) AIGLX: enabled GLX_ARB_create_context
[   342.168] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   342.168] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[   342.168] (II) AIGLX: enabled GLX_INTEL_swap_event
[   342.168] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[   342.168] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   342.168] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   342.168] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   342.168] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   342.168] (II) AIGLX: Loaded and initialized i965
[   342.168] (II) GLX: Initialized DRI2 GL provider for screen 0
[   342.171] (II) intel(0): switch to mode 1600x900 at 60.1 on pipe 0 using LVDS1, position (0, 0), rotation normal
[   342.237] (II) intel(0): Setting screen physical size to 423 x 238
[   342.285] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   342.285] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   342.285] (II) LoadModule: "evdev"
[   342.285] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[   342.285] (II) Module evdev: vendor="X.Org Foundation"
[   342.285] 	compiled for 1.15.0, module version = 2.8.2
[   342.285] 	Module class: X.Org XInput Driver
[   342.285] 	ABI class: X.Org XInput driver, version 20.0
[   342.285] (II) Using input driver 'evdev' for 'Power Button'
[   342.285] (**) Power Button: always reports core events
[   342.285] (**) evdev: Power Button: Device: "/dev/input/event2"
[   342.285] (--) evdev: Power Button: Vendor 0 Product 0x1
[   342.285] (--) evdev: Power Button: Found keys
[   342.285] (II) evdev: Power Button: Configuring as keyboard
[   342.286] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[   342.286] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   342.286] (**) Option "xkb_rules" "evdev"
[   342.286] (**) Option "xkb_model" "pc104"
[   342.286] (**) Option "xkb_layout" "us"
[   342.326] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[   342.326] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   342.326] (II) Using input driver 'evdev' for 'Video Bus'
[   342.326] (**) Video Bus: always reports core events
[   342.326] (**) evdev: Video Bus: Device: "/dev/input/event3"
[   342.326] (--) evdev: Video Bus: Vendor 0 Product 0x6
[   342.326] (--) evdev: Video Bus: Found keys
[   342.326] (II) evdev: Video Bus: Configuring as keyboard
[   342.326] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input3/event3"
[   342.326] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   342.326] (**) Option "xkb_rules" "evdev"
[   342.326] (**) Option "xkb_model" "pc104"
[   342.326] (**) Option "xkb_layout" "us"
[   342.327] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   342.327] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   342.327] (II) Using input driver 'evdev' for 'Power Button'
[   342.327] (**) Power Button: always reports core events
[   342.327] (**) evdev: Power Button: Device: "/dev/input/event1"
[   342.327] (--) evdev: Power Button: Vendor 0 Product 0x1
[   342.327] (--) evdev: Power Button: Found keys
[   342.327] (II) evdev: Power Button: Configuring as keyboard
[   342.327] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[   342.327] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[   342.327] (**) Option "xkb_rules" "evdev"
[   342.327] (**) Option "xkb_model" "pc104"
[   342.327] (**) Option "xkb_layout" "us"
[   342.328] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   342.328] (II) No input driver specified, ignoring this device.
[   342.328] (II) This device may have been added with another device file.
[   342.328] (II) config/udev: Adding drm device (/dev/dri/card0)
[   342.329] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[   342.329] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   342.329] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[   342.329] (**) AT Translated Set 2 keyboard: always reports core events
[   342.329] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[   342.329] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[   342.329] (--) evdev: AT Translated Set 2 keyboard: Found keys
[   342.329] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[   342.329] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[   342.329] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[   342.329] (**) Option "xkb_rules" "evdev"
[   342.329] (**) Option "xkb_model" "pc104"
[   342.329] (**) Option "xkb_layout" "us"
[   342.330] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event5)
[   342.330] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[   342.330] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[   342.330] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
[   342.330] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Touchpad"
[   342.330] (II) LoadModule: "synaptics"
[   342.331] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[   342.331] (II) Module synaptics: vendor="X.Org Foundation"
[   342.331] 	compiled for 1.15.0, module version = 1.7.4
[   342.331] 	Module class: X.Org XInput Driver
[   342.331] 	ABI class: X.Org XInput driver, version 20.0
[   342.331] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'
[   342.331] (**) ETPS/2 Elantech Touchpad: always reports core events
[   342.331] (**) Option "Device" "/dev/input/event5"
[   342.352] (II) synaptics: ETPS/2 Elantech Touchpad: found clickpad property
[   342.352] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 0 - 3260 (res 31)
[   342.352] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 0 - 2282 (res 31)
[   342.352] (--) synaptics: ETPS/2 Elantech Touchpad: pressure range 0 - 255
[   342.352] (--) synaptics: ETPS/2 Elantech Touchpad: finger width range 0 - 15
[   342.352] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left double triple
[   342.352] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
[   342.352] (**) Option "AreaLeftEdge" "400"
[   342.352] (**) Option "FingerLow" "20"
[   342.352] (**) Option "FingerHigh" "20"
[   342.352] (**) Option "MaxTapTime" "100"
[   342.352] (**) Option "VertEdgeScroll" "on"
[   342.352] (**) Option "HorizEdgeScroll" "on"
[   342.352] (**) Option "HorizTwoFingerScroll" "on"
[   342.352] (**) Option "TapButton1" "1"
[   342.352] (**) Option "PalmDetect" "on"
[   342.352] (**) Option "PalmMinWidth" "5"
[   342.353] (**) Option "PalmMinZ" "1"
[   342.353] (**) Option "SingleTapTimeout" "100"
[   342.353] (**) Option "MaxSpeed" "4"
[   342.353] (**) Option "AccelFactor" "0.05"
[   342.353] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[   342.353] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[   342.353] (**) ETPS/2 Elantech Touchpad: always reports core events
[   342.366] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event5"
[   342.366] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 10)
[   342.366] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[   342.366] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MaxSpeed is now 10.00
[   342.366] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) AccelFactor is now 0.050
[   342.367] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[   342.367] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 1
[   342.367] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[   342.367] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[   342.367] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[   342.368] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[   342.368] (**) ETPS/2 Elantech Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[   351.692] (II) intel(0): resizing framebuffer to 4160x1440
[   351.697] (II) intel(0): switch to mode 1600x900 at 60.1 on pipe 0 using LVDS1, position (0, 0), rotation normal
[   351.721] (II) intel(0): switch to mode 1600x900 at 60.1 on pipe 0 using LVDS1, position (2560, 540), rotation normal
[   351.722] (II) intel(0): switch to mode 2560x1440 at 54.9 on pipe 1 using HDMI1, position (0, 0), rotation normal
[   706.905] (II) intel(0): switch to mode 1600x900 at 60.1 on pipe 0 using LVDS1, position (2560, 540), rotation normal
[   707.049] (II) intel(0): switch to mode 2560x1440 at 54.9 on pipe 1 using HDMI1, position (0, 0), rotation normal
[  2331.062] (II) intel(0): switch to mode 1600x900 at 60.1 on pipe 0 using LVDS1, position (2560, 540), rotation normal
[  2331.207] (II) intel(0): switch to mode 2560x1440 at 54.9 on pipe 1 using HDMI1, position (0, 0), rotation normal
[  2752.682] (EE) 
Fatal server error:
[  2752.682] (EE) WaitForSomething(): select: Invalid argument
[  2752.682] (EE) 
[  2752.682] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2752.682] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2752.682] (EE) 
[  2752.682] (II) AIGLX: Suspending AIGLX clients for VT switch
[  2752.940] (EE) Server terminated with error (1). Closing log file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hipchat.pcap.bz2
Type: application/x-bzip2
Size: 33526 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20141013/9254d342/attachment-0001.bin>


More information about the xorg mailing list