[Wayland-bugs] [Bug 101853] [Regression][bisected][crash] in 4aeb3cc018: assertion fails in lid_switch_process()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 20 13:43:30 UTC 2017


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

            Bug ID: 101853
           Summary: [Regression][bisected][crash] in 4aeb3cc018: assertion
                    fails in lid_switch_process()
           Product: Wayland
           Version: unspecified
          Hardware: ARM
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: freedesktop at linux-geek.org

libinput seems to wrongly assumes that the input device generating lid events
will only generate EV_SW and EV_SYN events (see lid_switch_process). On a
Chromebook Oak (and possibly other Chromebooks), the same input device handles
both lid events and presses of the power button. Pressing the power button
generates events of type EV_KEY, causing the assert in lid_switch_process() to
fail, crashing Xorg. This is a regression introduced by commit 4aeb3cc018.

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


More information about the wayland-bugs mailing list