[Wayland-bugs] [Bug 100976] libinput-1.7.2 segfault when built with clang

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 9 16:32:32 UTC 2017


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

            Bug ID: 100976
           Summary: libinput-1.7.2 segfault when built with clang
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: krejzi at email.com

As the title says. When built with gcc, it's fine. Backtrace when running
libinput-list-devices is below (it also crashes X server when using
xf86-input-libinput):

Starting program: /usr/bin/libinput-list-devices 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
fallback_dispatch_create (libinput_device=<optimized out>) at evdev.c:1809
1809            if (fallback_dispatch_init_slots(dispatch, device) == -1) {
(gdb) bt
#0  fallback_dispatch_create (libinput_device=<optimized out>) at evdev.c:1809
#1  evdev_configure_device (device=<optimized out>) at evdev.c:2680
#2  evdev_device_create (seat=<optimized out>, udev_device=<optimized out>) at
evdev.c:2909
#3  0x00007ffff7bcc611 in device_added (udev_device=0x62c8c0, input=0x611f60,
seat_name=0x7ffff7bd23db <default_seat_name> "default") at udev-seat.c:85
#4  0x00007ffff7bcc2ed in udev_input_add_devices (udev=<optimized out>,
input=<optimized out>) at udev-seat.c:154
#5  udev_input_enable (libinput=0x611f60) at udev-seat.c:264
#6  0x00007ffff7bcc149 in libinput_udev_assign_seat (libinput=0x611f60,
seat_id=<optimized out>) at udev-seat.c:392
#7  0x0000000000403b4a in open_udev (interface=<optimized out>,
userdata=<optimized out>, seat=<optimized out>, verbose=<optimized out>) at
shared.c:411
#8  tools_open_backend (context=<optimized out>) at shared.c:488
#9  0x0000000000402e56 in main (argc=<optimized out>, argv=<optimized out>) at
libinput-list-devices.c:393

-- 
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/20170509/fa893c89/attachment.html>


More information about the wayland-bugs mailing list