-
Notifications
You must be signed in to change notification settings - Fork 493
Corona-Warn wird wiederholt beendet #1121
Comments
Hi @creiser-jambit, thanks for sharing your content. I will keep this issue and will discuss this internally with our development team. I will come back to you as soon as possible. Thanks, Corona-Warn-App Open Source Team Internal Tracking ID: EXPOSUREAPP-2571 |
A similar problem has been reported in #642 (comment) by @Annie-G (with a possible workaround described below). This issue could also be related to #1053. |
I'm having this crash now as well on my P8 lite with Android 6.0.1. I would provide detailed logs if you think they'd help for debugging, but I would prefer not posting them in public. |
Thank you for your efforts @alois31 This bug might be also related to #933 (comment) |
Hi @alois31 , I'll try to compile some first-aid instructions related to the app crash in issue #1053 during the next hours. I'll also add instructions for additional settings especially for Huawei P8 lite in that same issue. Will notify you from here, when it's finished. |
Hi @alois31 , But when you're able to provide debug logs, you might not need such information on how to reset CWA 😉. Anyway, some of the additional Huawei settings might be of interest for you (one comment below that linked one). If you still want to provide your debug logs, you can contact me on slack: |
Regarding the comment by @svengabr, my issue might be related in the sense that it's caused by aggressive background termination (until the crashes started, background update worked though; I had to reset the apps multiple times already because of #642). I had the same stack trace as the reporter on the Pixel in this issue (ignoring line number differences because the Android version is different), so I thought to post here. I have now added CWA to the protected apps list as suggested by @vaubaehn (I doubt that Huawei will roll out an update to my phone, given that it didn't receive any updates for ~2y now). I didn't find the usage data setting, but that seems to be a red herring because the NPE happens only after CWA has crashed (presumably the LogCollectManager would be like to show a stack trace screen like in this issue report). I have provided logs to @vaubaehn and will reset CWA now. If the issue happens again despite CWA being protected, I will report back. |
Hi @alois31 ,
👍
Could you do me a favor and try to find out, where it is located (not having a EMUI 4 phone here...)?
I understand your concern here, and I am also not sure, if crashes can be avoided by deactivating logging of LogCollectManager.
However, if that was true, I assume a bug in CWA to be the reason to crash the hooking LogCollectManager, without the bug having any effect on JVM at the runtime on other devices. One reason why the crash is occuring occasionally, is that LogCollectManager may randomly analize user behavior, or there needs to be a specific context to trigger that crash -> for example, when CWA's playbook gets active from time to time!
Thank you very much for your support and trust! I will handle them with care. Not sure if I find time today to have a look, but during the next week should be possible to have a peek. See you! Edit: Everything I wrote above about LogCollectManager has the following pre-assumption:
|
Dear all, |
Okay, I have found the usage data setting now: "Einstellungen" > "Einstellungen" [sic] > "Sicherheit" > "Apps mit Nutzungsdatenzugriff". I didn't find "Huawei Mobile Services" there, but it was already off for "HMS Core" and "Huawei Services Framework". CWA crashes again now with the same stack trace. My theory what's happening is the following:
The P8 lite is probably a low-end phone by today's standards, and Huawei is known to employ aggressive battery optimizations. Do bugs #642 and this one also occur more frequently on low-end phones from other manufacturers that employ aggressive battery optimization? I have also found another setting now: "Einstellungen" > "Apps" > "Erweitert" > "Optimierungen ignorieren", which was not allowed for CWA, and I had to set first re-set it to not allowed before I could toggle it to allowed. I have set it to allowed now and reset CWA again. |
A potential fix is coming with PR #1235 (targeted for CWA 1.4) 🙂. |
Relates to #642 |
@creiser-jambit Thank you for sharing your stacktrace. The stacktrace looks different due to changes I made to the encryption related code (#1235). It retries a few times until surfacing the original cause (note the Do you know whether the error condition existed before you upgraded to 1.5.0+? The new code should prevent it from happening on 1.5.0+, but it's not a state that can be recovered from if pre-existing. (There should have been an automatic reset but there's a bug in that due to a mistake I made (see #1433).) So if the error state existed before the upgrade, then this is working as expected, but if you already were on 1.5.0 and there was no error initially, then this is a new issue. |
The crash took place last thursday - 15.10.2020. When looking in the play store app, it states "update 8 hours ago" (I use auto-updating). Unfortunately I am not able to find a release-history/changelog. |
Hi @creiser-jambit , just to give you some additional information: |
Dear @vaubaehn , |
This issue with the label "hot topic" hasn't had any further comments in it lately. The last mentioned version was 1.6 which was released on Nov 11, 2020. The current version is 1.7.1. |
@MikeMcC399, thanks. We keep this one open for the moment. Best wishes, Corona-Warn-App Open Source Team |
We cannot reproduce this on newer versions CWA >1.5, so this is probably fixed. This issue will therefore be closed. Corona-Warn-App Open Source Team |
Avoid duplicates
Describe the bug
I use the Warn app for ~2 Month now. I had not issues until recently. Unfortunately now it is no longer possible to open the app. When trying to open the app i get the message "Corona Warn app is beeing terminated repeatedly".
Expected behaviour
When launching the app by selecting the icon, the app should be displayed on the screen
Steps to reproduce the issue
Technical details
Possible Fix
Delete all app Data. I have not tried, since I would prefer not to loose my contact history.
Additional context
Internal Tracking ID: EXPOSUREAPP-2571
The text was updated successfully, but these errors were encountered: