Miranda NG Official Community Forum
Forum for English speaking Miranda NG users => Bug reports => Topic started by: Myshor on 10 07 2018, 21:07:05
-
After today's upgrade my Miranda crashes every time db autobackup starts...
Crashlog in attachments.
Again I can work if I disable autobackup, but why should I? ;)
-
Could you please add debug symbols and reproduce that crash after that?
-
I changed Miranda to symbols and I don't see any difference.
Maybe it's a profile file problem 'cause it's huge... :o
almost 32MB.
-
I will take profile from work back home and check it... Maybe my profile blow up. :(
-
I wouldn't worry about that; my profile is 450MB now and it works fine :D
I don't know much about miranda code but I see some compact messages there:
https://github.com/miranda-ng/miranda-ng/commit/0ab599895f91e7ff61d69e7d4de8dcf90d12bce1
Maybe this is related? :o I dunno. This will need Ghazan I think.
-
I found some older backup of miranda on pendrive. imported profile from there and everything is working fine.
And I f**ked up. I didn't store broken profile as backup. Sorry...
-
The difference with symbols is that they help to produce useful crashlogs.
About problem itself we will see
https://github.com/miranda-ng/miranda-ng/issues/1462
-
Maybe this is related?
Compacting bug already fixed.
-
this bug is already fixed, precisely a day after the crash
-
Well I just foolishly tried compacting my profile with the latest miranda.
Profile got truncated to 1MB, everything lost :D
So I was like, you know, no problem. I got a bunch of backups via autobackup.
Turns out they're all dead. All of the autobackup profiles are faulty.
I'm pretty sad right now
-
Ticket created
https://github.com/miranda-ng/miranda-ng/issues/1489
-
Thanks.
Also, I managed to recover my data because I had a backup from a week ago when it worked for the last time, and I also keep message export enabled by default and I'm exporting into text files. I managed to do a diff of the current data vs the data in my profile, trim the exported text files and import them.. I may have lost some avatar change history since it doesn't get imported there I think, but at the same time I lost no history as far as text goes.
There you have it. Not awesome libmdbx, not autobackups but good ol' ImportTXT and messageexport saved my history...
This is why I'm reluctant to allow their deprecation until something that works "the same way" exists , @Ghazan :D
DB autobackups does not work properly either since a few days ago as well which I didn't notice (the db size is about 10-15 MB less than the actual db I'm using and when you try opening it, it just gets truncated to 1MB on open. Trying to use importer just says error.
EDIT:
Since I had to troubleshoot and repair the ImportTXT template for "MsgExport" data format, I'm submitting it as a pull request on github in case anyone else wants to use it; so they don't have to debug a gigantic regex too :p