Created attachment 1463 [details] 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
Same here, when vibe.d is linked.
Are these multithreaded programs? Because the profiler doesn't work with multithreaded programs.
This may fix it: https://issues.dlang.org/show_bug.cgi?id=14511
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