Issue 24568 - Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed
Summary: Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-26 09:01 UTC by alan
Modified: 2024-12-01 16:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description alan 2024-05-26 09:01:51 UTC
====  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)
Comment 1 dlangBugzillaToGithub 2024-12-01 16:42:36 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/10552

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB