Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Runtime Error when trying to decrypt .crypt12 database #46

Closed
ziyadss opened this issue Oct 23, 2017 · 17 comments
Closed

Runtime Error when trying to decrypt .crypt12 database #46

ziyadss opened this issue Oct 23, 2017 · 17 comments
Labels
Milestone

Comments

@ziyadss
Copy link

ziyadss commented Oct 23, 2017

After I load the database and key files and press OK, I get runtime error, of which a screenshot is attached
image

I tried using another laptop and the same error showed, so it could be related to my own files? I'm not sure & I don't have other files to try.

@andreas-mausch
Copy link
Owner

Uh! Could you provide me sample files to andreas.mausch@gmail.com?

@ziyadss
Copy link
Author

ziyadss commented Nov 1, 2017

I've used another application to decrypt the file, and the now decrypted .db file actually works with WhatsApp Viewer, so I guess the files weren't corrupted. If the files would still be of use to you, let me know, I'm okay with giving you them if it'd help you for anything.

@andreas-mausch
Copy link
Owner

Yes please, my applications should never crash. :)

@colgat
Copy link

colgat commented Nov 3, 2017

failed

доброго дня , что можете сказать , почему так вышло ? тесты на других делал , всё выходило а тут не как а информация очень нужная в файле, возможно помочь ?

@noise3
Copy link

noise3 commented Dec 1, 2017

When I try with a small database, the error does not appear. With a 200MB database, I get the same error

@avihaiamar1
Copy link

Hi Andreas, same issue with ~240MB Database..

image

@harshadmehta001
Copy link

Hi Buddy,
You have done a great job, I wanted to know if this application has any limitations related to the size of file. It is giving me run time error while decrypting file size of 133 mb.
Thanks

@andreas-mausch
Copy link
Owner

Hi @harshadmehta001, are you willing to share the database? I would take a look at it immediately then.
Currently decryption/uncompressing is done completely in memory, which is probably a bad idea regarding the growing file sizes.

@dwightyy
Copy link

dwightyy commented Apr 3, 2018

@andreas-mausch I had the same problem. With me it happens when i go "file > decrypt.crypt12 > input the 2 files", then i recieved this error. I found a workround doing via command line and worked fine with the same 2 files. I gonna try to make a video later if necessary.

@Khiago
Copy link

Khiago commented Apr 3, 2018

Hello @andreas-mausch :)

I got the same Runtime error above with a 400mb Database.
I don't find another way to decrypt it.
Can you help me?
I can send you the files, if you need them

Thanks in advance


EDIT: its a crypt12 database with key

@andreas-mausch
Copy link
Owner

@Khiago Yes, please send the files via wetransfer or dropsend to andreas.mausch@gmail.com

Thanks!

@Khiago
Copy link

Khiago commented Apr 13, 2018

Hello @andreas-mausch . Sorry to take long to anwser.
I tried to open my files with "my SQL" and got the same error, so i concluded that my files are corrupted.
I used SQLite to dump to another .db and with the health archive, your software worked great and i was able to read my almost 1gb decrypted database :)

Thanks

@nico89s
Copy link

nico89s commented Aug 13, 2018

I can confirm that runtime error happen when I try to decrypt db.crypt12 larger than 90MB. I try my october 2017 backup with 85MB and 86MB success decrypted. But when I try my December 2017 backup with 96MB file size it start to fail with runtime error message. Of course my newest 144MB database can't decrypted.

@javiersh2000
Copy link

Hi, runtime error in 150 and 200mb any help?
Thank you.

@andreas-mausch
Copy link
Owner

Thanks to whoever gave me the 400mb crypt12 file.
I was able to reproduce the bug finally.

image

I'm gonna enjoy the rest of the sun for today and come back to this in the evening.

andreas-mausch added a commit that referenced this issue Sep 20, 2020
Otherwise we can easily run out of memory for large database files
andreas-mausch added a commit that referenced this issue Sep 20, 2020
@andreas-mausch
Copy link
Owner

Fixed in v1.13

@andreas-mausch
Copy link
Owner

Sorry for the short delay of three years for such a major bug. 🤦

Thank you to everyone who sent me test data.

Hope this is now fixed for all possible database files.

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

No branches or pull requests

10 participants