Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jan 2019 17:06:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 234638] x11/libinput: crashes in devel/libudev-devd on device enumeration
Message-ID:  <bug-234638-7141-GgKqWVksRJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234638-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234638-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 mailing li=
st
<x11@FreeBSD.org> for maintainer-feedback:
Bug 234638: x11/libinput: crashes in devel/libudev-devd on device enumerati=
on
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234638



--- Description ---
$ libinput list-devices
Thread 1 received signal SIGBUS, Bus error.
0x00000008002b61af in udev_list_RB_MINMAX (head=3D0x800c46f48, val=3D-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=3D0x800c46f48, val=3D-1=
) at
udev-list.c:163
	tmp =3D 0x726f666d6f432074
	parent =3D 0x726f666d6f432074
#1  0x00000008002b62ea in udev_list_entry_get_first (ul=3D0x800c46f48) at
udev-list.c:112
No locals.
#2  0x00000008002b47d0 in udev_device_get_property_value (ud=3D0x800c46f40,
property=3D0x80025c7cb "WL_OUTPUT")
    at udev-device.c:199
	key =3D 0x800c2b700 "\003"
	value =3D 0x800c9dc00 ""
	entry =3D 0xd
#3  0x00000008002a2275 in device_added (udev_device=3D0x800c46f40,
input=3D0x800c2b700,
    seat_name=3D0x80025eaa0 <default_seat_name> "default") at
../src/udev-seat.c:104
	device =3D 0x800c9dc00
	devnode =3D 0x800c46f78 "00/1.70, addr 3"
	sysname =3D 0x800c46f83 "dr 3"
	device_seat =3D 0x80025ea9a <default_seat> "seat0"
	output_name =3D 0x800c46f78 "00/1.70, addr 3"
	seat =3D 0x800c8e000
#4  0x00000008002a25e8 in udev_input_add_devices (input=3D0x800c2b700,
udev=3D0x800c445a0) at ../src/udev-seat.c:164
	e =3D 0x800c3c510
	entry =3D 0x800c26280
	device =3D 0x800c46f40
	path =3D 0x800c262a8 "/dev/input/event4"
	sysname =3D 0x800c46f83 "dr 3"
#5  0x00000008002a1cab in udev_input_enable (libinput=3D0x800c2b700) at
../src/udev-seat.c:274
	input =3D 0x800c2b700
	udev =3D 0x800c445a0
	fd =3D 5
#6  0x00000008002a1a85 in libinput_udev_assign_seat (libinput=3D0x800c2b700,
seat_id=3D0x202c9b "seat0")
    at ../src/udev-seat.c:398
	input =3D 0x800c2b700
#7  0x0000000000205aec in tools_open_udev (seat=3D0x202c9b "seat0",
verbose=3Dfalse, grab=3D0x7fffffffe19f)
    at ../tools/shared.c:274
	li =3D 0x800c2b700
	udev =3D 0x800c445a0
#8  0x00000000002059e6 in tools_open_backend (which=3DBACKEND_UDEV,
seat_or_device=3D0x202c9b "seat0",
    verbose=3Dfalse, grab=3D0x7fffffffe19f) at ../tools/shared.c:323
	li =3D 0x0
#9  0x0000000000204434 in main (argc=3D1, argv=3D0x7fffffffe230) at
../tools/libinput-list-devices.c:392
	li =3D 0x0
	ev =3D 0x7fffffffe228
	grab =3D false

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

$ libevdev_describe /dev/input/event4
name: "Microsoft Comfort Curve Keyboard 3000, class 0/0, rev 2.00/1.70, add=
r 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, ad=
dr
5"
bustype: 0x3
vendor: 0x1af3
product: 0x1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234638-7141-GgKqWVksRJ>