microg / microg/GmsCore

java.lang.SecurityException: MODE_WORLD_READABLE no longer supported

Open
#464 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Get a crash running Speed Test app with microG 0.2.4-108. The app works properly when running microG 0.2.4-107

This is with Android 7.1.2 (Lineage with microG).

01-03 13:02:24.313 22994 22994 D AndroidRuntime: Shutting down VM
01-03 13:02:24.469 22994 22994 E AndroidRuntime: FATAL EXCEPTION: main
01-03 13:02:24.469 22994 22994 E AndroidRuntime: Process: org.zwanoo.android.speedtest, PID: 22994
01-03 13:02:24.469 22994 22994 E AndroidRuntime: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at android.app.ContextImpl.checkMode(ContextImpl.java:2134)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:354)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:349)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.internal.zzbw.a(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.internal.zzbx.a(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.internal.zzby.a(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.internal.zzq.<init>(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.internal.zzq.<init>(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.internal.zzb.<init>(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.internal.zzc.<init>(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.internal.zzf.<init>(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.internal.client.zze.zza(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.internal.client.zzz.b(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.internal.client.zzz.a(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.internal.client.zzz.zza(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.google.android.gms.ads.doubleclick.PublisherAdView.loadAd(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.ookla.speedtest.bannerad.a.b(SourceFile:381)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.ookla.speedtest.bannerad.a.a(SourceFile:326)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.ookla.speedtest.bannerad.a$1$1.a(SourceFile:309)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.ookla.speedtest.bannerad.a$1$1.a(SourceFile:306)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.ookla.speedtest.nativead.google.d$5.a(SourceFile:153)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.ookla.speedtest.nativead.google.d$5.onReceiveValue(SourceFile:150)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.monet.monetbidder.a$1$1$1.run(Unknown Source)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:751)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6186)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
01-03 13:02:24.469 22994 22994 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
01-03 13:02:24.478  3861  9926 W ActivityManager:   Force finishing activity org.zwanoo.android.speedtest/com.ookla.speedtest.softfacade.MainActivity

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Speed Test app crash with microG 0.2.4-108 on Android 7.1.2 and compare it with 0.2.4-107. Start with the reported ContextImpl.getSharedPreferences failure and the com.google.android.gms ads initialization frames. Done means the app no longer crashes during ad loading; no source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.