Bug 108104

Summary: Atmel maXTouch Touchpad: kernel bug: Touch jump detected and discarded.
Product: Wayland Reporter: Christian Bundy <christianbundy>
Component: XWaylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: scroll.evemu file that triggers journalctl errors
Evemu recording which cases xWayland to crash due to an apparent libinput issue.

Description Christian Bundy 2018-09-30 18:35:49 UTC
Created attachment 141809 [details]
scroll.evemu file that triggers journalctl errors

I'm trying to resolve a desktop crash that seems to be triggered by scrolling with my touchpad. Usually the touchpad scrolls fine, but once every few hours it'll crash my desktop environment (GNOME Shell) and return me to my login  (GDM).

I found a core dump from GNOME Shell and opened an issue with more info: https://gitlab.gnome.org/GNOME/mutter/issues/327

But it looks like I'm also seeing libinput errors and bug report request, so I'm opening it here. Here are my local versions of everything related to libinput and Wayland:

```
local/libinput 1.12.0-2
    Input device management and event handling library
local/xf86-input-libinput 0.28.0-1 (xorg-drivers)
    Generic input driver for the X.Org server based on libinput
local/egl-wayland 1.1.0-1
    EGLStream-based Wayland external platform
local/libva 2.2.0-2
    Video Acceleration (VA) API for Linux
local/wayland 1.16.0-1
    A computer display server protocol
local/wayland-protocols 1.16-1
    Specifications of extended Wayland protocols
local/wlc 0.0.11-1
    Wayland Compositor Library
local/xorg-server-xwayland 1.20.1-1 (xorg)
    run X clients under wayland
```

This crash is happening under both X.Org and Wayland. I've attached an .evemu file as requested, please let me know if there's anything else I can do to help. Thanks!
Comment 1 richjoerger 2018-10-01 18:17:59 UTC
Created attachment 141826 [details]
Evemu recording which cases xWayland to crash due to an apparent libinput issue.
Comment 2 richjoerger 2018-10-01 18:24:44 UTC
I've also included an evemu recording which causes my machine to crash with the same error reported in my Xorg log file. I tried running Christian's file but it does not cause a crash on my machine.

Sysinfo:
Linux pigzal 4.14.71-1-MANJARO #1 SMP PREEMPT Thu Sep 20 05:29:20 UTC 2018 x86_64 GNU/Linux

Installed packages:
libinput 1.12.0-1.1
xf86-input-libinput 0.28.0-1
libva 2.2.0-2
wayland 1.16.0-1
wayland-protocols 1.16-1
xorg-server 1.20.1-1

I can also provide further information upon request.
Comment 3 Christian Bundy 2018-10-01 19:01:29 UTC
(In reply to richjoerger from comment #2)
> I've also included an evemu recording which causes my machine to crash with
> the same error reported in my Xorg log file. I tried running Christian's
> file but it does not cause a crash on my machine.

Sorry, I should've been more clear -- my file only triggers the errors (warnings?) in `journalctl` but it doesn't cause a crash. Just tried your file and I can verify that it worked perfectly: my desktop environment crashed and I was returned to my login prompt. Thanks so much for including that file!

Is there a trick to triggering this bug, or did you just get lucky? Your recording is so small, I was afraid I'd be recording for hours before I'd be able to trigger a crash.
Comment 4 richjoerger 2018-10-02 01:39:30 UTC
(In reply to Christian Bundy from comment #3)
> (In reply to richjoerger from comment #2)
> > I've also included an evemu recording which causes my machine to crash with
> > the same error reported in my Xorg log file. I tried running Christian's
> > file but it does not cause a crash on my machine.
> 
> Sorry, I should've been more clear -- my file only triggers the errors
> (warnings?) in `journalctl` but it doesn't cause a crash. Just tried your
> file and I can verify that it worked perfectly: my desktop environment
> crashed and I was returned to my login prompt. Thanks so much for including
> that file!
> 
> Is there a trick to triggering this bug, or did you just get lucky? Your
> recording is so small, I was afraid I'd be recording for hours before I'd be
> able to trigger a crash.

If I recall correctly, the way I caused my crash was by two finger scrolling quickly with my two fingers nearly vertical. It was initially a several minute long recording in which I scrolled through web pages with my fingers in that arrangement. Rather than subjecting anyone to that long of a file I just trimmed down most of the instructions since they seem to not be important when recreating the bug.
Comment 5 GitLab Migration User 2019-05-10 15:54:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/730.

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.