[Debian-on-mobile-maintainers] Bug#1081914: Bug#1081914: feedbackd: FTBFS on hppa - assertion failed (g_list_length (leds) == 1): (0 == 1)

John David Anglin dave.anglin at bell.net
Mon Sep 16 20:21:25 BST 2024


On 2024-09-16 1:18 p.m., Guido Günther wrote:
> It fails in the tests that enumerate devices so likely fixing gudev will fix this here too.
Probably problem is in umockdev.  Build fails with segmentation fault in test-umockdev-vala:
do_page_fault() command='test-umockdev-v' type=15 address=0x00000010 in libumockdev.so.0.3.0[26167,f8e82000+37000]
trap #15: Data TLB miss fault, vm_start = 0x00010000, vm_end = 0x00025000
command line: /home/dave/debian/umockdev/umockdev-0.18.4/obj-hppa-linux-gnu/test-umockdev-vala

Looks like a NULL pointer issue.

I tried duplicating this manually but I haven't been able to duplicate segmentation fault.  Sixth test aborts
trying to open /dev/tty:

ok 5 /umockdev-testbed-vala/selinux
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:127: Created udev test bed /tmp/umockdev.OQ5VT2
# DEBUG: umockdev.vala:1355: parsing device description for /devices/mycam
# DEBUG: umockdev.vala:1433: creating device /devices/mycam (subsystem usb)
# DEBUG: umockdev.vala:1479: create_node_for_device: creating file device /tmp/umockdev.OQ5VT2/dev/001
# DEBUG: umockdev.vala:829: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:833: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mycam
**
ERROR:test-umockdev-vala.p/tests/test-umockdev-vala.c:1134:t_usbfs_ioctl_static: assertion failed (ioctl (fd2, TIOCSBRK, 0) == 0): (-1 == 0)
not ok /umockdev-testbed-vala/usbfs_ioctl_static - ERROR:test-umockdev-vala.p/tests/test-umockdev-vala.c:1134:t_usbfs_ioctl_static: assertion 
failed (ioctl (fd2, TIOCSBRK, 0) == 0): (-1 == 0)
Bail out!
Aborted (core dumped)

clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=0}, 0xf9374bd0) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
access("/tmp/umockdev.G8C1T2/disabled", F_OK) = -1 ENOENT (No such file or directory)
access("/tmp/umockdev.G8C1T2/dev/tty", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/tty", O_RDWR|O_LARGEFILE) = 19
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
access("/tmp/umockdev.G8C1T2/ioctl//dev/tty", F_OK) = -1 ENOENT (No such file or directory)
socket(AF_UNIX, SOCK_STREAM, 0)         = 20
connect(20, {sa_family=AF_UNIX, sun_path="/tmp/umockdev.G8C1T2/ioctl/_default"}, 110) = 0
statx(19, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, 
stx_attributes=0, stx_mode=S_IFCHR|0666, stx_size=0, ...}) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
send(20, "\0\0\0\1\0\0T'\0\0\0\0", 12, 0) = 12
recv(20, "\0\0\0\3\377\377\377\377\0\0\0\31", 12, 0) = 12
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=0}, 0xf9374bd0) = 0
write(2, "**\nERROR:test-umockdev-vala.p/te"..., 144**
ERROR:test-umockdev-vala.p/tests/test-umockdev-vala.c:1134:t_usbfs_ioctl_static: assertion failed (ioctl (fd2, TIOCSBRK, 0) == 0): (-1 == 0)
) = 144
write(1, "not ok /umockdev-testbed-vala/us"..., 192not ok /umockdev-testbed-vala/usbfs_ioctl_static - 
ERROR:test-umockdev-vala.p/tests/test-umockdev-vala.c:1134:t_usbfs_ioctl_static: assertion failed (ioctl (fd2, TIOCSBRK, 0) == 0): (-1 == 0)
) = 192
write(1, "Bail out!\n", 10Bail out!
)             = 10
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
gettid()                                = 2817
getpid()                                = 2817
tgkill(2817, 2817, SIGABRT)             = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=2817, si_uid=1000} ---
+++ killed by SIGABRT (core dumped) +++
Aborted

All other umockdev tests seem to run okay with my manual setup.

Dave

-- 
John David Anglin  dave.anglin at bell.net



More information about the Debian-on-mobile-maintainers mailing list