Bug 105439 - libinput 1.10.2: sporadic XOrg crashes (event13 - SynPS/2 Synaptics TouchPad: libinput bug: unexpected scroll event 2 in none state)
Summary: libinput 1.10.2: sporadic XOrg crashes (event13 - SynPS/2 Synaptics TouchPad:...
Status: RESOLVED DUPLICATE of bug 105258
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-11 17:56 UTC by Serge Koksharov
Modified: 2018-03-12 01:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
evemu recording (2.02 MB, text/plain)
2018-03-11 17:56 UTC, Serge Koksharov
Details

Description Serge Koksharov 2018-03-11 17:56:41 UTC
Created attachment 137990 [details]
evemu recording

Since updating libinput to 1.10.2 I started experiencing sporadic XOrg crashes related to libinput according to logs. Previous libinput version was rock solid on my hardware. Crash happens every 30-60 minutes or so. I don't know exact steps to reliably reproduce this bug.

OS: Arch Linux
Hardware: Lenovo IdeaPad S205
Packages:
 libinput 1.10.2-1
 xf86-input-libinput 0.26.0-1
 xorg-server 1.19.6+13+gd0d1a694f-1
 linux (kernel) 4.15.7-1

Xorg.log lines related to the crash:

[ 20213.295] (II) Axis 0x1 value 825 is outside expected range [1231, 5110]
See https://wayland.freedesktop.org/libinput/doc/1.10.2//absolute_coordinate_ranges.html for details
[ 20235.332] (EE) event13 - SynPS/2 Synaptics TouchPad: libinput bug: unexpected scroll event 2 in none state
[ 20235.345] (EE) 
[ 20235.345] (EE) Backtrace:
[ 20235.346] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x55e8e602ee99]
[ 20235.348] (EE) 1: /usr/lib/libpthread.so.0 (funlockfile+0x50) [0x7f6572e72e1f]
[ 20235.350] (EE) 2: /usr/lib/libc.so.6 (gsignal+0x110) [0x7f6572ade860]
[ 20235.354] (EE) 3: /usr/lib/libc.so.6 (abort+0x1c9) [0x7f6572adfec9]
[ 20235.357] (EE) 4: /usr/lib/libc.so.6 (__assert_fail_base+0x14c) [0x7f6572ad70bc]
[ 20235.363] (EE) 5: /usr/lib/libc.so.6 (__assert_fail+0x43) [0x7f6572ad7133]
[ 20235.363] (EE) 6: /usr/lib/libinput.so.10 (libinput_event_get_pointer_event+0xf41d) [0x7f656573f87d]
[ 20235.364] (EE) 7: /usr/lib/libinput.so.10 (libinput_event_get_pointer_event+0xff08) [0x7f65657446c8]
[ 20235.364] (EE) 8: /usr/lib/libinput.so.10 (libinput_ref+0x448) [0x7f6565720228]
[ 20235.366] (EE) 9: /usr/lib/libinput.so.10 (libinput_dispatch+0x5f) [0x7f656571fabf]
[ 20235.367] (EE) 10: /usr/lib/xorg/modules/input/libinput_drv.so (_init+0x29b9) [0x7f65659565b9]
[ 20235.369] (EE) 11: /usr/lib/xorg-server/Xorg (input_unlock+0x293) [0x55e8e602d3d3]
[ 20235.369] (EE) 12: /usr/lib/xorg-server/Xorg (OsCleanup+0x621) [0x55e8e602fe01]
[ 20235.371] (EE) 13: /usr/lib/xorg-server/Xorg (input_unlock+0xde) [0x55e8e602cfce]
[ 20235.374] (EE) 14: /usr/lib/libpthread.so.0 (start_thread+0xdc) [0x7f6572e6808c]
[ 20235.377] (EE) 15: /usr/lib/libc.so.6 (clone+0x3f) [0x7f6572b9feb8]
[ 20235.377] (EE) 
[ 20235.379] (EE) 
Fatal server error:
[ 20235.379] (EE) Caught signal 6 (Aborted). Server aborting
[ 20235.379] (EE) 
[ 20235.379] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 20235.379] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 20235.379] (EE) 
[ 20235.379] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 20235.381] XXX fail to create fbo.


Current libinput settings:

gentoosiast@azazel [~] » xinput list-props "SynPS/2 Synaptics TouchPad"
Device 'SynPS/2 Synaptics TouchPad':
        Device Enabled (143):   1
        Coordinate Transformation Matrix (145): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (280): 1
        libinput Tapping Enabled Default (281): 0
        libinput Tapping Drag Enabled (282):    1
        libinput Tapping Drag Enabled Default (283):    1
        libinput Tapping Drag Lock Enabled (284):       0
        libinput Tapping Drag Lock Enabled Default (285):       0
        libinput Tapping Button Mapping Enabled (286):  0, 1
        libinput Tapping Button Mapping Default (287):  1, 0
        libinput Natural Scrolling Enabled (288):       0
        libinput Natural Scrolling Enabled Default (289):       0
        libinput Left Handed Enabled (290):     0
        libinput Left Handed Enabled Default (291):     0
        libinput Accel Speed (292):     0.000000
        libinput Accel Speed Default (293):     0.000000
        libinput Scroll Methods Available (294):        1, 1, 0
        libinput Scroll Method Enabled (295):   0, 1, 0
        libinput Scroll Method Enabled Default (296):   1, 1, 0
        libinput Send Events Modes Available (265):     1, 1
        libinput Send Events Mode Enabled (266):        0, 0
        libinput Send Events Mode Enabled Default (267):        0, 0
        libinput Disable While Typing Enabled (297):    1
        libinput Disable While Typing Enabled Default (298):    1
        Device Node (268):      "/dev/input/event13"
        Device Product ID (269):        2, 7
        libinput Drag Lock Buttons (299):       <no items>
        libinput Horizontal Scroll Enabled (300):       1


udev information for the device:

gentoosiast@azazel [~] » udevadm info /sys/class/input/event13
P: /devices/platform/i8042/serio1/input/input14/event13
N: input/event13
S: input/by-path/platform-i8042-serio-1-event-mouse
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-event-mouse
E: DEVNAME=/dev/input/event13
E: DEVPATH=/devices/platform/i8042/serio1/input/input14/event13
E: ID_BUS=i8042
E: ID_INPUT=1
E: ID_INPUT_HEIGHT_MM=28
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_TOUCHPAD_INTEGRATION=internal
E: ID_INPUT_WIDTH_MM=54
E: ID_PATH=platform-i8042-serio-1
E: ID_PATH_TAG=platform-i8042-serio-1
E: ID_SERIAL=noserial
E: LIBINPUT_DEVICE_GROUP=11/2/7:isa0060/serio1
E: LIBINPUT_MODEL_JUMPING_SEMI_MT=1
E: LIBINPUT_MODEL_SYNAPTICS_SERIAL_TOUCHPAD=1
E: MAJOR=13
E: MINOR=77
E: SUBSYSTEM=input
E: USEC_INITIALIZED=6183302
Comment 1 Peter Hutterer 2018-03-12 01:49:24 UTC
Sorry, that attachment is over an hour's worth of events. And unlike other event analysis, libinput events have to be replayed in realtime. I'd really need a shorter recording to debug this. Mind you, I'm pretty sure this is the same cause as bug 105258, so let's mark it as that, please de-duplicate if it's a different issue.

*** This bug has been marked as a duplicate of bug 105258 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.