[Bug 234638] x11/libinput: crashes in devel/libudev-devd on device enumeration

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234638

            Bug ID: 234638
           Summary: x11/libinput: crashes in devel/libudev-devd on device
                    enumeration
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

$ libinput list-devices
Thread 1 received signal SIGBUS, Bus error.
0x00000008002b61af in udev_list_RB_MINMAX (head=0x800c46f48, val=-1) at
udev-list.c:163
163     RB_GENERATE(udev_list, udev_list_entry, link, udev_list_entry_cmp);
(gdb) bt full
#0  0x00000008002b61af in udev_list_RB_MINMAX (head=0x800c46f48, val=-1) at
udev-list.c:163
        tmp = 0x726f666d6f432074
        parent = 0x726f666d6f432074
#1  0x00000008002b62ea in udev_list_entry_get_first (ul=0x800c46f48) at
udev-list.c:112
No locals.
#2  0x00000008002b47d0 in udev_device_get_property_value (ud=0x800c46f40,
property=0x80025c7cb "WL_OUTPUT")
    at udev-device.c:199
        key = 0x800c2b700 "\003"
        value = 0x800c9dc00 ""
        entry = 0xd
#3  0x00000008002a2275 in device_added (udev_device=0x800c46f40,
input=0x800c2b700,
    seat_name=0x80025eaa0 <default_seat_name> "default") at
../src/udev-seat.c:104
        device = 0x800c9dc00
        devnode = 0x800c46f78 "00/1.70, addr 3"
        sysname = 0x800c46f83 "dr 3"
        device_seat = 0x80025ea9a <default_seat> "seat0"
        output_name = 0x800c46f78 "00/1.70, addr 3"
        seat = 0x800c8e000
#4  0x00000008002a25e8 in udev_input_add_devices (input=0x800c2b700,
udev=0x800c445a0) at ../src/udev-seat.c:164
        e = 0x800c3c510
        entry = 0x800c26280
        device = 0x800c46f40
        path = 0x800c262a8 "/dev/input/event4"
        sysname = 0x800c46f83 "dr 3"
#5  0x00000008002a1cab in udev_input_enable (libinput=0x800c2b700) at
../src/udev-seat.c:274
        input = 0x800c2b700
        udev = 0x800c445a0
        fd = 5
#6  0x00000008002a1a85 in libinput_udev_assign_seat (libinput=0x800c2b700,
seat_id=0x202c9b "seat0")
    at ../src/udev-seat.c:398
        input = 0x800c2b700
#7  0x0000000000205aec in tools_open_udev (seat=0x202c9b "seat0",
verbose=false, grab=0x7fffffffe19f)
    at ../tools/shared.c:274
        li = 0x800c2b700
        udev = 0x800c445a0
#8  0x00000000002059e6 in tools_open_backend (which=BACKEND_UDEV,
seat_or_device=0x202c9b "seat0",
    verbose=false, grab=0x7fffffffe19f) at ../tools/shared.c:323
        li = 0x0
#9  0x0000000000204434 in main (argc=1, argv=0x7fffffffe230) at
../tools/libinput-list-devices.c:392
        li = 0x0
        ev = 0x7fffffffe228
        grab = false

$ rm /dev/input/event[47]
$ libinput list-devices
Device:           System keyboard multiplexer
Kernel:           /dev/input/event0
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
[...]

$ libevdev_describe /dev/input/event4
name: "Microsoft Comfort Curve Keyboard 3000, class 0/0, rev 2.00/1.70, addr 3"
bustype: 0x3
vendor: 0x45e
product: 0x780

$ libevdev_describe /dev/input/event7
name: "Kingsis Peripherals ZOWIE Gaming mouse, class 0/0, rev 2.00/0.01, addr
5"
bustype: 0x3
vendor: 0x1af3
product: 0x1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.