Menu

#1547 pwsafe64-3.56.0 crash when making many un-applied edits to existing entry

Next release
closed
None
Medium
2024-06-03
2021-09-21
P Lecheler
No

PWS crashes while making (many) updates to exiting entry. Don't know the exact sequence of steps but it seems like there are a large number of un-applied edits to an existing entry when it happens. Noticed it beginning with pwsafe64-3.55.0. Happened again today with pwsafe64-3.56.0. First time submitting a dmp file.

1 Attachments

Discussion

  • Rony Shapiro

    Rony Shapiro - 2021-09-22
    • status: open --> accepted
    • assigned_to: Rony Shapiro
     
  • Rony Shapiro

    Rony Shapiro - 2021-09-22

    According to the dmp file, the crash appears to be due to a bug in the incremental backup logic.
    How many files ending with ".ibak" do you have in your "My Safes" folder, and what numbers do the end with (e.g., pwsafe_990.ibak, pwsafe_991.ibak, etc.)?
    As a workaround, you might try moving the .ibak files to another directory.

     
  • P Lecheler

    P Lecheler - 2021-09-22

    Had the number of backups set to 999. Currently have 50 in the directory. The most recent backup from after the crash is numbered "blahblah_001.ibak". The previous backups in the directory run from "blahblah_954.ibak" through "blahblah_999.ibak".

    Did some additional testing. It looks like the backups are overwriting the "blahblah_001.ibak" file if I make one change or 5 (could be more but didn't test further) rather than incrementing to ...002.ibak, etc.

    Moving all iback files to another directory and restarting PWS has restored the expected behavior.

     
  • Rony Shapiro

    Rony Shapiro - 2021-09-23

    Working on fixing the crash and correcting the logic, but if you want so many backup files, you should set the backup suffix to "YMMDD_HHMMSS", which gives you unlimited backups.

     
  • Rony Shapiro

    Rony Shapiro - 2021-09-24
    • status: accepted --> pending
     
  • Rony Shapiro

    Rony Shapiro - 2021-09-24

    Fixed in commit a6e0ea29c, will be in next release.

     
  • P Lecheler

    P Lecheler - 2021-09-24

    Thanks for the quick turnaround.
    Didn't realize there was an alternative backup suffix. Don't recall seeing the option but then again I've been using PWS for years.

     
  • Rony Shapiro

    Rony Shapiro - 2021-10-05
    • Status: pending --> closed
     
  • Rony Shapiro

    Rony Shapiro - 2024-06-03
    • private: Yes --> No
     

Log in to post a comment.

MongoDB Logo MongoDB