On some device I noticed, that the app crash after rotating the device and pressing a touchable component.
It happens both in Expo client and standalone app.
On Expo client I was able to recreate the bug when the remote debugger wasn’t runing.
I run the logcat and got this report at the time of the crash:
E/ConnectivityService( 1007): RemoteException caught trying to send a callback msg for NetworkRequest [ id=150, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
E/Watchdog( 1007): !@Sync 613
E/SMD ( 372): DCD OFF
E/SMD ( 372): DCD OFF
F/libc (29659): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xbbadbeef in tid 31310 (mqt_js)
E/NativeCrashListener( 1007): Exception dealing with report
E/NativeCrashListener( 1007): android.system.ErrnoException: read failed: EAGAIN (Try again)
E/NativeCrashListener( 1007): at libcore.io.Posix.readBytes(Native Method)
E/NativeCrashListener( 1007): at libcore.io.Posix.read(Posix.java:147)
E/NativeCrashListener( 1007): at libcore.io.BlockGuardOs.read(BlockGuardOs.java:230)
E/NativeCrashListener( 1007): at android.system.Os.read(Os.java:364)
E/NativeCrashListener( 1007): at com.android.server.am.NativeCrashListener.consumeNativeCrashData(NativeCrashListener.java:240)
E/NativeCrashListener( 1007): at com.android.server.am.NativeCrashListener.run(NativeCrashListener.java:138)
E/Adjust (30043): Adjust not initialized correctly
E/SMD ( 372): DCD OFF
E/ ( 368): ro.product_ship = true
E/ ( 368): ro.debug_level = 0x4f4c
E/audit ( 2042): type=1701 msg=audit(1533721477.126:331): auid=4294967295 uid=10216 gid=10216 ses=4294967295 subj=u:r:untrusted_app:s0 pid=31310 comm="mqt_js" reason="memory violation" sig=11
E/SharedPreferencesImpl( 1007): Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
E/InputDispatcher( 1007): channel ~ Channel is unrecoverably broken and will be disposed!
E/InputDispatcher( 1007): channel ~ Channel is unrecoverably broken and will be disposed!
E/WindowState( 1007): getStack: Window{3067fc29 u0 host.exp.exponent/host.exp.exponent.experience.ExperienceActivity} couldn't find taskId=1719 Callers=com.android.server.wm.WindowState.computeFrameLw:105
4 com.android.internal.policy.impl.PhoneWindowManager.layoutWindowLw:4904 com.android.server.wm.WindowManagerService.performLayoutLockedInner:10918 com.android.server.wm.WindowManagerService.performLayout
AndPlaceSurfacesLockedInner:11858
E/ActivityManager( 1007): checkUser: useridlist=null, currentuser=0
E/ActivityManager( 1007): checkUser: useridlist=null, currentuser=0
E/ActivityManager( 1007): checkUser: useridlist=null, currentuser=0
E/ActivityManager( 1007): checkUser: useridlist=null, currentuser=0
E/WindowState( 1007): getStack: Window{3067fc29 u0 host.exp.exponent/host.exp.exponent.experience.ExperienceActivity} couldn't find taskId=1719 Callers=com.android.server.wm.WindowState.computeFrameLw:105
4 com.android.internal.policy.impl.PhoneWindowManager.layoutWindowLw:4904 com.android.server.wm.WindowManagerService.performLayoutLockedInner:10918 com.android.server.wm.WindowManagerService.performLayout
AndPlaceSurfacesLockedInner:11858
E/Zygote (31741): MountEmulatedStorage()