Xorg crash when using mouse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Sometimes when moving mouse Xorg crashes.
I have a Logitech mouse with free spinning scroll wheel (MX Master). 100% sure way to reproduce the problem is put the wheel is free spin mode and scroll as fast as possible for a few seconds.
Also the crash happens randomly every couple of days during normal use when moving mouse normally.
I have tried both Nouveau and Nvidia proprietary GPU drivers. Same behavior on both.
Description: Ubuntu 18.04 LTS
Release: 18.04
xserver-xorg-core:
Installed: 2:1.19.6-1ubuntu4
Candidate: 2:1.19.6-1ubuntu4
Version table:
*** 2:1.19.6-1ubuntu4 500
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7
ProcVersionSign
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
Date: Fri Jun 22 16:09:44 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GF119 [GeForce GT 610] [10de:104a] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. GF119 [GeForce GT 610] [1043:8496]
InstallationDate: Installed on 2018-06-05 (16 days ago)
InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: Intel Corporation S2600CW
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
Title: Xorg crash
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/13/2018
dmi.bios.vendor: Intel Corporation
dmi.bios.version: SE5C610.
dmi.board.
dmi.board.name: S2600CW
dmi.board.vendor: Intel Corporation
dmi.board.version: H12881-251
dmi.chassis.
dmi.chassis.type: 17
dmi.chassis.vendor: .......
dmi.chassis.
dmi.modalias: dmi:bvnIntelCor
dmi.product.family: Family
dmi.product.name: S2600CW
dmi.product.
dmi.sys.vendor: Intel Corporation
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.
version.
version.
version.
version.
version.
version.
Seems that sometimes pScreen pointer in miPointerSetPos ition() is null.
In the attached crash report, the crash is happening here:
current_x = MIPOINTER(pDev)->x - pScreen->x;
#0 0x000056353930d2af in miPointerSetPos ition (pDev=pDev@ entry=0x56353a9 d0960, mode=mode@entry=0, screenx= screenx@ entry=0x7f4a11c d25c0, screeny= screeny@ entry=0x7f4a11c d25c8, nevents= nevents@ entry=0x7f4a11c d25bc, events@ entry=0x7f4a201 45050) at ../../. ./../mi/ mipointer. c:629
events=
(gdb) x pScreen
0x56353a660470: 0x00000000
But I have seen it also happening a few lines earlier here: on_screen( pScreen, x, y);
switch_screen = !point_
I don't know how it is possible to get the crash on line 629.
The pScreen pointer is accessed before that, and I would expect the crash already there.
And I have absolutely no idea why I'm seeing that null pointer anyway.