Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Crash when exporting binary mms data #211

Open
1ycx opened this issue Sep 11, 2024 · 3 comments
Open

Crash when exporting binary mms data #211

1ycx opened this issue Sep 11, 2024 · 3 comments

Comments

@1ycx
Copy link

1ycx commented Sep 11, 2024

This is the stacktrace, captured using LogFox -

FATAL EXCEPTION: main
Process: com.github.tmo1.sms_ie, PID: 27185
java.util.zip.ZipException: duplicate entry: data/118.heic
	at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:234)
	at I0.v.h(SourceFile:519)
	at q1.b.c(SourceFile:9)
	at E1.A.run(SourceFile:97)
	at C.f.run(SourceFile:374)
	at L1.j.run(SourceFile:3)
	at L1.a.run(SourceFile:92)
	Suppressed: J1.g: [d0{Cancelling}@e7c23df, Dispatchers.Main]

This is the device info -

SDK: 34
PRODUCT_NAME: tokay
DEVICE_NAME: tokay
BOARD_NAME: tokay
SUPPORTED_ABIS: arm64-v8a
MANUFACTURER: Google
BRAND: google
MODEL: Pixel 9
@1ycx
Copy link
Author

1ycx commented Sep 11, 2024

Some more info, I was able to fix this by exporting my messages via SMS Backup and Restore (previously owned by carbonite) and re-importing, it detected some 11 duplicates which it didn't restore. Then I tried exporting with sms-ie again, it worked fine.

@1ycx
Copy link
Author

1ycx commented Sep 11, 2024

Feel free to ask for more information or close, as this has been resolved.

@tmo1
Copy link
Owner

tmo1 commented Sep 13, 2024

It looks as though your original Android message database has multiple MMS messages linked to the same binary file attachment, and Android's Zip libraries are throwing an exception when SMS I/E tries to add the same file / filename to the Zip archive multiple times. Can you look at the SMS Backup and Restore export and try to figure out what's going on? You can search through the XML for 118.heic and see if the export has multiple copies of the same MMS message, or different MMS messages that somehow refer to the same 118.heic file.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants