Editing/saving address book sometimes corrupts it
Sometimes, but unfortunately not always, when I make a change in the address book and save it, the next time I start YAM, it crashes. When i check the contents of the .addressbook file, it has rearranged the entries and among other things put all the @ENDGROUP lines together at the end of the file.
I have tried starting a fresh address book and making a few groups and persons to see if I could reproduce it for this report, but unfortunately not. Today I even tried restoring my address book from my nightly backup and re-doing the exact change which made it happen, and it didn't happen again.
Steps to reproduce
A crash; sometimes a DSI (in fact many after each other, when one is ignored, the next one comes - eventually I just reboot), sometimes an "Unknown". I noticed LoadABook (or similar) close to the top. And I also see in the loading progress messages in the splash window that the address book is currently being loaded.
Sorry for the imperfect report. I thought I would be able to reproduce a "clean" test case and save a crash log from it, but couldn't (see above). I'll attach a crash log later if I get one. But it may not be so relevant - the crash is obviously caused by the already corrupted address book file, so the problem must be in the saving or editing of the address book. Anyway, I thought it was better to make this report than to keep silent about it.
Change History (3)
Note: See TracTickets for help on using tickets.
This list contains all users that will be notified about changes made to this ticket.
These roles will be notified: Reporter, Owner, Subscriber