Summary: | Xorg assertion failure: Xorg: ../src/evdev-mt-touchpad-tap.c:1002: tp_tap_handle_state: Assertion `tp->tap.nfingers_down > 0' failed. | ||
---|---|---|---|
Product: | Wayland | Reporter: | Daniel van Vugt <daniel.van.vugt> |
Component: | libinput | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | andreas, peter.hutterer, sven.pilz+freedesktop |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
See Also: | https://launchpad.net/bugs/1751086 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Daniel van Vugt
2018-03-09 01:57:50 UTC
This is happening in libinput 1.10.1 and 1.10.0 so far. I'll need an evemu recording for this, it's likely some tap state/palm detection confusion again. And a verification that it's happening on git master (or at least 1.10.2), thanks. I'm not someone experiencing the crash myself. But we can easily wait to see what happens in Ubuntu 18.04 once libinput 1.10.2 arrives there. That said, an almost-amusing way to reproduce the crash is described here: https://launchpad.net/bugs/1754487 If you can't reproduce it yourself, please don't upstream bugs until you've verified it happens with vanilla upstream. For all we know this is a side-effect of the other two bugs and has already been fixed. I'm not too concerned. The bugs are all linked and with enough detail to judge if and when this can be closed post-1.10.2 without further work. Fingers crossed. I get a similar assertion on 1.10.2, while 1.10.1 works fine for me. System is a ThinkPad T420 without any external input devices. > gnome-shell: ../libinput-1.10.2/src/evdev-mt-touchpad-tap.c:1028: > tp_tap_handle_state: Assertion `tp->tap.nfingers_down >= 1' failed. And also this message by gnome-shell: > libinput error: client bug: timer event13 middlebutton: offset negative (-222ms) *** This bug has been marked as a duplicate of bug 105258 *** I'm not sure this is a duplicate. It's a very different assertion. Maybe ignore comment 6 since it's not about this exact bug. Can you still reproduce it with the fix in place? Let's assume it's not reproducible right now. The latest downstream crash report was from 1.10.1-1 We have no further information after that so maybe leave this open awaiting more info and we can close it later if there is none. No, let's keep it closed so I don't have to spend any time on checking this bug repeatedly. It's easy enough to reopen once confirmed it still exists. I can reproduce this reliably on a thinkpad X1 5th gen by swiping my palm from left to right over the touchpad. I get this backtrace: Mar 20 11:08:19 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (II) Axis 0x35 value 0 is outside expected range [1045, 5896] Mar 20 11:08:19 nsnx /usr/lib/gdm3/gdm-x-session[16817]: See https://wayland.freedesktop.org/libinput/doc/1.10.1//absolute_coordinate_ranges.html for details Mar 20 11:08:19 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) event5 - SynPS/2 Synaptics TouchPad: libinput bug: invalid tap event TAP_EVENT_PALM in state TAP_STATE_TAPPED Mar 20 11:08:19 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) event5 - SynPS/2 Synaptics TouchPad: libinput bug: invalid tap event TAP_EVENT_PALM in state TAP_STATE_TAPPED Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: Xorg: ../src/evdev-mt-touchpad-tap.c:1002: tp_tap_handle_state: Assertion `tp->tap.nfingers_down > 0' failed. Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Backtrace: Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4d) [0x565247c457fd] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 1: /usr/lib/xorg/Xorg (0x565247a8d000+0x1bc599) [0x565247c49599] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f28775c1000+0x12890) [0x7f28775d3890] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0xc7) [0x7f287720ee97] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0x141) [0x7f2877210801] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (0x7f28771d0000+0x3039a) [0x7f287720039a] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (0x7f28771d0000+0x30412) [0x7f2877200412] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 7: /usr/lib/x86_64-linux-gnu/libinput.so.10 (0x7f28741aa000+0x1da40) [0x7f28741c7a40] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 8: /usr/lib/x86_64-linux-gnu/libinput.so.10 (0x7f28741aa000+0x18e17) [0x7f28741c2e17] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 9: /usr/lib/x86_64-linux-gnu/libinput.so.10 (0x7f28741aa000+0x1ad90) [0x7f28741c4d90] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 10: /usr/lib/x86_64-linux-gnu/libinput.so.10 (0x7f28741aa000+0xf5e1) [0x7f28741b95e1] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 11: /usr/lib/x86_64-linux-gnu/libinput.so.10 (libinput_dispatch+0x5f) [0x7f28741b560f] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 12: /usr/lib/xorg/modules/input/libinput_drv.so (0x7f28743fa000+0x8988) [0x7f2874402988] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 13: /usr/lib/xorg/Xorg (0x565247a8d000+0x1ba973) [0x565247c47973] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 14: /usr/lib/xorg/Xorg (0x565247a8d000+0x1bd071) [0x565247c4a071] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 15: /usr/lib/xorg/Xorg (0x565247a8d000+0x1ba7be) [0x565247c477be] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 16: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f28775c1000+0x76db) [0x7f28775c86db] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) 17: /lib/x86_64-linux-gnu/libc.so.6 (clone+0x3f) [0x7f28772f188f] Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: Fatal server error: Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Caught signal 6 (Aborted). Server aborting Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: Please consult the The X.Org Foundation support Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: #011 at http://wiki.x.org Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: for help. Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Please also check the log file at "/home/andreas/.local/share/xorg/Xorg.0.log" for additional information. Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Mar 20 11:08:29 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (II) AIGLX: Suspending AIGLX clients for VT switch Mar 20 11:08:30 nsnx /usr/lib/gdm3/gdm-x-session[16817]: (EE) Server terminated with error (1). Closing log file. I'm using ubuntu bionic with xorg 1:7.7+19ubuntu5 https://youtu.be/vZeUXZS_qyY shows the crash happening what version of libinput is this with? 1.10.3 or later? If you can reproduce it, please record an event sequence with evemu-record and attach it here, thanks. It would have been 1.10.1 that Andreas had. Ubuntu only updated to 1.10.3 less than an hour ago. Closing as fixed then, please re-open if it's still an issue. Confirming that the crash stopped after I upgraded to libinput 1.10.3-2 |
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.