androidmultithreadingcrashlyticsfabric.io

Unknown bug "Thread starting during runtime shutdown"


I'm using Fabric to report crash for my app. I have received those report for a very long time and the number of crashes keep increasing.

Fatal Exception: java.lang.InternalError: Thread starting during runtime shutdown
   at java.lang.Thread.nativeCreate(Thread.java)
   at java.lang.Thread.start(Thread.java:730)
   at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:941)
   at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1009)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1151)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
   at java.lang.Thread.run(Thread.java:761)

There is also a list of 62 Threads attached with this report, I can post it here if you guys want.

I have no idea which part of code cause this or how to replicate the bug. So I hope you can guide me to find and solve this case.


Solution

  • I had the same issue...

    I have updated the fabric plugin, then updated the twitter sdk..

    then clean my project and rebuild the apk..my error has been gone.

    some time this error occurred while some ANR occurs.