Crash on startup: RuntimeException: Unknown version when parsing files/permissions.bin (Opera for Android 103.2 & 104.1)
-
oleg060 last edited by
Hi Opera for Android team,
Opera crashes immediately on startup (right after the splash screen) due to an uncaught RuntimeException when reading files/permissions.bin. Because the exception is unhandled on the main thread, it creates a startup bootloop that blocks access to the browser and all local profile data.
Environment:
- Device: Samsung Galaxy A25 5G (SM-A256E/DSN)
- OS: Android 16 (stock, unrooted)
- App Package: com.opera.browser
- Affected Versions: 103.2.5234.90977 (Oct 2026) and continues to reproduce after updating to the latest 104.1 build (Nov 2026)
Crash Stack Trace:
java.lang.RuntimeException: Unknown version at yyn.o(SourceFile:2) at vx5.w(SourceFile:98) at qzc.onPostExecute(SourceFile:130) at android.os.AsyncTask.finish(AsyncTask.java:773) at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:790) at android.os.Handler.dispatchMessage(Handler.java:132) at android.os.Looper.dispatchMessage(Looper.java:358) at android.os.Looper.loopOnce(Looper.java:288) at android.os.Looper.loop(Looper.java:392) at android.app.ActivityThread.main(ActivityThread.java:10346) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:638) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:972)Root Cause & Suggested Fix:
- Cause: During startup initialization, qzc.onPostExecute reads files/permissions.bin, and the parser (vx5.w) throws RuntimeException("Unknown version") via yyn.o when encountering a format version byte other than 1.
- Impact: Because this exception escapes recovery handlers, any user whose permissions.bin gets corrupted is permanently locked out of their profile without root access (and clearing app data destroys all local tabs, passwords, and sessions).
- Requested Fix: Please wrap the permissions.bin deserialization in a try/catch block so that if Unknown version (or file corruption) occurs, Opera safely resets/recreates only permissions.bin instead of crashing the entire process.
Could a moderator please forward this stack trace to the Android dev team? Thank you!