android.os.StrictMode$StrictModeDiskReadViolation: policy=65543 violation=2

GitHub | aftabsikander | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Logging in hangs

    GitHub | 4 weeks ago | TobiasKappe
    android.os.StrictMode$StrictModeDiskReadViolation: policy=65543 violation=2
  2. 0

    Help resolve StrictMode policy violation

    GitHub | 3 months ago | aftabsikander
    android.os.StrictMode$StrictModeDiskReadViolation: policy=65543 violation=2
  3. 0

    Cannot call native function after "DELETE AND KILL"

    GitHub | 4 months ago | patrickwtl
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.getkeepsafe.relinker.sample-1/base.apk"],nativeLibraryDirectories=[/data/app/com.getkeepsafe.relinker.sample-1/lib/arm, /data/app/com.getkeepsafe.relinker.sample-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "libhello.so"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 3484#248922801

    GitHub | 6 months ago | blackkara
    com.getkeepsafe.relinker.MissingLibraryException: lib/armeabi-v7a/librealm-jni.so
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.os.StrictMode$StrictModeDiskReadViolation

    policy=65543 violation=2

    at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk()
  2. Android Platform
    StrictMode$AndroidBlockGuardPolicy.onReadFromDisk
    1. android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1263)
    1 frame
  3. Android
    IoUtils.canOpenReadOnly
    1. libcore.io.BlockGuardOs.open(BlockGuardOs.java:182)
    2. libcore.io.IoUtils.canOpenReadOnly(IoUtils.java:163)
    2 frames
  4. Android Platform
    BaseDexClassLoader.findLibrary
    1. dalvik.system.DexPathList$Element.findNativeLibrary(DexPathList.java:485)
    2. dalvik.system.DexPathList.findLibrary(DexPathList.java:400)
    3. dalvik.system.BaseDexClassLoader.findLibrary(BaseDexClassLoader.java:77)
    3 frames
  5. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:361)
    2. java.lang.System.loadLibrary(System.java:1076)
    2 frames
  6. com.getkeepsafe.relinker
    ReLinker.loadLibrary
    1. com.getkeepsafe.relinker.SystemLibraryLoader.loadLibrary(SystemLibraryLoader.java:24)
    2. com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal(ReLinkerInstance.java:163)
    3. com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(ReLinkerInstance.java:136)
    4. com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:70)
    5. com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:57)
    5 frames
  7. io.realm.internal
    RealmCore.loadLibrary
    1. io.realm.internal.RealmCore.loadLibrary(RealmCore.java:61)
    1 frame
  8. io.realm
    Realm.init
    1. io.realm.Realm.init(Realm.java:187)
    1 frame
  9. com.example.realmSample
    RealmApplication.onCreate
    1. com.example.realmSample.application.RealmApplication.setupRealmConfiguration(RealmApplication.java:49)
    2. com.example.realmSample.application.RealmApplication.initRealmConfiguration(RealmApplication.java:64)
    3. com.example.realmSample.application.RealmApplication.onCreate(RealmApplication.java:30)
    3 frames
  10. com.android.tools
    BootstrapApplication.onCreate
    1. com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:370)
    1 frame
  11. Android Platform
    ActivityThread.handleBindApplication
    1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
    2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
    2 frames