GrapheneOS / Vanadium

Privacy and security enhanced releases of Chromium for GrapheneOS. Vanadium provides the WebView and standard user-facing browser on GrapheneOS. It depends on hardening in other GrapheneOS repositories and doesn't include patches not relevant to the build targets used on GrapheneOS.
https://vanadium.app/
Other
898 stars 69 forks source link

Some apps suddenly stopped working - presumed Vanadium update causing some knock on issue #377

Open bootlesshacker opened 1 year ago

bootlesshacker commented 1 year ago

Some apps (namely my banking app) stopped working today (crashed after launch). After testing multiple things, I wondered if a Vanadium update has caused some knock on effect (as I'm aware of another recent update that was rolled back that had unintended consequences for some other apps).

I downgraded Vanadium in my apps and it fixed the issue immediately. Oddly, reupgrading didn't reintroduce the problem.

Someone on the Element Matrix chat also confirmed they had this problem. Have there been any recent updates that could cause this issue to other apps?

thestinger commented 1 year ago

Which version of Vanadium do you have right now?

bootlesshacker commented 1 year ago

I reupgraded to 117.0.5938.153.0 - but the issue didn't reintroduce after upgrading (it did seem to wipe my cache/cookies in the browser though).

I'm not sure what the version was prior to downgrade though sorry but I will presume it was the same as auto-update is enabled and the issue only started this afternoon

User1966 commented 1 year ago

Environment: Pixel 6a, GrapheneOS stable I think: Pixel 6a Version: 2023100300

Reproduction Bug steps: GIVEN I have installed the latest grapheneOS release AND I have the latest 'grapheneOS apps' updated AND I am on a Google Play profile WHEN I try to open a banking app (can confirm privately?) THEN this crashes

Fix GIVEN I have navigated to the Owner Profile AND I have opened 'Graphene OS Apps' and Vanadium AND I have selected ... and Uninstall updates to factory version AND I have restarted phone/resintalled Vanadium to version: 117.0.5938.153.0 in Owner Profile AND I have switched to a profile with Google Play WHEN I reinstall the banking app THEN I can open the app without it crashing

I'm not sure what the version was prior to downgrade though sorry but I will presume it was the same as auto-update is enabled and the issue only started this afternoon

Same for me, I am same user as reported talking on matrix channel.

thestinger commented 1 year ago

I reupgraded to 117.0.5938.153.0 - but the issue didn't reintroduce after upgrading (it did seem to wipe my cache/cookies in the browser though).

Downgrading wipes app data.

thestinger commented 1 year ago

Vanadium 118.0.5993.48 is currently in the alpha channel of the app repository. We didn't move it past alpha because it triggers Mali GPU driver bugs on Android 13. It seems fixed by Android 14. Their rollout for Chroem is still at 0.1%:

https://chromiumdash.appspot.com/releases?platform=Android

bootlesshacker commented 1 year ago

Issue has just randomly reoccurred. I might have to leave it at the downgraded version?

bootlesshacker commented 1 year ago

I will hold off downgrading for now in case you need any crash dumps or anything - I'm happy to send them privately

thestinger commented 1 year ago

Can you get crash logs? Send them to @strcat:grapheneos.org via Matrix or daniel.micay@grapheneos.org via email.

bootlesshacker commented 1 year ago

On its way via e-mail. Thanks

thestinger commented 1 year ago

This doesn't really seem related to Vanadium but rather looks like an app bug. Try enabling exploit protection compatibility mode for the app.

bootlesshacker commented 1 year ago

I tried that - that seems to stop the app from loading all together and it just gets stuck on a splash screen. The app is now working for me again though without any further action from myself.

I can't really say whether it is related to Vanadium or not but it is unusual that the other user on Matrix was able to fix the issue with the same steps of revering Vanadium. Similarly, someone I know had the same crashing behaviour today on a different banking app to the one I use but they too were able to resolve by reverting Vanadium versions - it just seems like a set of strange coincidences with strange timing if unrelated to Vanadium