#985 Corrupt database

v1.0_(example)
closed
Linux (81)
5
2014-08-24
2011-09-03
Jeff
No

I have kept password safe running, but locked and a few times when I go to unlock it, it crashes and won't open the file again. I can open the same file fine on windows, save it then open it again. linux version 0.6

Discussion

  • Saurav Ghosh

    Saurav Ghosh - 2011-09-04

    What's your Linux distro? Can you generate a stack trace (may be by running it under gdb or something)? Is there a core?

     
  • Jeff

    Jeff - 2011-09-04

    I am using Xubuntu 11.04 64 bit.

    pwsafe: UTF8Conv.cpp:165: bool CUTF8Conv::FromUTF8(const unsigned char*, size_t, StringX&): Assertion `wcLen != 0' failed

    Program received signal SIGABRT, Aborted.
    0x00007faafb8c8d05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
    (gdb) bt

    0 0x00007faafb8c8d05 in raise () from /lib/x86_64-linux-gnu/libc.so.6

    1 0x00007faafb8ccab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6

    2 0x00007faafb8c17c5 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6

    3 0x0000000000534027 in ?? ()

    4 0x00000000005192eb in ?? ()

    5 0x000000000051a7ca in ?? ()

    6 0x00000000005025e4 in ?? ()

    7 0x0000000000432b79 in ?? ()

    8 0x000000000044da00 in ?? ()

    9 0x000000000044ff83 in wxAppConsole::CallOnInit() ()

    10 0x00007faafd355524 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0

    11 0x000000000044b966 in ?? ()

    12 0x00007faafb8b3eff in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6

    13 0x000000000042d2f9 in ?? ()

    14 0x00007fff4ebdbe18 in ?? ()

    15 0x000000000000001c in ?? ()

    16 0x0000000000000001 in ?? ()

    17 0x00007fff4ebdc5a9 in ?? ()

    18 0x0000000000000000 in ?? ()

    (gdb) list

    I can download the source and compile it with debugging if you need more information.
    This has happened to me twice with the same database. After I opened it on windows i opened it on linux. I had it open and later went to unlock it and pwsafe just closed and wouldn't open it again.

     
  • Saurav Ghosh

    Saurav Ghosh - 2011-09-04

    I think this was fixed with 3357926. Also see 3310798.

    If you can check out the code from svn and build it, it wouldn't be a problem anymore. If not, the fix will be available in the next release.

     
  • Jeff

    Jeff - 2011-09-04

    This appears to be working now. Thank you. I will keep testing it.

     
  • Rony Shapiro

    Rony Shapiro - 2013-01-09
    • status: pending --> closed
    • milestone: --> v1.0_(example)
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks