Reputation: 591
I am working on a native android app & getting the following report in my Crashlytics but I am unable to figure the the exact reason for this.
I have two activities SplashActivity
and MapActivity
in my app. There are lot of things going on in the MapActivity
which are a bit memory consuming.
LocationManager
for getting nearby places from server.Retrofit
)AsyncTask
)Crash Report :
java.lang.RuntimeException: android.os.DeadSystemException
at android.app.ActivityThread.handleSleeping(ActivityThread.java:4403)
at android.app.ActivityThread.-wrap23(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1893)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6938)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Caused by: android.os.DeadSystemException
Devices affected:
What I have read already:
Unfortunately, these links were not really helpful. I am sure the device wasn't restarting while it crashed. And, other apps work fine on the device. I do not own that device, I am just getting these in my Crashlytics.
If atleast I get to reproduce it on some device in the cloud for ex. using GenyMotion & get hands on the LogCat logs, it would be of great help.
Thanks!
Upvotes: 37
Views: 4476
Reputation: 16
Probably the issue is with Samsung devices. There is nothing you can do,its their OS problem.
You can read here.
https://forum.developer.samsung.com/t/deadsystemexception/859
Upvotes: 0