libinput 1.10: gnome-shell/Xorg crashes in tp_tap_handle_state with assertion failure "tp->tap.nfingers_down <= tp->nfingers_down"

Bug #1750664 reported by Lucas de Eiroz Rodrigues
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
libinput
Fix Released
Medium
libinput (Ubuntu)
Fix Released
High
Unassigned

Bug Description

https://errors.ubuntu.com/problem/13c353bac2e4c57f18ad317c692ce4037b230665

Even after clean installation, the system is crashing randomly and logs out, everything not saved is lost. No proprietary drivers, no extensions, nothing installed from outside Ubuntu Store (only Chrome), no applications messing with GNOME or UBUNTU itself.

Ubuntu Bionic Beaver 18.04
Samsung ATIV Book 2
Intel Core i5
Intel HD Graphics
Nvidia GeForce 710M 2GB
8GB RAM
Windows 10 dual boot

ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: xserver-xorg-core 2:1.19.6-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
AssertionMessage: Xorg: ../src/evdev-mt-touchpad-tap.c:1073: tp_tap_handle_state: Assertion `tp->tap.nfingers_down <= tp->nfingers_down' failed.
BootLog: Error: [Errno 13] Permissão negada: '/var/log/boot.log'
CompositorRunning: None
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 20 17:59:21 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
ExecutablePath: /usr/lib/xorg/Xorg
ExtraDebuggingInterest: I just need to know a workaround
GraphicsCard:
 Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])
   Subsystem: Samsung Electronics Co Ltd Haswell-ULT Integrated Graphics Controller [144d:c737]
   Subsystem: Samsung Electronics Co Ltd GeForce 710M [144d:c737]
InstallationDate: Installed on 2018-02-20 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180218)
Lsusb:
 Bus 001 Device 005: ID 0c45:64e0 Microdia
 Bus 001 Device 006: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
 Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
 Bus 001 Device 002: ID 8087:8000 Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: SAMSUNG ELECTRONICS CO., LTD. 270E5J/2570EJ
ProcCmdline: /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-10-generic.efi.signed root=UUID=d3cd2b8b-c168-41e6-8d3f-d71b862ee782 ro quiet splash vt.handoff=1
Signal: 6
SourcePackage: xorg-server
StacktraceTop:
 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
 __GI_abort () at abort.c:90
 __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7f84a379e210 "tp->tap.nfingers_down <= tp->nfingers_down", file=file@entry=0x7f84a379e178 "../src/evdev-mt-touchpad-tap.c", line=line@entry=1073, function=function@entry=0x7f84a379e470 "tp_tap_handle_state") at assert.c:92
 __GI___assert_fail (assertion=0x7f84a379e210 "tp->tap.nfingers_down <= tp->nfingers_down", file=0x7f84a379e178 "../src/evdev-mt-touchpad-tap.c", line=1073, function=0x7f84a379e470 "tp_tap_handle_state") at assert.c:101
 ?? () from /usr/lib/x86_64-linux-gnu/libinput.so.10
Title: Xorg assert failure: Xorg: ../src/evdev-mt-touchpad-tap.c:1073: tp_tap_handle_state: Assertion `tp->tap.nfingers_down <= tp->nfingers_down' failed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 06/23/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P07RCK.051.150623.XK
dmi.board.asset.tag: No Asset Tag
dmi.board.name: NP270E5J-XD1BR
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: SAMSUNG_SW_REVISION_1234567890ABCD
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP07RCK.051.150623.XK:bd06/23/2015:svnSAMSUNGELECTRONICSCO.,LTD.:pn270E5J/2570EJ:pvrP07RCK:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP270E5J-XD1BR:rvrSAMSUNG_SW_REVISION_1234567890ABCD:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvrN/A:
dmi.product.family: SAMSUNG SENS
dmi.product.name: 270E5J/2570EJ
dmi.product.version: P07RCK
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.90-1
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.0~rc4-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.0~rc4-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

Revision history for this message
Lucas de Eiroz Rodrigues (lucas-de-eiroz) wrote :
description: updated
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
 __GI_abort () at abort.c:90
 __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7f84a379e210 "tp->tap.nfingers_down <= tp->nfingers_down", file=file@entry=0x7f84a379e178 "../src/evdev-mt-touchpad-tap.c", line=line@entry=1073, function=function@entry=0x7f84a379e470 <__PRETTY_FUNCTION__.10084> "tp_tap_handle_state") at assert.c:92
 __GI___assert_fail (assertion=assertion@entry=0x7f84a379e210 "tp->tap.nfingers_down <= tp->nfingers_down", file=file@entry=0x7f84a379e178 "../src/evdev-mt-touchpad-tap.c", line=line@entry=1073, function=function@entry=0x7f84a379e470 <__PRETTY_FUNCTION__.10084> "tp_tap_handle_state") at assert.c:101
 tp_tap_handle_state (tp=tp@entry=0x5615f43175c0, time=time@entry=988385798) at ../src/evdev-mt-touchpad-tap.c:1073

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in xorg-server (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: GNOME on Ubuntu 18.04 is logging out randomly after update

Thank you for your bug report, that's a libinput upstream which has also been reported upstream, there is a patch up for testing/review on https://lists.freedesktop.org/archives/wayland-devel/2018-February/037129.html

information type: Private → Public
affects: xorg-server (Ubuntu) → libinput (Ubuntu)
Changed in libinput (Ubuntu):
importance: Medium → High
status: New → Triaged
summary: - GNOME on Ubuntu 18.04 is logging out randomly after update
+ libinput 1.10: gnome-shell crashes in tp_tap_handle_state with assertion
+ failure "tp->tap.nfingers_down <= tp->nfingers_down"
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: libinput 1.10: gnome-shell crashes in tp_tap_handle_state with assertion failure "tp->tap.nfingers_down <= tp->nfingers_down"

the fix has been commited upstream

Changed in libinput (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I thought that the status for the Ubuntu task should remain Confirmed... Only "Fix Committed" after the fix has reached bionic-proposed, which it has not.

Changed in libinput (Ubuntu):
status: Fix Committed → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Judging by past releases, there should be an upstream version 1.10.1 probably in the near future.

I'm not sure if we need to patch this earlier than that...

Changed in libinput:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Lucas de Eiroz Rodrigues (lucas-de-eiroz) wrote :

@vanvugt Peter, the libinput dev said: "As a general rule, I'm not releasing for every single patchfix, even if it is a crasher on some devices. Canonical should apply the patch for their packages, but the patch will eventually land in 1.10.1 when I get to it." So, yeah, there's that.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes, that's what I meant.

summary: - libinput 1.10: gnome-shell crashes in tp_tap_handle_state with assertion
- failure "tp->tap.nfingers_down <= tp->nfingers_down"
+ libinput 1.10: gnome-shell/Xorg crashes in tp_tap_handle_state with
+ assertion failure "tp->tap.nfingers_down <= tp->nfingers_down"
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libinput - 1.10.1-1

---------------
libinput (1.10.1-1) unstable; urgency=medium

  * New upstream release.
    - fix crashers (Closes: #891579) (LP: #1750664)

 -- Timo Aaltonen <email address hidden> Wed, 28 Feb 2018 18:20:21 +0200

Changed in libinput (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.