May 26 [Issue 24568] New: Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24568 Issue ID: 24568 Summary: Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nobody@puremagic.com Reporter: alan@jcomp.tk ==== env ==== OS: debian 12 Compiler: ldc2 installed by `apt install ldc` ldc2 -v binary /usr/bin/ldc2 version 1.30.0 (DMD v2.100.1, LLVM 14.0.6) config /etc/ldc2.conf (x86_64-pc-linux-gnu) ==== main.d ==== import core.stdc.stdlib: EXIT_SUCCESS, EXIT_FAILURE, exit; import std.concurrency; import std.datetime; import std.stdio; import core.thread; void childProcess() { Thread.sleep( dur!("seconds")( 1 ) ); exit(-1); } int main() { spawn(&childProcess); receiveTimeout(100.seconds, (int msg) {}); return 0; } ==== result ==== Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed.Aborted (core dumped) -- |
Copyright © 1999-2021 by the D Language Foundation