Package: duma Tags: hurd, ftbfs, confirmed, help Usertags: debian-hurd@lists.debian.org X-Debbugs-Cc: debian-hurd@lists.debian.org
duma compiles & links on Hurd, but self tests fail. https://buildd.debian.org/status/package.php?p=duma Testing via KVM, shows that all tests except for thread-test, fail with output 'Killed'. Back trace on dumatest shows an endless loop. Repeats every ten steps. ===================================================== Starting program: /home/demo/duma-2.5.21/dumatest Thread 4 received signal ?, Unknown signal. 0x010b9415 in ?? () from /lib/i386-gnu/libc.so.0.3 #0 0x010b9415 in ?? () from /lib/i386-gnu/libc.so.0.3 #1 0x010b812a in dcgettext () from /lib/i386-gnu/libc.so.0.3 #2 0x010b7452 in __assert_fail () from /lib/i386-gnu/libc.so.0.3 #3 0x010452cf in pthread_self () from /lib/i386-gnu/libpthread.so.0.3 #4 0x08036095 in lock () at sem_inc.c:135 #5 0x080361d6 in DUMA_get_sem () at sem_inc.c:230 #6 0x080345a1 in _duma_allocate (alignment=1, userSize=100, protectBelow=0, fillByte=255, protectAllocList=1, allocator=EFA_MALLOC, #49 0x01103ce5 in ?? () from /lib/i386-gnu/libc.so.0.3 #7 0x080353b6 in _duma_malloc (size=100, filename=0x8037060 <unknown_file> "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1970 #8 0x08035c8b in malloc (size=100) at duma.c:2424 #9 0x01103ce5 in ?? () from /lib/i386-gnu/libc.so.0.3 #10 0x010e06a7 in asprintf () from /lib/i386-gnu/libc.so.0.3 #11 0x010b736a in ?? () from /lib/i386-gnu/libc.so.0.3 #12 0x010b7469 in __assert_fail () from /lib/i386-gnu/libc.so.0.3 #13 0x010452cf in pthread_self () from /lib/i386-gnu/libpthread.so.0.3 #14 0x08036095 in lock () at sem_inc.c:135 #15 0x080361d6 in DUMA_get_sem () at sem_inc.c:230 #16 0x080345a1 in _duma_allocate (alignment=1, userSize=100, protectBelow=0, fillByte=255, protectAllocList=1, allocator=EFA_MALLOC, fail=DUMA_FAIL_ENV, filename=0x8037060 <unknown_file> "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1386 #17 0x080353b6 in _duma_malloc (size=100, filename=0x8037060 <unknown_file> "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1970 #18 0x08035c8b in malloc (size=100) at duma.c:2424 #19 0x01103ce5 in ?? () from /lib/i386-gnu/libc.so.0.3 #20 0x010e06a7 in asprintf () from /lib/i386-gnu/libc.so.0.3 #21 0x010b736a in ?? () from /lib/i386-gnu/libc.so.0.3 #22 0x010b7469 in __assert_fail () from /lib/i386-gnu/libc.so.0.3 #23 0x010452cf in pthread_self () from /lib/i386-gnu/libpthread.so.0.3 #24 0x08036095 in lock () at sem_inc.c:135 #25 0x080361d6 in DUMA_get_sem () at sem_inc.c:230 #26 0x080345a1 in _duma_allocate (alignment=1, userSize=100, protectBelow=0, fillByte=255, protectAllocList=1, allocator=EFA_MALLOC, fail=DUMA_FAIL_ENV, filename=0x8037060 <unknown_file> "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1386 #27 0x080353b6 in _duma_malloc (size=100, filename=0x8037060 <unknown_file> "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1970 #28 0x08035c8b in malloc (size=100) at duma.c:2424 #29 0x01103ce5 in ?? () from /lib/i386-gnu/libc.so.0.3 #30 0x010e06a7 in asprintf () from /lib/i386-gnu/libc.so.0.3 #31 0x010b736a in ?? () from /lib/i386-gnu/libc.so.0.3 #32 0x010b7469 in __assert_fail () from /lib/i386-gnu/libc.so.0.3 #33 0x010452cf in pthread_self () from /lib/i386-gnu/libpthread.so.0.3 #34 0x08036095 in lock () at sem_inc.c:135 #35 0x080361d6 in DUMA_get_sem () at sem_inc.c:230 #36 0x080345a1 in _duma_allocate (alignment=1, userSize=100, protectBelow=0, fillByte=255, protectAllocList=1, allocator=EFA_MALLOC, fail=DUMA_FAIL_ENV, filename=0x8037060 <unknown_file> "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1386 #37 0x080353b6 in _duma_malloc (size=100, filename=0x8037060 <unknown_file> "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1970 #38 0x08035c8b in malloc (size=100) at duma.c:2424 #39 0x01103ce5 in ?? () from /lib/i386-gnu/libc.so.0.3 #40 0x010e06a7 in asprintf () from /lib/i386-gnu/libc.so.0.3 #41 0x010b736a in ?? () from /lib/i386-gnu/libc.so.0.3 #42 0x010b7469 in __assert_fail () from /lib/i386-gnu/libc.so.0.3 #43 0x010452cf in pthread_self () from /lib/i386-gnu/libpthread.so.0.3 #44 0x08036095 in lock () at sem_inc.c:135 #45 0x080361d6 in DUMA_get_sem () at sem_inc.c:230 #46 0x080345a1 in _duma_allocate (alignment=1, userSize=100, protectBelow=0, fillByte=255, protectAllocList=1, allocator=EFA_MALLOC, fail=DUMA_FAIL_ENV, filename=0x8037060 <unknown_file> "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1386 #47 0x080353b6 in _duma_malloc (size=100, filename=0x8037060 <unknown_file> "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1970 #48 0x08035c8b in malloc (size=100) at duma.c:2424 =========================================================== I'm curious about the step pthread_self () --> __assert_fail () The man page for pthread_self (Linux) https://man7.org/linux/man-pages/man3/pthread_self.3.html states that the function always succeeds. Unlikely if it throws an assert. Also raised upstream https://github.com/johnsonjh/duma/issues/172 but the question really is. Is this a bug in Hurd, or something that can be fixed in duma? Regards, Peter B