Bug #5545
uninstall/reinstall with media store on SD card causes crash
Status: | New | Start date: | 07/23/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | v14.2.1 | |||
Component: |
Description
I had my media store on my SDCard since I had ChatSecure installed for a while. I ROMed my phone, so ChatSecure was uninstalled but the media store was left on the SDCard. When installing ChatSecure again, it cannot unlock that media store since the cacheword file was deleted when ChatSecure was uninstalled (or the device was ROM'ed).
Here's the crash:
java.lang.IllegalArgumentException: Could not mount filesystem in /storage/emulated/0/Android/data/info.guardianproject.otr.app.im/files/media.db, bad password given? at info.guardianproject.iocipher.VirtualFileSystem.mount(Native Method) at info.guardianproject.iocipher.VirtualFileSystem.mount(VirtualFileSystem.java:216) at info.guardianproject.otr.app.im.app.ChatFileStore.init(ChatFileStore.java:201) at info.guardianproject.otr.app.im.app.LockScreenActivity.onCacheWordOpened(LockScreenActivity.java:438) at info.guardianproject.cacheword.CacheWordHandler.checkCacheWordState(CacheWordHandler.java:355) at info.guardianproject.cacheword.CacheWordHandler.access$100(CacheWordHandler.java:24) at info.guardianproject.cacheword.CacheWordHandler$1.onReceive(CacheWordHandler.java:386) at android.support.v4.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:297) at android.support.v4.content.LocalBroadcastManager.access$000(LocalBroadcastManager.java:46) at android.support.v4.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:116) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5001) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method)
Related issues