[Issue 17037] New: std.concurrency has random segfaults

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Dec 27 20:17:15 PST 2016


https://issues.dlang.org/show_bug.cgi?id=17037

          Issue ID: 17037
           Summary: std.concurrency has random segfaults
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: greeenify at gmail.com

In the Phobos test suite, std.concurrency randomly segfaults from time to time:

timelimit -t 90  generated/linux/release/32/unittest/test_runner
std.concurrency
generated/linux/release/32/unittest/libphobos2-ut.so(_D4core7runtime18runModuleUnitTestsUZ19unittestSegvHandlerUNbiPS4core3sys5posix6signal9siginfo_tPvZv+0x50)[0xf6b30d60]
[0xf77c3cc0]
generated/linux/release/32/unittest/libphobos2-ut.so(_D3std11concurrency8thisInfoFNbNcNdZS3std11concurrency10ThreadInfo+0x4a)[0xf5274d72]
generated/linux/release/32/unittest/libphobos2-ut.so(_D3std11concurrency12unregisterMeFZv+0x32)[0xf52759ea]
generated/linux/release/32/unittest/libphobos2-ut.so(_D3std11concurrency10ThreadInfo7cleanupMFZv+0x88)[0xf5275f40]
generated/linux/release/32/unittest/libphobos2-ut.so(_D3std11concurrency12_staticDtor1FZv+0x27)[0xf5274daf]
generated/linux/release/32/unittest/libphobos2-ut.so(_D3std11concurrency9__moddtorFZv+0x1f)[0xf529ee57]
generated/linux/release/32/unittest/libphobos2-ut.so(_D2rt5minfo74__T17runModuleFuncsRevS482rt5minfo11ModuleGroup11runTlsDtorsMFZ9__lambda1Z17runModuleFuncsRevMFAxPyS6object10ModuleInfoZv+0x51)[0xf6b71611]
generated/linux/release/32/unittest/libphobos2-ut.so(_D2rt5minfo11ModuleGroup11runTlsDtorsMFZv+0x26)[0xf6b70f06]
generated/linux/release/32/unittest/libphobos2-ut.so(_D2rt5minfo16rt_moduleTlsDtorUZ14__foreachbody1MFKS2rt19sections_elf_shared3DSOZi+0x2b)[0xf6b71343]
generated/linux/release/32/unittest/libphobos2-ut.so(_D2rt19sections_elf_shared3DSO14opApplyReverseFMDFKS2rt19sections_elf_shared3DSOZiZi+0x72)[0xf6b73142]
generated/linux/release/32/unittest/libphobos2-ut.so(rt_moduleTlsDtor+0x2c)[0xf6b7130c]
generated/linux/release/32/unittest/libphobos2-ut.so(thread_entryPoint+0x328)[0xf6b31a08]
/lib/libpthread.so.0(+0x6b0c)[0xf1d13b0c]
/lib/libc.so.6(clone+0x5e)[0xf1bf574e]
make[1]: *** [unittest/std/concurrency.run] Error 139

--


More information about the Digitalmars-d-bugs mailing list