Keepass version: 2.32 (Dev) and 2.33
Distro: Gentoo and Archlinux
WM: i3
Since updating in the past few days, both my buddy and I experiance segfaults by simply pressing the windows key with keepass being the focused window. While the message leads us to believe it's unrelated to keepass, keepass is the only application we've found to be affected.
SendMessage (20971562, 0x112c, 0x4, 0x4)
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Windows.Forms.X11Keyboard.Xutf8LookupString (intptr,System.Windows.Forms.XEvent&,byte[],int,intptr&,System.Windows.Forms.XLookupStatus&) <0x000a4>
at System.Windows.Forms.X11Keyboard.LookupString (System.Windows.Forms.XEvent&,int,System.Windows.Forms.XKeySym&,System.Windows.Forms.XLookupStatus&) <0x000c3>
at System.Windows.Forms.X11Keyboard.EventToVkey (System.Windows.Forms.XEvent) <0x0003f>
at System.Windows.Forms.X11Keyboard.ToUnicode (int,int,string&) <0x0035f>
at System.Windows.Forms.X11Keyboard.TranslateMessage (System.Windows.Forms.MSG&) <0x00127>
at System.Windows.Forms.XplatUIX11.TranslateMessage (System.Windows.Forms.MSG&) <0x00023>
at System.Windows.Forms.XplatUI.TranslateMessage (System.Windows.Forms.MSG&) <0x0001f>
at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x00cf7>
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x00057>
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00033>
at KeePass.Program.Main (string[]) <0x00bde>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000c8>
Native stacktrace:
mono() [0x4ac77f] mono() [0x50014e] mono() [0x428653] /usr/lib/libpthread.so.0(+0x10ef0) [0x7ff95ca9cef0] /usr/lib/libc.so.6(strlen+0x26) [0x7ff95c552d76] /usr/lib/libX11.so.6(_XimLocalUtf8LookupString+0xeb) [0x7ff958235b1b] [0x41800d25]
Debug info from gdb:
=================================================================
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.
=================================================================
[1] 2345 abort (core dumped) keepass
As it can be seen from the stack trace, there's no KeePass code involved. This issue must be fixed in Mono.
Best regards,
Dominik
See https://sourceforge.net/p/keepass/bugs/1545/#1618 for a workaround.
I'm happy to report that with Mono 5.4.0.201, this bug seems to have been fixed: For me, KeePass does not crash anymore.
That's great; thanks for the info.