Open
Description
How frequently does the bug occur?
Always
Description
The react native application is crashing when there is an active syncSession.addConnectionNotification and the app gets reloaded
Stacktrace & log output
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x30 in tid 8357 (mqt_js), pid 8292 (om.synctutorial)
2024-03-26 17:24:24.007 8292-8292 unknown:Re...nceManager com.synctutorial E destroyRootView called
2024-03-26 17:24:24.009 8292-8292 unknown:Re...nceManager com.synctutorial E destroyRootView called, unmountReactApplication
Cmdline: com.synctutorial
2024-03-26 17:24:25.208 8538-8538 DEBUG crash_dump64 A pid: 8292, tid: 8357, name: mqt_js >>> com.synctutorial <<<
2024-03-26 17:24:25.208 8538-8538 DEBUG crash_dump64 A #00 pc 00000000003bfd00 /data/app/~~kwxPndNsCq5S-a142smnIA==/com.synctutorial-Jxnmi56nwT1pLTopnsEDBg==/lib/arm64/librealm.so (BuildId: edf6f0d435afef43e7dfceba74cfdd58b0289992)
2024-03-26 17:24:25.208 8538-8538 DEBUG crash_dump64 A #01 pc 00000000003c061c /data/app/~~kwxPndNsCq5S-a142smnIA==/com.synctutorial-Jxnmi56nwT1pLTopnsEDBg==/lib/arm64/librealm.so (BuildId: edf6f0d435afef43e7dfceba74cfdd58b0289992)
2024-03-26 17:24:25.208 8538-8538 DEBUG crash_dump64 A #02 pc 000000000041c924 /data/app/~~kwxPndNsCq5S-a142smnIA==/com.synctutorial-Jxnmi56nwT1pLTopnsEDBg==/lib/arm64/librealm.so (BuildId: edf6f0d435afef43e7dfceba74cfdd58b0289992)
2024-03-26 17:24:25.208 8538-8538 DEBUG crash_dump64 A #03 pc 000000000041d634 /data/app/~~kwxPndNsCq5S-a142smnIA==/com.synctutorial-Jxnmi56nwT1pLTopnsEDBg==/lib/arm64/librealm.so (BuildId: edf6f0d435afef43e7dfceba74cfdd58b0289992)
Can you reproduce the bug?
Yes, always
Reproduction Steps
Using this branch: https://github.com/Spring-Global/realm-react-native-sample/tree/realm-crash-callback
- Run the application on android emulator
- Refresh the react native app with cmd+r
Version
What services are you using?
Atlas Device Sync
Are you using encryption?
No
Platform OS and version(s)
Android - Emulator API 34
Build environment
Which debugger for React Native: ..
Cocoapods version
No response