Closed alexdmiller closed 3 years ago
I found that this issue describes the exact issue I'm having:
Related to #692. Unless you can provide a reproducer, not much can be done.
That issue that I linked to has steps to reproduce. See the repository here: https://github.com/swittk/react-native-mediapipe-facemesh
And the steps:
- Run the example project in https://github.com/swittk/react-native-mediapipe-facemesh at example/ios
- Tap on Try alloc (This tries to allocate the class from the framework)
- Encounter SIGABRT from Mutex::Lock as described above.
- (optional) remove the abort() call and example app runs normally.
I'm very well aware of the description but that won't cut it. You need to provide a minimal reproducer (in C++) which the example project does not even seem to use.
Okay. A minimal reproduction is unfortunately a very high cost request considering the fact that I'm not even using glog myself. I'll open tickets on React Native and Google Media Pipe in the hopes that this is an error in their code rather than glog itself.
Yes. You probably want to also check whether glog is compiled as shared library (not static). Otherwise you might be hitting undefined behavior caused by the initialization order of static variables in glog.
I'll close the issue for the time being. Feel free to comment or reopen if there are new insights.
I'm building an iOS app that uses React Native and Google Media Pipe. My understanding is that both of these dependencies use glog. I'm getting a crash when I try to call into Google Media Pipe, and this sparse StackOverflow thread implies the problem is with two dependencies that are both using glog at the same time.
Is there any way to avoid this crash?