Bug 14000 – Segmentation fault with profile

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2015-01-18T07:32:51Z
Last change time
2019-02-27T03:36:34Z
Assigned to
No Owner
Creator
Fyodor Ustinov
See also
https://issues.dlang.org/show_bug.cgi?id=14511

Attachments

IDFilenameSummaryContent-TypeSize
1463d1.dSource file from rosettacodeapplication/x-dsrc3111

Comments

Comment #0 by ufm — 2015-01-18T07:32:51Z
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.
Comment #3 by bugzilla — 2015-04-29T05:22:55Z
Comment #4 by porton — 2019-02-27T03:36:34Z
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