The NULL device bubbles up from
xserver-xorg-input-
libinput-0.18.0/src/xf86libinput.c::xf86libinput_pre_init()
where it does
is_subdevice = xf86libinput_is_subdevice(pInfo);
if (!is_subdevice) {
...
} else {
InputInfoPtr parent;
struct xf86libinput *parent_driver_data;
parent = xf86libinput_get_parent(pInfo);
if (!parent) {
xf86IDrvMsg(pInfo, X_ERROR, "Failed to find parent device\n");
goto fail;
}
xf86IDrvMsg(pInfo, X_INFO, "is a virtual subdevice\n");
parent_driver_data = parent->private;
shared_device =
xf86libinput_shared_ref(parent_driver_data->shared_device);
device = shared_device->device;
}
At this point the parent device's private->shared_device->device node
should provide a non-NULL pointer for the device.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1655752
Title:
Xorg crashed with SIGABRT in
libinput_device_config_tap_get_finger_count()
Status in xorg-server package in Ubuntu:
New
Status in xorg-server package in Debian:
Unknown
Bug description:
Using Xubuntu 16.04, including light-locker, whenever the screen has
been locked the X server will SIGABRT crash as soon as the user has
entered their credentials. This happens 100% of the time.
The only related information I can find is a Debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838462
I ran the crash report through gdb and it seems there is a null
pointer dereference attempt for the 'device' without checking the
pointer is valid.
signo = 11
#6 <signal handler called>
No locals.
#7 libinput_device_config_tap_get_finger_count (device=0x0) at
libinput.c:3075
No locals.
#8 0x00007fcb5c100953 in xf86libinput_parse_tap_option (device=0x0,
pInfo=0x5616b20d54e0)
at ../../src/xf86libinput.c:1686
tap = <optimised out>
#9 xf86libinput_parse_options (device=0x0, driver_data=0x5616b23406a0,
pInfo=0x5616b20d54e0)
at ../../src/xf86libinput.c:2134
options = 0x5616b2340700
#10 xf86libinput_pre_init (drv=<optimised out>, pInfo=0x5616b20d54e0,
flags=<optimised out>)
at ../../src/xf86libinput.c:2465
driver_data = 0x5616b23406a0
shared_device = <optimised out>
libinput = <optimised out>
device = 0x0
path = <optimised out>
#11 0x00005616b0d0f998 in xf86NewInputDevice (pInfo=0x5616b20d54e0,
pdev=pdev@entry=0x7ffce92a7c60,
enable=<optimised out>) at ../../../../hw/xfree86/common/xf86Xinput.c:900
drv = 0x5616b1c9a840
dev = 0x0
paused = 0
rval = <optimised out>
path = 0x5616b2092fb0 "libinput"
#12 0x00005616b0d1091e in NewInputDeviceRequest (options=<optimised out>,
attrs=0x5616b23a4ad0,
pdev=pdev@entry=0x7ffce92a7c60) at
../../../../hw/xfree86/common/xf86Xinput.c:1049
pInfo = <optimised out>
option = <optimised out>
rval = <optimised out>
is_auto = <optimised out>
#13 0x00007fcb5c0ff5e7 in xf86libinput_hotplug_device (hotplug=0x5616b23482c0)
at ../../src/xf86libinput.c:2224
dev = 0x5616b10c8a40 <LastSelectMask>
#14 0x00007fcb5c0ff82c in xf86libinput_hotplug_device_cb (client=<optimised
out>, closure=<optimised out>)
at ../../src/xf86libinput.c:2241
hotplug = <optimised out>
#15 0x00005616b0cc5c71 in ProcessWorkQueue () at ../../dix/dixutils.c:526
q = 0x5616b23a4960
p = 0x5616b10c15d8 <workQueue>
#16 0x00005616b0e1c6dd in WaitForSomething
(pClientsReady=pClientsReady@entry=0x5616b208caf0)
at ../../os/WaitFor.c:176
i = <optimised out>
waittime = {tv_sec = 0, tv_usec = 32}
wt = 0x0
timeout = <optimised out>
clientsReadable = {fds_bits = {0 <repeats 16 times>}}
clientsWritable = {fds_bits = {0 <repeats 16 times>}}
selecterr = <optimised out>
nready = 0
devicesReadable = {fds_bits = {0 <repeats 16 times>}}
now = <optimised out>
someReady = 0
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: xserver-xorg-core 2:1.18.4-0ubuntu0.2
Uname: Linux 4.9.0-040900rc5-lowlatency x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
CrashCounter: 1
Date: Wed Jan 11 18:06:23 2017
ExecutablePath: /usr/lib/xorg/Xorg
ExecutableTimestamp: 1478124781
ProcCmdline: /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
ProcCwd: /
ProcEnviron:
Signal: 6
SourcePackage: xorg-server
StacktraceTop:
libinput_device_config_tap_get_finger_count (device=0x0) at libinput.c:3075
xf86libinput_parse_tap_option (device=0x0, pInfo=0x5616b20d54e0) at
../../src/xf86libinput.c:1686
xf86libinput_parse_options (device=0x0, driver_data=0x5616b23406a0,
pInfo=0x5616b20d54e0) at ../../src/xf86libinput.c:2134
xf86libinput_pre_init (drv=<optimised out>, pInfo=0x5616b20d54e0,
flags=<optimised out>) at ../../src/xf86libinput.c:2465
xf86NewInputDevice (pInfo=0x5616b20d54e0, pdev=pdev@entry=0x7ffce92a7c60,
enable=<optimised out>) at ../../../../hw/xfree86/common/xf86Xinput.c:900
Title: Xorg crashed with SIGABRT in
libinput_device_config_tap_get_finger_count()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1655752/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp