Created attachment 1463
Source file from rosettacode
When compile code from http://rosettacode.org/wiki/Atomic_updates#D with -profile option result program hangs with "Segmentation fault"
ufm@msi ~/Src/tt $ dmd -profile d1.d
ufm@msi ~/Src/tt $ ./d1
N. transfers, buckets, buckets sum:
Segmentation fault
DMD64 D Compiler v2.066.1
Comment #1 by omegawarosu — 2015-01-26T00:34:07Z
Same here, when vibe.d is linked.
Comment #2 by bugzilla — 2015-04-27T10:09:37Z
Are these multithreaded programs? Because the profiler doesn't work with multithreaded programs.
No crash here, the bug seems fixed:
$ dmd --version
DMD64 D Compiler v2.084.1
Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved written by Walter Bright