You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a project which is for a long time compiled gnustl_static in c++ code.
Jni tasks are running async in separate thread like this (simplified for readability):
new Thread(this::asyncRunnable).start()
...
void asyncRunnable() {
try {
callJni();
} catch () {
...
} finally {
...
}
// everything is ok
} // <- sigsegv here
So, everything is fine when all code is linked with gnustl_static, but when I've tried libc++_static then I got SIGSEGV when finishing java thread (actual stacktrace points to releasing threadlocal data in pthread_exit).
Can anyone please help me figuring out what is wrong with libc++?