Skip to content
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

random crash on Android after long period of inactivity #23

Open
falquaddoomi opened this issue Nov 27, 2017 · 1 comment
Open

random crash on Android after long period of inactivity #23

falquaddoomi opened this issue Nov 27, 2017 · 1 comment

Comments

@falquaddoomi
Copy link
Collaborator

After a long period of inactivity, the debug version of the app will occasionally display its debug menu overlay (usually triggered by shaking the phone while the app is in the foreground) even though the app is inactive. Interacting with the menu or dismissing it and then launching the app will cause it to crash. This is apparently a known issue on our version of React Native, 0.49.5:

The logcat crash log contains the following:

11-27 08:18:53.366 19540 19614 E AndroidRuntime: FATAL EXCEPTION: Thread-3
11-27 08:18:53.366 19540 19614 E AndroidRuntime: Process: com.brcamobile, PID: 19540
11-27 08:18:53.366 19540 19614 E AndroidRuntime: java.lang.RuntimeException: java.lang.InterruptedException
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.common.futures.SimpleSettableFuture.getOrThrow(SimpleSettableFuture.java:102)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl.startNewBackgroundThread(MessageQueueThreadImpl.java:199)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl.create(MessageQueueThreadImpl.java:146)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.bridge.queue.ReactQueueConfigurationImpl.create(ReactQueueConfigurationImpl.java:87)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.bridge.CatalystInstanceImpl.<init>(CatalystInstanceImpl.java:105)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.bridge.CatalystInstanceImpl.<init>(CatalystInstanceImpl.java:39)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.bridge.CatalystInstanceImpl$Builder.build(CatalystInstanceImpl.java:569)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1015)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.ReactInstanceManager.access$600(ReactInstanceManager.java:107)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.ReactInstanceManager$4.run(ReactInstanceManager.java:832)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:764)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: Caused by: java.lang.InterruptedException
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1326)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.common.futures.SimpleSettableFuture.get(SimpleSettableFuture.java:66)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	at com.facebook.react.common.futures.SimpleSettableFuture.getOrThrow(SimpleSettableFuture.java:100)
11-27 08:18:53.366 19540 19614 E AndroidRuntime: 	... 10 more
@jose920405
Copy link

In IOS too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants