[Issue 13625] New: AssertError at src/core/thread.d(1652)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 16 16:19:37 PDT 2014


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

          Issue ID: 13625
           Summary: AssertError at src/core/thread.d(1652)
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: public at dicebot.lv

druntime master (2024ca6d3e29362a2fc84ef51c0f73316259d645)
dmd master (15b68997d0ae2332ed653658e5d7643fcf0d354f)

$ dmd-git -main -unittest -g src/core/thread.d
$ ./thread 
core.exception.AssertError at src/core/thread.d(1652): Assertion failure
----------------
./thread() [0x427dec]
./thread(nothrow void
core.thread.Thread.remove(core.thread.Thread.Context*)+0x3a) [0x421f3a]
./thread(nothrow void core.thread.Thread.remove(core.thread.Thread)+0x6e)
[0x4220fe]
./thread(thread_detachInstance+0x15) [0x422845]
./thread(void core.thread.__unittestL2143_6()+0x44) [0x42288c]
./thread(void core.thread.__modtest()+0x22) [0x427d4a]
./thread(int
core.runtime.runModuleUnitTests().__foreachbody3(object.ModuleInfo*)+0x34)
[0x432690]
./thread(int object.ModuleInfo.opApply(scope int
delegate(object.ModuleInfo*)).__lambda2(immutable(object.ModuleInfo*))+0x1c)
[0x4299e0]
./thread(int rt.minfo.moduleinfos_apply(scope int
delegate(immutable(object.ModuleInfo*))).__foreachbody2(ref
rt.sections_linux.DSO)+0x47) [0x42f957]
./thread(int rt.sections_linux.DSO.opApply(scope int delegate(ref
rt.sections_linux.DSO))+0x42) [0x42fb0a]
./thread(int rt.minfo.moduleinfos_apply(scope int
delegate(immutable(object.ModuleInfo*)))+0x25) [0x42f8ed]
./thread(int object.ModuleInfo.opApply(scope int
delegate(object.ModuleInfo*))+0x25) [0x4299b9]
./thread(runModuleUnitTests+0xa8) [0x432524]
./thread(void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll()+0x17) [0x42d1e3]
./thread(void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).tryExec(scope void delegate())+0x2a) [0x42d196]
./thread(_d_run_main+0x1dc) [0x42d110]
./thread(main+0x25) [0x427e4d]

At the same time running `make -f posix.mak unittest` works (and core.thread is
mentioned in list of tested modules)

This can be something related to my system as I have been having bunch of
threading related issues in several other projects no one else can reproduce.

OS: Arch Linux x64
glibc 2.20
kernel 3.16.4

--


More information about the Digitalmars-d-bugs mailing list