Xorg crashes sometimes with Easystrokes

Bug #1898713 reported by DarkTrick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
New
Undecided
Unassigned

Bug Description

Xorg crashes, session closes, all unsaved data is gone.

What I did / Reproducing
===========================

It happens when I use Easystrokes to emulate `Ctrl+F4` or `Ctrl+PageUp/Down`.

So far it happened about 5 recognized times, 3 recorded within the last 3(?) month. twice during tab switching in incognito Firefox and once in VSCode.

Reproducability
================
I feel it's very consistent in crashing in Firefox incognito. But it's not purposely reproducible 100%.

I would give more information, but the stacktrace of the crashdump does not tell much. I installed debug symbols for xorg, but they made no change viewing it.

Here is the (obscured) stack trace:

```
Reading symbols from /usr/lib/xorg/Xorg...
Reading symbols from /usr/lib/debug/.build-id/c1/54f39135c0adc1b59f5b6dd49a73301b4311c8.debug...
[New LWP 100716]
[New LWP 100705]
[New LWP 100704]
[New LWP 100707]
[New LWP 100709]
[New LWP 100708]
[New LWP 100706]
[New LWP 100711]
[New LWP 100710]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--
Core was generated by `/usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -noliste'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000055a0da61fe9c in miPointerSetPosition (
    pDev=pDev@entry=0x55a0dc969400, mode=mode@entry=0,
    screenx=screenx@entry=0x7f707b57d570,
    screeny=screeny@entry=0x7f707b57d578,
    nevents=nevents@entry=0x7f707b57d56c, events=events@entry=0x7f708d903c20)
    at ../../../../mi/mipointer.c:610
610 ../../../../mi/mipointer.c: No such file or directory.
[Current thread is 1 (Thread 0x7f707b57f700 (LWP 100716))]
(gdb)
(gdb)
(gdb) bt full
#0 0x000055a0da61fe9c in miPointerSetPosition
    (pDev=pDev@entry=0x55a0dc969400, mode=mode@entry=0, screenx=screenx@entry=0x7f707b57d570, screeny=screeny@entry=0x7f707b57d578, nevents=nevents@entry=0x7f707b57d56c, events=events@entry=0x7f708d903c20) at ../../../../mi/mipointer.c:610
        pScreenPriv = <optimized out>
        pScreen = <optimized out>
        newScreen = 0x254
        x = 802
        y = 596
        switch_screen = 0
        should_constrain_barriers = 0
        i = <optimized out>
        pPointer = 0x0
#1 0x000055a0da4ec840 in positionSprite
    (dev=dev@entry=0x55a0dc969400, mode=mode@entry=0, mask=mask@entry=0x7f707b57d5c0, devx=devx@entry=0x7f707b57d580, devy=devy@entry=0x7f707b57d588, screenx=screenx@entry=0x7f707b57d570, screeny=0x7f707b57d578, nevents=0x7f707b57d56c, events=0x7f708d903c20) at ../../../../dix/getevents.c:961
        scr = <optimized out>
        tmpx = 801.02961125081322
        tmpy = 595.47038874918678
#2 0x000055a0da4ecf4d in positionSprite
    (events=0x7f708d903c20, nevents=0x7f707b57d56c, screeny=0x7f707b57d578, scre--Type <RET> for more, q to quit, c to continue without paging--
enx=0x7f707b57d570, devy=0x7f707b57d588, devx=0x7f707b57d580, mask=0x7f707b57d5c0, mode=0, dev=0x55a0dc969400) at ../../../../dix/getevents.c:952
        scr = 0x0
        num_events = 2
        event = <optimized out>
        raw = 0x7f708d903010
        screenx = 801.02961125081322
        screeny = 595.47038874918678
        devx = 801.02961125081322
        devy = 595.47038874918678
        sx = 0
        sy = 0
        mask =
            {last_bit = 1 '\001', has_unaccelerated = 0 '\000', mask = "\003\000\000\000", valuators = {801.02961125081322, 595.47038874918678, 0 <repeats 34 times>}, unaccelerated = {0 <repeats 36 times>}}
        scr = <optimized out>
        num_barrier_events = 0
#3 fill_pointer_events (events=0x7f708d903c20,
    events@entry=0x7f708d903010, pDev=pDev@entry=0x55a0dc969400, type=<optimized out>, buttons=buttons@entry=0, ms=ms@entry=289728198, flags=flags@entry=10, mask_in=0x7f707b57d8d0) at ../../../../dix/getevents.c:1434
        num_events = 2
--Type <RET> for more, q to quit, c to continue without paging--
        event = <optimized out>
        raw = 0x7f708d903010
        screenx = 801.02961125081322
        screeny = 595.47038874918678
        devx = 801.02961125081322
        devy = 595.47038874918678
        sx = 0
        sy = 0
        mask =
            {last_bit = 1 '\001', has_unaccelerated = 0 '\000', mask = "\003\000\000\000", valuators = {801.02961125081322, 595.47038874918678, 0 <repeats 34 times>}, unaccelerated = {0 <repeats 36 times>}}
        scr = <optimized out>
        num_barrier_events = 0
#4 0x000055a0da4ee620 in GetPointerEvents
    (events=0x7f708d903010, pDev=pDev@entry=0x55a0dc969400, type=<optimized out>, type@entry=6, buttons=buttons@entry=0, flags=10, mask_in=<optimized out>)
    at ../../../../dix/getevents.c:1691
        ms = 289728198
        num_events = 0
        nev_tmp = <optimized out>
        mask =
            {last_bit = 1 '\001', has_unaccelerated = 1 '\001', mask = "\003\000--Type <RET> for more, q to quit, c to continue without paging--
\000\000", valuators = {-1, -1.5, 0 <repeats 34 times>}, unaccelerated = {-2, -3, 0 <repeats 34 times>}}
        scroll =
            {last_bit = -128 '\200', has_unaccelerated = 4 '\004', mask = "eݠU", valuators = {6.9229118033614265e-310, 6.9229013081954128e-310, 6.9229118037539122e-310, 4.6515982887994555e-310, 1.4314474937149093e-312, 6.9229013081954128e-310, 1.0223975030841499e-314, 6.9229013084009441e-310, 6.9229018347610921e-310, 0, -2, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1.5, 0, 7.0753833001150517e+231, 0, 4.6515982887994555e-310, 6.9229013081985748e-310, 1.4314474937149093e-312, 6.9229013081954128e-310, 6.9229013084009441e-310, 4.651598497285672e-310, 6.9229018331270194e-310, 0, 4.6515975603949165e-310, 1.4314465143829268e-318}, unaccelerated = {9.7933198253006049e-319, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.0753833001150517e+231, 0, 6.9229013082035155e-310, 6.9229013082041084e-310, 4.6515975603949165e-310, 4.6515974558340253e-310, 6.9229013082041084e-310, 6.9229013082041084e-310, 6.9229018322623057e-310, -2.757966908489161e+144, 1.0829918956840124e-319, 0, 0, 0, 0, 0, 4.6515976203673714e-310, 0, 4.651595723632954e-310, 0, 4.651595723632954e-310, 4.6515976203673714e-310, 7.0753833001150517e+231, 4.6515976203673714e-310, 4.651597341764149e-310, 4.6515976203673714e-310}}
        i = <optimized out>
        realtype = 6
        __func__ = "GetPointerEvents"
#5 0x000055a0da4eec24 in QueuePointerEvents
    (device=0x55a0dc969400, type=type@entry=6, buttons=buttons@entry=0, flags=<o--Type <RET> for more, q to quit, c to continue without paging--
ptimized out>, mask=<optimized out>) at ../../../../dix/getevents.c:1290
        nevents = <optimized out>
#6 0x000055a0da521f37 in xf86PostMotionEventM
    (mask=<optimized out>, is_absolute=21920, device=<optimized out>)
    at ../../../../../../hw/xfree86/common/xf86Xinput.c:1281
        flags = <optimized out>
#7 xf86PostMotionEventM
    (device=<optimized out>, is_absolute=21920, mask=<optimized out>)
    at ../../../../../../hw/xfree86/common/xf86Xinput.c:1266
#8 0xc008000000000000 in ()
#9 0xc000000000000000 in ()
#10 0xbff8000000000000 in ()
#11 0xbff0000000000000 in ()
#12 0x000055a0de3fa370 in ()
#13 0x0000000100000002 in ()
#14 0x000055a0de4b3950 in ()
#15 0x000000007c88dd00 in ()
#16 0x000055a0de4b3950 in ()
#17 0x000055a0dc840e60 in ()
#18 0x000055a0dd938400 in ()
#19 0x70123abc7c88dd00 in ()
#20 0x000055a0dc63c370 in ()
#21 0x000055a0dc840e60 in ()

```

lsb_release -rd
=================
Description: Ubuntu 20.04.1 LTS
Release: 20.04

apt-cache policy pkgname
=============================
xorg:
  Installed: 1:7.7+19ubuntu14
  Candidate: 1:7.7+19ubuntu14
  Version table:
 *** 1:7.7+19ubuntu14 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: XFCE
Date: Tue Oct 6 20:22:54 2020
DistUpgraded: 2020-07-24 16:16:53,621 ERROR got error from PostInstallScript ./xorg_fix_proprietary.py (g-exec-error-quark: Failed to execute child process “./xorg_fix_proprietary.py” (No such file or directory) (8))
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 6.1.10, 5.4.0-48-generic, x86_64: installed
 virtualbox, 6.1.10, 5.4.0-49-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Fujitsu Limited. UHD Graphics 620 [10cf:1959]
MachineType: FUJITSU FMVWB3U27
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=fe637d00-125b-4a54-adce-3711830d450b ro acpi_osi=! "acpi_osi=Windows 2015" pci=nomsi acpi_osi=Linuxs resume=UUID=8fa6d40f-c23d-497e-9846-f6f26536690d
SourcePackage: xorg
UpgradeStatus: Upgraded to focal on 2020-07-24 (74 days ago)
dmi.bios.date: 01/23/2018
dmi.bios.vendor: FUJITSU // Insyde Software Corp.
dmi.bios.version: Version 1.07
dmi.board.name: FJNB2BB
dmi.board.vendor: FUJITSU
dmi.board.version: A2
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU
dmi.modalias: dmi:bvnFUJITSU//InsydeSoftwareCorp.:bvrVersion1.07:bd01/23/2018:svnFUJITSU:pnFMVWB3U27:pvr:rvnFUJITSU:rnFJNB2BB:rvrA2:cvnFUJITSU:ct10:cvr:
dmi.product.family: LIFEBOOK-JR
dmi.product.name: FMVWB3U27
dmi.sys.vendor: FUJITSU
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 20.0.8-0ubuntu1~20.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.6-1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
DarkTrick (darktrick1337) wrote :
Revision history for this message
DarkTrick (darktrick1337) wrote :
Revision history for this message
DarkTrick (darktrick1337) wrote :
Revision history for this message
DarkTrick (darktrick1337) wrote :
affects: xorg (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This appears to be a duplicate of bug 1733292 so please use that one from now on.

Separately, I notice you seem to be using the *old* 'intel' graphics driver (according to XorgLog.txt). If you can find the Xorg config file (maybe in /usr/share/X11/xorg.conf.d) that is loading the 'intel' graphics driver then I recommend removing that. The latest driver is called 'modesetting' which should be used instead of 'intel'. And it will be used automatically if you remove the config file that was loading 'intel'.

Revision history for this message
DarkTrick (darktrick1337) wrote :

> Separately, I notice you seem to be using the *old* 'intel' graphics driver

Maybe that explains crashes with VLC since upgrade to 20.04, I recently reported.
Shouldn't the system change it at some point? E.g. during the upgrade process? Is that actually another bug report?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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