[Wayland-bugs] [Bug 89296] libinput: Xserver crash with suspend/resume

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 24 00:40:33 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89296

            Bug ID: 89296
           Summary: libinput: Xserver crash with suspend/resume
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: fourdan at xfce.org

I've noticed that each time I suspend/resume my laptop, I was losing my X
session.

Using xorg-x11-server-1.16.3 with libinput-0.11.0 and
xf86-input-libinput-0.7.0.

A quick look at the logs reveals that the Xserver crashed because of libinput:

: (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse
(/dev/input/mouse
: (II) No input driver specified, ignoring this device.
: (II) This device may have been added with another device file.
: (EE)
: (EE) Backtrace:
: (EE) 0: /usr/libexec/Xorg.bin (OsLookupColor+0x119) [0x59c739]
: (EE) 1: /lib64/libc.so.6 (__restore_rt+0x0) [0x7f39c5c2994f]
: (EE) 2: /lib64/libinput.so.7
(libinput_device_config_left_handed_is_available+0x0) [0x7
: (EE) 3: /usr/lib64/xorg/modules/input/libinput_drv.so (_init+0x25c7)
[0x7f39be793ca7]
: (EE) 4: /usr/libexec/Xorg.bin (XIChangeDeviceProperty+0x21f) [0x530d4f]
: (EE) 5: /usr/libexec/Xorg.bin (XISetDevicePropertyDeletable+0x278) [0x5315a8]
: (EE) 6: /usr/libexec/Xorg.bin (SendErrorToClient+0x2f7) [0x4391b7]
: (EE) 7: /usr/libexec/Xorg.bin (remove_fs_handlers+0x416) [0x43d316]
: (EE) 8: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f39c5c14fe0]
: (EE) 9: /usr/libexec/Xorg.bin (_start+0x29) [0x4276ee]
: (EE) 10: ? (?+0x29) [0x29]
: (EE)
: (EE) Segmentation fault at address 0x68
: (EE)
: Fatal server error:
: (EE) Caught signal 11 (Segmentation fault). Server aborting
: (EE)
: (EE)

This is probably xfce4-settings daemon trying to access a device, as killing
the xfsettigsd before suspending the laptop avoids the crash.

Yet, even if one of the client is misbehaving (I am not entirely sure how yet
though), the libinput/xf86-input-libinput should not crash and handle the
client nicely.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150224/4d02e881/attachment.html>


More information about the wayland-bugs mailing list