Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed #10552

Open
dlangBugzillaToGithub opened this issue May 26, 2024 · 0 comments
Labels
Arch:x86_64 Issues specific to x86_64 OS:Linux Issues specific to Linux Severity:Enhancement

Comments

@dlangBugzillaToGithub
Copy link

alan reported this on 2024-05-26T09:01:51Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=24568

Description

====  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)
@LightBender LightBender removed the P1 label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch:x86_64 Issues specific to x86_64 OS:Linux Issues specific to Linux Severity:Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants