-
Notifications
You must be signed in to change notification settings - Fork 746
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
FORTIFY: pthread_mutex_lock called on a destroyed mutex #2038
Comments
Obviously not a good idea, but does that happen naturally? Note that according to the backtrace there might be some other issue as this seems to be somehow caused in the segmentation fault handler ( |
System (please complete the following information):
Describe the bug
From the Android platform when launched by alarm or work manager native function
executeJob
it can crash when mutex is destroyed:public native void executeJob(String id);
To Reproduce
Steps to reproduce the behavior:
Run
executeJob
native method when the mutex is destroyedpublic native void executeJob(String id);
Expected behavior
We could ignore logic if mutex is destroyed
Logs/Backtraces
second version:
The text was updated successfully, but these errors were encountered: