[Urgent] Crashes in v2.6.5
See original GitHub issueWe are getting a lot of crashes in v2.6.5 production, with a crash rate of 4.27%, more than in previous versions. This has unfortunately led to a lot of uninstalls. 😦 The majority of the crashes seem to be related to Dagger. I have pasted them below:
- 11 reports, 8 users using Android 8.0 and 8.1:
Pixel 2 XL (taimen) | 3 | 27.3% Nexus 6P (angler) | 3 | 27.3% Pixel (sailfish) | 2 | 18.2% Pixel XL (marlin) | 1 | 9.1% Others | 2 | 18.2%
java.lang.RuntimeException:
at android.app.ActivityThread.handleCreateService (ActivityThread.java:3349)
at android.app.ActivityThread.-wrap4 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1677)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6494)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)
Caused by: java.lang.RuntimeException:
at dagger.android.AndroidInjection.inject (AndroidInjection.java:134)
at dagger.android.DaggerService.onCreate (DaggerService.java:27)
at fr.free.nrw.commons.HandlerService.onCreate (HandlerService.java:55)
at fr.free.nrw.commons.upload.UploadService.onCreate (UploadService.java:122)
at android.app.ActivityThread.handleCreateService (ActivityThread.java:3339)
- 21 reports, 7 users using Android 7.0 and 7.1:
Moto G(4) (athene) | 5 | 33.3% Moto G (5) Plus (potter_n) | 4 | 26.7% Moto G (5S) (montana) | 2 | 13.3% Aquaris U (chaozu) | 2 | 13.3%
java.lang.RuntimeException:
at android.app.ActivityThread.handleCreateService (ActivityThread.java:3544)
at android.app.ActivityThread.-wrap6 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1732)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6776)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1496)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1386)
Caused by: java.lang.RuntimeException:
at dagger.android.AndroidInjection.inject (AndroidInjection.java:134)
at dagger.android.DaggerService.onCreate (DaggerService.java:27)
at fr.free.nrw.commons.HandlerService.onCreate (HandlerService.java:55)
at fr.free.nrw.commons.upload.UploadService.onCreate (UploadService.java:122)
at android.app.ActivityThread.handleCreateService (ActivityThread.java:3534)
- 5 reports, 2 users using Android 7.1, both using RedMi phones.
java.lang.RuntimeException:
at fr.free.nrw.commons.contributions.ContributionsActivity$1.onServiceDisconnected (ContributionsActivity.java:97)
at android.app.LoadedApk$ServiceDispatcher.doConnected (LoadedApk.java:1457)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run (LoadedApk.java:1489)
at android.os.Handler.handleCallback (Handler.java:754)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:163)
at android.app.ActivityThread.main (ActivityThread.java:6361)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:794)
- 10 reports, 5 users using Android 7.0 and 7.1:
Galaxy J7 Pro (j7y17lte) | 2 | 25.0% Galaxy J5(2016) (j5xnlte) | 2 | 25.0% Galaxy S7 (heroqltespr) | 2 | 25.0% Galaxy S8 (dreamlte) | 2 | 25.0%
java.lang.RuntimeException:
at android.app.ActivityThread.handleCreateService (ActivityThread.java:3193)
at android.app.ActivityThread.-wrap5 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1563)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6123)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:757)
Caused by: java.lang.RuntimeException:
at dagger.android.AndroidInjection.inject (AndroidInjection.java:134)
at dagger.android.DaggerService.onCreate (DaggerService.java:27)
at fr.free.nrw.commons.HandlerService.onCreate (HandlerService.java:55)
at fr.free.nrw.commons.upload.UploadService.onCreate (UploadService.java:122)
at android.app.ActivityThread.handleCreateService (ActivityThread.java:3183)
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
4.4.2 Accident Recordkeeping (Accident Register) (390.15)
Motor carriers are required to maintain a register of all crashes (as defined in 49 CFR 390.5T) that occurred in the past 3...
Read more >China Plane Crash: Boeing 737-800 Crashes in Remote ...
Rescuers on the scene found debris and fires, and a lack of electricity hampered rescue efforts overnight. Search efforts are set to ...
Read more >Teen Drivers and Passengers: Get the Facts | Injury Center
The fatal crash rate at night among teen drivers (ages 16–19 years) is about 3 times as high as that of adult drivers...
Read more >Car Crash TV S01E01 | Blue Light - Police & Emergency
Discover a breed of driver dubbed White Lada Man and make way for some frighteningly careless truckers. Later, the `CSI: Crash Scene ...
Read more >Top 10 Most Expensive Car Crash Test Of All Time - YouTube
Top 10 Most Expensive Car Crash Test Of All ... 5) Mercedes-Benz SLS AMG 4) Lamborghini Murciélago 3) Bugatti Veyron 2 ) Koenigsegg...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@psh This could very well be our source of crashes. I will refactor the usage of these dagger classes.
@nicolas-raoul I think @maskaravivek is currently working on a Dagger refactor based on the advice received here. Since it will likely only take a few more days, I figured we could wait for that and then do a beta release with that.