[Issue 19265] Multiple calls to rt_init/rt_term leads to SIGILL in _d_initMonoTime

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 25 20:46:19 UTC 2018


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

--- Comment #1 from Tomáš Chaloupka <chalucha at gmail.com> ---
Other test case:

extern extern(C) int _d_run_main(int, char**, void*);
extern (C) int rt_init();
extern (C) int rt_term();

extern(C) int main(int argc, char** argv)
{
        rt_init();
        rt_term();
        rt_init(); // SIGILL
        rt_term();
        return 0;
}

--


More information about the Digitalmars-d-bugs mailing list