[Bug 278551] pthread_join kills the process with a return code of 134
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278551] pthread_join() kills the process with a return code of 134"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278551] pthread_join() kills the process with a return code of 134"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278551] pthread_join() kills the process with a return code of 134"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278551] pthread_join() kills the process with a return code of 134"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278551] pthread_join() kills the process with a return code of 134"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278551] pthread_join() kills the process with a return code of 134"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Apr 2024 13:48:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278551
Bug ID: 278551
Summary: pthread_join kills the process with a return code of
134
Product: Base System
Version: 14.0-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: threads
Assignee: threads@FreeBSD.org
Reporter: mohammedgoder@gmail.com
Created attachment 250181
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250181&action=edit
Console Output
Code:
void* kernel(void* par) {
printf("kernel\n");
return NULL;
}
int main(int argc, const char* const* args){
pthread_t thread;
pthread_create(
&thread,
NULL,
kernel,
NULL
);
pthread_join(thread, NULL);
printf("FreeBSD RELEASE 14.0 doesn't reach here.\n");
return 0;
}
Console Output:
kernel
The code above demonstrates that the call to pthread_join() with valid
parameters terminates the program with a return code of 134.
I have not tested this issue on bare metal so I don't know if my assigned
severity level is valid.
I'm using FreeBSD RELEASE 14.0 running on Proxmox with an 8 Core x86_64 Intel
XEON chip.
My libraries work fine on Windows, MacOS, Linux, and OpenBSD. pthread_join() is
the only thing causing problems on FreeBSD thus far. Everything else seems to
be functional.
--
You are receiving this mail because:
You are the assignee for the bug.