-
Notifications
You must be signed in to change notification settings - Fork 135
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
crash in libc from pthread_key_delete #11
Comments
Humm, I do not see any obvious initialization/cleanup race condition (everything is mutexed). Do you have the complete stacktrace, or better, all thread's stacks during crash ? |
Does this help? F/libc (22620): Fatal signal 11 (SIGSEGV) at 0x61a2ef6c (code=1) |
Unfortunately no :( I'm scratching my head to understand how pthread_key_delete may fail (ie. probably pthread_key_create not called, but how ?) |
Hi Xavier, I'm using COFFEE_TRY_JNI as described in your examples with multiple threads. During some stability testing I'm seeing a crash in libc.so when coffeecatch_cleanup calls pthread_key_delete. It doesn't happen all the time and I've seen it on multiple android versions...any ideas on this one?
The text was updated successfully, but these errors were encountered: