Skip to content

import message crash at the end #142

@ma2thieu

Description

@ma2thieu

Hello, I'm experiencing a crash when importing messages, it happens at the end of MMS importing.

In messages-2023-12-05.zip there is messages.ndjson and a folder data with all the images.
After the crash I can see all the messages in my SMS app but no image.

System : GrapheneOS
SMS App : QKSMS

During import I see a lot of lines like this :

12-05 22:55:07.205  2790  3008 W System  : A resource failed to call AbstractCursor.close. 

And when it crashes at the end :

12-05 22:55:08.307  9093  9093 E AndroidRuntime: FATAL EXCEPTION: main
12-05 22:55:08.307  9093  9093 E AndroidRuntime: Process: com.github.tmo1.sms_ie, PID: 9093
12-05 22:55:08.307  9093  9093 E AndroidRuntime: java.io.FileNotFoundException: No entry for content://mms/part/1248
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:151)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:737)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1897)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at android.content.ContentResolver.openOutputStream(ContentResolver.java:1595)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at android.content.ContentResolver.openOutputStream(ContentResolver.java:1569)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at b2.w.h(SourceFile:2)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at h3.a.b(SourceFile:1)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at u3.a0.run(SourceFile:1)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at kotlinx.coroutines.internal.d.run(Unknown Source:11)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at kotlinx.coroutines.scheduling.i.run(Unknown Source:2)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	at kotlinx.coroutines.scheduling.a.run(SourceFile:77)
12-05 22:55:08.307  9093  9093 E AndroidRuntime: 	Suppressed: u3.y: [c1{Cancelling}@6b30e06, Dispatchers.Main]

Let me know if you need more log.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions