<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - libinput: Xserver crash with suspend/resume"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89296">89296</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libinput: Xserver crash with suspend/resume
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fourdan@xfce.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>