Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Corona Warn App crashes without error shortly after startup #1542

Closed
Jonas164 opened this issue Nov 5, 2020 · 6 comments
Closed

Corona Warn App crashes without error shortly after startup #1542

Jonas164 opened this issue Nov 5, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@Jonas164
Copy link

Jonas164 commented Nov 5, 2020

Avoid duplicates

  • [ x ] Bug is not mentioned in the FAQ
  • [ x ] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
  • [ x ] Bug is not already reported in another issue

Describe the bug

My CWA on Android crashes every time I try to launch it. The splash screen with the CWA C-Logo appears for about 5 seconds before the app closes without presenting any error/feedback. During these 5 seconds, the phone becomes unresponsive (does not react to pressing of home/back button or even the hardware buttons.

Expected behaviour

The app doesn't close after 5 seconds without error.

Steps to reproduce the issue

Open the app and see it crash.

Im unsure on how to collect crash logs here.

Technical details

  • Mobile device: One Plus 6
  • Android version: Android 10
  • Oxygen OS version: 10.3.6

Possible Fix

Additional context

What I tried: Reinstalling the app, deleting all local data.

@Jonas164 Jonas164 added the bug Something isn't working label Nov 5, 2020
@MikeMcC399
Copy link
Contributor

@Jonas164
You didn't mention the version of the app. Is it 1.5.1?
Did reinstalling the app fix the issue or is the app still crashing? I assume it is still crashing, but wanted to be certain.

@Jonas164
Copy link
Author

Jonas164 commented Nov 5, 2020

@MikeMcC399
I have the latest app version 1.5.1.
Yes, app is still crashing. My tries did not fix the problem

@heinezen
Copy link
Member

heinezen commented Nov 5, 2020

Hello @Jonas164

Thanks for the feedback. Did the crashes appear after updating to version 1.5 or did they already happen before that?

Your bug might also be related to #1053 for which a workaround (#1053 (comment)) exists. However, #1053 was mostly an issue on Huawei devices and not on OnePlus.

Regards,
CH


Corona-Warn-App Open Source Team

@Jonas164
Copy link
Author

Jonas164 commented Nov 5, 2020

@heinezen I'm unsure if the crash happened before the update or after, I think it is like this for about 4 weeks now.

I might have figured out what causes this behaviour thanks to your link. When I clear my cache and local files, the app will start up just fine. When I lock my phone afterwards and let it idle for some minutes, cwa will once again start crashing on startup.
This must be an issue with my phones energy saving plan, even though I have it fully disabled for CWA. I will try to disable all the energy saving options I can find and hope for the best.

Wouldn't some error handling be a good idea in my case? It seems like just exiting the app when the database cant be decrypted isn't very intuitive. Maybe a warning to the user with advice on how to fix the problem?

@heinezen
Copy link
Member

heinezen commented Nov 5, 2020

@Jonas164 If your issue is indeed the same as in #1053, then it might be fixed in the release 1.6. The issue was originally addressed in 1.5 and 1.5.1 (see #1053 (comment)), but we are still receiving reports. However, we are working on solution for this.


Corona-Warn-App Open Source Team

@Jonas164
Copy link
Author

Jonas164 commented Nov 5, 2020

All right, I would close this then. Thanks alot for your work and stay healthy :)

@Jonas164 Jonas164 closed this as completed Nov 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants