sadme
Posts: 11
Joined: Sun Mar 31, 2013 5:46 pm

KeePass2 won't start

Thu Aug 15, 2013 6:28 am

Hi All,

I'm trying to run KeePass2 on Raspbian, but all I get is a segfault. It's a stock version installed via apt-get.

Code: Select all

pi@raspberrypi ~ $ keepass2 
Stacktrace:

  at System.Drawing.Font.CreateFont (string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool) <0x00147>
  at System.Drawing.Font..ctor (string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool) <0x0007f>
  at System.Drawing.Font..ctor (string,single,string) <0x00057>
  at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor (string,single,string) <0xffffffff>
  at System.Drawing.SystemFonts.get_DefaultFont () <0x0007b>
  at System.Windows.Forms.Theme..ctor () <0x00033>
  at System.Windows.Forms.ThemeWin32Classic..ctor () <0x00013>
  at System.Windows.Forms.ThemeVisualStyles..ctor () <0x00013>
  at System.Windows.Forms.ThemeEngine..cctor () <0x00083>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.X11DesktopColors..cctor () <0x000bf>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.XplatUIX11..ctor () <0x001af>
  at System.Windows.Forms.XplatUIX11.GetInstance () <0x00073>
  at System.Windows.Forms.XplatUI..cctor () <0x00157>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.Application.EnableVisualStyles () <0x00023>
  at KeePass.Program.Main (string[]) <0x00043>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:


Debug info from gdb:

Cannot access memory at address 0x0
Cannot access memory at address 0x0
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb6618460 (LWP 2606)]
0xb6e827d0 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0
  Id   Target Id         Frame 
  2    Thread 0xb6618460 (LWP 2606) "cli" 0xb6e81700 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
* 1    Thread 0xb6f57000 (LWP 2605) "cli" 0xb6e827d0 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0

Thread 2 (Thread 0xb6618460 (LWP 2606)):
#0  0xb6e81700 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0x00195a40 in mono_sem_wait ()
#2  0x000ea384 in ?? ()
#3  0x000ea384 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb6f57000 (LWP 2605)):
#0  0xb6e827d0 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6e82044 in __pthread_enable_asynccancel () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0x00096e60 in ?? ()
#3  0x00096e60 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================


Did anyone manage to run this application? Are there any alternatives, or should I really leave it alone and convert my DB to version 1 - it seems like it has less exotic dependencies.

sadme
Posts: 11
Joined: Sun Mar 31, 2013 5:46 pm

Re: KeePass2 won't start

Thu Aug 15, 2013 10:25 am

Found a workaround. There's an alpha version of KeePassX that supports v2 databases. It needs CMake to compile, libqt4-dev and libcrypt11-dev.

dafloor
Posts: 4
Joined: Wed Mar 12, 2014 8:34 pm

Re: KeePass2 won't start

Mon May 16, 2016 12:05 pm

Hello,

I just posted an answer here:
viewtopic.php?f=63&t=116469

Hope it helps.

Return to “Raspberry Pi OS”