[Issue 11492] New: Executable with thread termination crashes (worked in 2.63, works on Windows)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 10 13:02:13 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11492
Summary: Executable with thread termination crashes (worked in
2.63, works on Windows)
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: atila.neves at gmail.com
--- Comment #0 from Atila Neves <atila.neves at gmail.com> 2013-11-10 13:02:07 PST ---
This is on dmd 2.64.2 on Arch Linux 64-bit. Works on Windows, used to work in
2.63. Code to reproduce:
import std.concurrency;
private void threadWriter() {
for(bool running = true; running;) {
receive(
(Tid i) {
},
(OwnerTerminated trm) {
running = false;
}
);
}
}
void main() {
spawn(&threadWriter);
}
dmd thead.d
./thread.d
zsh: segmentation fault (core dumped) ./thread
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list