#933 initial conditions problem w/ 0.3beta under linux

open
Saurav Ghosh
Linux (72)
5
2012-09-17
2010-12-22
steve rader
No

When I click the OK button when entering the first record
with no existing password database under RHEL5, pwsafe crashes
and says...

pwsafe: passwordsafeframe.cpp:832: int PasswordSafeFrame::Save(PasswordSafeFrame::SaveType): Assertion `0' failed.

The work-around is to "Save as" an empty database first.

Discussion

  • Saurav Ghosh
    Saurav Ghosh
    2010-12-24

    If you have "Save database immediately after Add or Edit" enabled in preferences, pwsafe will prompt you for a file name to save as after each add/edit. If you don't have that setting enabled, pwsafe will ask you to save when you quit the app.

     
  • steve rader
    steve rader
    2010-12-27

    Sender: sauravg
    If you have "Save database immediately after Add or Edit" enabled in
    preferences, pwsafe will prompt you for a file name to save as after
    each add/edit. If you don't have that setting enabled, pwsafe will
    ask you to save when you quit the app.

    Near as I can tell, the above comment doesn't apply and this bug is not fixed.
    I just re-verified that psafe 3.24.1 on my RHEL5 system crashes when I try
    to save a new record with no preferences set (e.g. ~/.pwsafe does not even
    exist and I do nothing but open a new database and try to add a record.)

     
  • DrK
    DrK
    2010-12-27

    Saurav: In the Windows version V3.24.1 under Windows (not Wine under Linux), when you create a new database, it is saved even though empty. Then, if you have the preference "Save database immediately after Add or Edit" enabled, then it saves any changes without prompting for a file name.

    Steve: you keep mentioning PasswordSafe 3.24.1 under RHEL5. However 3.24.1 is the Windows version number. Do you mean the Linux BETA version 0.3, which was released at the same time as the above Windows version?

    David

     
  • steve rader
    steve rader
    2010-12-27

    Steve: you keep mentioning PasswordSafe 3.24.1 under RHEL5. However 3.24.1
    is the Windows version number. Do you mean the Linux BETA version 0.3,
    which was released at the same time as the above Windows version?

    ...I referring to a pwsafe binary I built using the pwsafe-3.24.1-src.zip file available at
    https://sourceforge.net/projects/passwordsafe/files/passwordsafe/3.24.1/

     
  • Saurav Ghosh
    Saurav Ghosh
    2010-12-28

    David - yes I know. That's what I added to rev# 3869 to fix this.

    Steve - its fixed in trunk (rev # 3869). Sorry, should have mentioned that in my comments. It was'nt anything to do with Fedora, RHEL etc. Was a general bug with all versions of wxWidgets port.