-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Futex_fatal_error in ./nptl/pthread_mutex_lock.c #6931
Comments
Reproduced for me. Does not reproduce when I change I am seeing the crash stack trace from the original report, and also:
|
The problem is caused by this code in
That does not guarantee that
|
This patch fixes the crash for me:
|
EmployedRussian
added a commit
to EmployedRussian/ChakraCore
that referenced
this issue
Jul 5, 2023
In cclock.hpp we reserve storage for a mutex, but didn't specify alignment for it (except on ARM64). That resulted in an unaligned pthread_mutex_t on Linux, when built with Clang 14.0.6 on x86_64 Ubuntu.
rhuanjl
pushed a commit
that referenced
this issue
Apr 17, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
reversion
c3ead3f
master
Build platform
Ubuntu 22.04.2 LTS (Linux 5.19.0-43-generic x86_64)
Build steps
Test case
poc.js
Backtrace
The text was updated successfully, but these errors were encountered: