Can you reproduce this threading bug?
ag0aep6g
anonymous at example.com
Fri Jun 14 17:12:49 UTC 2019
On 14.06.19 18:36, FeepingCreature wrote:
> Consider the following code:
>
> void main()
> {
> import core.thread : Thread;
>
> with (new Thread({ })) { isDaemon = true; start; }
> }
>
> On Linux, this builds and runs. Most of the time. Maybe 99% of the time.
>
> But if you run it in a loop:
>
> while true; do ./test || break; done
>
> You may see that it segfaults after a few seconds. At least, it does for
> me on 2.080.0, Linux 4.18.0-20 x86_64.
Can reproduce. DMD 2.086.0, Linux 5.0.0-16-generic x86_64
More information about the Digitalmars-d
mailing list