Bug 21115 – FreeBSD32 - crash in std.concurrency unittests

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
x86
OS
FreeBSD
Creation time
2020-08-05T00:27:34Z
Last change time
2023-01-17T10:20:58Z
Assigned to
No Owner
Creator
Walter Bright

Comments

Comment #0 by bugzilla — 2020-08-05T00:27:34Z
This randomly happens when running the FreeBSD32 autotester: The log: 0x2c51ef2f <_D4core7runtime18runModuleUnitTestsUZ19unittestSegvHandlerUNbiPSQCk3sys5posix6signal9siginfo_tPvZv+71> at generated/freebsd/release/32/unittest/libphobos2-ut.so 0x2807cd5b <pthread_sigmask+1579> at /usr/lib32/libthr.so.3 0x2807c222 <pthread_getspecific+3938> at /usr/lib32/libthr.so.3 0xffffe194 <???+0> at ??? 0.007s PASS release32 std.bigint 0x2a19b088 <_D3std11concurrency__T11receiveOnlyTiZQqFZi+44> at generated/freebsd/release/32/unittest/libphobos2-ut.so 0x2a17bb82 <_D3std11concurrency19__unittest_L1844_C9FZ13testSchedulerFCQCfQCe9SchedulerZ9__lambda2MFZ9__lambda1FZ12__dgliteral1MFNaNiNfZv+38> at generated/freebsd/release/32/unittest/libphobos2-ut.so 0x2a1b188a <_D3std9exception__T15assertNotThrownHTC4coreQBm11AssertErrorTvZQBsFNaLvAyaQdkZv+42> at generated/freebsd/release/32/unittest/libphobos2-ut.so 0x2a17baee <_D3std11concurrency19__unittest_L1844_C9FZ13testSchedulerFCQCfQCe9SchedulerZ9__lambda2MFZ9__lambda1FZv+82> at generated/freebsd/release/32/unittest/libphobos2-ut.so 0x2a199f2e <_D3std11concurrency__T6_spawnTPFZvZQnFbQjZ4execMFZv+74> at generated/freebsd/release/32/unittest/libphobos2-ut.so 0x2c53c530 <_D4core6thread7context8Callable6opCallMFZv+56> at generated/freebsd/release/32/unittest/libphobos2-ut.so 0x2c53bb5f <thread_entryPoint+311> at generated/freebsd/release/32/unittest/libphobos2-ut.so 0x28076dda <pthread_create+2122> at /usr/lib32/libthr.so.3 gmake[1]: *** [posix.mak:401: unittest/std/concurrency.run] Error 139
Comment #1 by bugzilla — 2021-04-08T11:23:50Z
Similar one with Ubuntu 16.04 x86: /lib/i386-linux-gnu/libpthread.so.0(+0x6295)[0xf3550295] /lib/i386-linux-gnu/libc.so.6(clone+0x6e)[0xf36531ae] 0.001s PASS release32 std.csv 0.000s PASS release32 std.demangle posix.mak:416: recipe for target 'unittest/std/concurrency.run' failed make[1]: *** [unittest/std/concurrency.run] Segmentation fault (core dumped) make[1]: *** Waiting for unfinished jobs....
Comment #2 by ibuclaw — 2023-01-17T10:20:58Z
I suspect this is a duplicate of another (fixed) FreeBSD thread-related issue. The Auto-tester itself has been taken down so this would no longer occur anyway.