I could use assistance with this issue. I am running a fresh Xenial 16.04 LTS installation, joined the ppa:jtaylor/keepass repository and then installed:
KeePass2 does a core dump at launch. I did install KeyPassX 2.0.2-1 and it works fine but I prefer KeePass2 due to the integration with KeeFox. Here is the core dump. It looks like mono is crashing. I don't know how to resolve this one:
mono /usr/lib/keepass2/KeePass.exe
SendMessage (65011756, 0x112c, 0x4, 0x4) [xcb] Too much data requested from _XRead [xcb] This is most likely caused by a broken X extension library [xcb] Aborting, sorry about that.
mono: ../../src/xcb_io.c:736: _XRead: Assertion `!xcb_xlib_too_much_data_requested' failed.
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Windows.Forms.X11Keyboard.XCreateFontSet (intptr,string,intptr&,int&,intptr) <0xffffffff>
at System.Windows.Forms.X11Keyboard.CreateOverTheSpotXic (intptr,intptr) <0x000bf>
at System.Windows.Forms.X11Keyboard.CreateXic (intptr,intptr) <0x000d7>
at System.Windows.Forms.X11Keyboard.CreateXicForWindow (intptr) <0x00037>
at System.Windows.Forms.X11Keyboard.FocusIn (intptr) <0x0009b>
at System.Windows.Forms.XplatUIX11.SetFocus (intptr) <0x000bb>
at System.Windows.Forms.XplatUI.SetFocus (intptr) <0x0001f>
at System.Windows.Forms.ContainerControl.SendControlFocus (System.Windows.Forms.Control) <0x00097>
at System.Windows.Forms.Form.SetVisibleCore (bool) <0x00767>
at System.Windows.Forms.Control.set_Visible (bool) <0x00032>
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>
at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x0033f>
at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window) <0x008bf>
at System.Windows.Forms.Form.ShowDialog () <0x0000f>
at System.Windows.Forms.MessageBox/MessageBoxForm.RunDialog () <0x00073>
at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm.RunDialog () <0xffffffff>
at System.Windows.Forms.MessageBox.Show (System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton) <0x0007f>
at KeePassLib.Utility.MessageService.SafeShowMessageBox (string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton) <0x003e3>
at KeePassLib.Utility.MessageService.ShowWarningPriv (object[],bool) <0x000c3>
at KeePassLib.Utility.MessageService.ShowWarning (object[]) <0x0000f>
at KeePass.Plugins.PluginManager.ShowLoadError (string,System.Exception,KeePassLib.Interfaces.IStatusLogger) <0x0037b>
at KeePass.Plugins.PlgxPlugin.Load (string,KeePassLib.Interfaces.IStatusLogger) <0x00247>
at KeePass.Plugins.PluginManager.LoadAllPlugins (string,System.IO.SearchOption,string[]) <0x0023f>
at KeePass.Forms.MainForm.OnFormLoad (object,System.EventArgs) <0x03367>
at System.Windows.Forms.Form.OnLoad (System.EventArgs) <0x00071>
at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs) <0x0007f>
at System.Windows.Forms.Form.OnCreateControl () <0x0004f>
at System.Windows.Forms.Control.CreateControl () <0x0011f>
at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message&) <0x00167>
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x002d7>
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message&) <0x00013>
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message&) <0x0005b>
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&) <0x00257>
at KeePass.Forms.MainForm.WndProc (System.Windows.Forms.Message&) <0x00223>
at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00024>
at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00036>
at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0031c>
at System.Windows.Forms.XplatUIX11.SendMessage (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0044f>
at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd,System.Windows.Forms.WindowType) <0x001f3>
at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams) <0x00c53>
at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams) <0x0001f>
at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams) <0x0003f>
at System.Windows.Forms.Control.CreateHandle () <0x00069>
at System.Windows.Forms.Form.CreateHandle () <0x00027>
at System.Windows.Forms.Control.CreateControl () <0x00087>
at System.Windows.Forms.Control.SetVisibleCore (bool) <0x00083>
at System.Windows.Forms.Form.SetVisibleCore (bool) <0x00317>
at KeePass.Forms.MainForm.SetVisibleCore (bool) <0x000ab>
at System.Windows.Forms.Control.set_Visible (bool) <0x00032>
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>
at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x0033f>
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[]) <0x00d1b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
[New LWP 8216] [New LWP 8217] [New LWP 8219] [New LWP 8220] [New LWP 8221] [New LWP 8224] [New LWP 8225] [Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fd2bf676fbb in waitpid (pid=8226, stat_loc=0x7ffd03dad37c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
29 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
Id Target Id Frame
* 1 Thread 0x7fd2c019e780 (LWP 8215) "mono" 0x00007fd2bf676fbb in waitpid (pid=8226, stat_loc=0x7ffd03dad37c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
2 Thread 0x7fd2be3ff700 (LWP 8216) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
3 Thread 0x7fd2bc315700 (LWP 8217) "Finalizer" 0x00007fd2bf675867 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x956820) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
4 Thread 0x7fd2ad29d700 (LWP 8219) "dconf worker" 0x00007fd2bf397e8d in poll () at ../sysdeps/unix/syscall-template.S:84
5 Thread 0x7fd2aca9c700 (LWP 8220) "gmain" 0x00007fd2bf397e8d in poll () at ../sysdeps/unix/syscall-template.S:84
6 Thread 0x7fd2a7fff700 (LWP 8221) "gdbus" 0x00007fd2bf397e8d in poll () at ../sysdeps/unix/syscall-template.S:84
7 Thread 0x7fd2a75cd700 (LWP 8224) "mono" 0x00007fd2bf3939cd in read () at ../sysdeps/unix/syscall-template.S:84
8 Thread 0x7fd2a73cc700 (LWP 8225) "mono" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
...
...
...
...
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted (core dumped)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I could use assistance with this issue. I am running a fresh Xenial 16.04 LTS installation, joined the ppa:jtaylor/keepass repository and then installed:
mono-complete 4.2.1.102+dfsg2-7ubuntu4
keepass2 2.34+dfsg-1~ubuntu16.04~ppa1
KeePass2 does a core dump at launch. I did install KeyPassX 2.0.2-1 and it works fine but I prefer KeePass2 due to the integration with KeeFox. Here is the core dump. It looks like mono is crashing. I don't know how to resolve this one:
mono /usr/lib/keepass2/KeePass.exe
SendMessage (65011756, 0x112c, 0x4, 0x4)
[xcb] Too much data requested from _XRead
[xcb] This is most likely caused by a broken X extension library
[xcb] Aborting, sorry about that.
mono: ../../src/xcb_io.c:736: _XRead: Assertion `!xcb_xlib_too_much_data_requested' failed.
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Windows.Forms.X11Keyboard.XCreateFontSet (intptr,string,intptr&,int&,intptr) <0xffffffff>
at System.Windows.Forms.X11Keyboard.CreateOverTheSpotXic (intptr,intptr) <0x000bf>
at System.Windows.Forms.X11Keyboard.CreateXic (intptr,intptr) <0x000d7>
at System.Windows.Forms.X11Keyboard.CreateXicForWindow (intptr) <0x00037>
at System.Windows.Forms.X11Keyboard.FocusIn (intptr) <0x0009b>
at System.Windows.Forms.XplatUIX11.SetFocus (intptr) <0x000bb>
at System.Windows.Forms.XplatUI.SetFocus (intptr) <0x0001f>
at System.Windows.Forms.ContainerControl.SendControlFocus (System.Windows.Forms.Control) <0x00097>
at System.Windows.Forms.Form.SetVisibleCore (bool) <0x00767>
at System.Windows.Forms.Control.set_Visible (bool) <0x00032>
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>
at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x0033f>
at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window) <0x008bf>
at System.Windows.Forms.Form.ShowDialog () <0x0000f>
at System.Windows.Forms.MessageBox/MessageBoxForm.RunDialog () <0x00073>
at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm.RunDialog () <0xffffffff>
at System.Windows.Forms.MessageBox.Show (System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton) <0x0007f>
at KeePassLib.Utility.MessageService.SafeShowMessageBox (string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton) <0x003e3>
at KeePassLib.Utility.MessageService.ShowWarningPriv (object[],bool) <0x000c3>
at KeePassLib.Utility.MessageService.ShowWarning (object[]) <0x0000f>
at KeePass.Plugins.PluginManager.ShowLoadError (string,System.Exception,KeePassLib.Interfaces.IStatusLogger) <0x0037b>
at KeePass.Plugins.PlgxPlugin.Load (string,KeePassLib.Interfaces.IStatusLogger) <0x00247>
at KeePass.Plugins.PluginManager.LoadAllPlugins (string,System.IO.SearchOption,string[]) <0x0023f>
at KeePass.Forms.MainForm.OnFormLoad (object,System.EventArgs) <0x03367>
at System.Windows.Forms.Form.OnLoad (System.EventArgs) <0x00071>
at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs) <0x0007f>
at System.Windows.Forms.Form.OnCreateControl () <0x0004f>
at System.Windows.Forms.Control.CreateControl () <0x0011f>
at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message&) <0x00167>
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x002d7>
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message&) <0x00013>
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message&) <0x0005b>
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&) <0x00257>
at KeePass.Forms.MainForm.WndProc (System.Windows.Forms.Message&) <0x00223>
at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00024>
at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00036>
at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0031c>
at System.Windows.Forms.XplatUIX11.SendMessage (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0044f>
at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd,System.Windows.Forms.WindowType) <0x001f3>
at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams) <0x00c53>
at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams) <0x0001f>
at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams) <0x0003f>
at System.Windows.Forms.Control.CreateHandle () <0x00069>
at System.Windows.Forms.Form.CreateHandle () <0x00027>
at System.Windows.Forms.Control.CreateControl () <0x00087>
at System.Windows.Forms.Control.SetVisibleCore (bool) <0x00083>
at System.Windows.Forms.Form.SetVisibleCore (bool) <0x00317>
at KeePass.Forms.MainForm.SetVisibleCore (bool) <0x000ab>
at System.Windows.Forms.Control.set_Visible (bool) <0x00032>
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>
at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x0033f>
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[]) <0x00d1b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
Debug info from gdb:
[New LWP 8216]
[New LWP 8217]
[New LWP 8219]
[New LWP 8220]
[New LWP 8221]
[New LWP 8224]
[New LWP 8225]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fd2bf676fbb in waitpid (pid=8226, stat_loc=0x7ffd03dad37c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
29 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
Id Target Id Frame
* 1 Thread 0x7fd2c019e780 (LWP 8215) "mono" 0x00007fd2bf676fbb in waitpid (pid=8226, stat_loc=0x7ffd03dad37c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
2 Thread 0x7fd2be3ff700 (LWP 8216) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
3 Thread 0x7fd2bc315700 (LWP 8217) "Finalizer" 0x00007fd2bf675867 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x956820) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
4 Thread 0x7fd2ad29d700 (LWP 8219) "dconf worker" 0x00007fd2bf397e8d in poll () at ../sysdeps/unix/syscall-template.S:84
5 Thread 0x7fd2aca9c700 (LWP 8220) "gmain" 0x00007fd2bf397e8d in poll () at ../sysdeps/unix/syscall-template.S:84
6 Thread 0x7fd2a7fff700 (LWP 8221) "gdbus" 0x00007fd2bf397e8d in poll () at ../sysdeps/unix/syscall-template.S:84
7 Thread 0x7fd2a75cd700 (LWP 8224) "mono" 0x00007fd2bf3939cd in read () at ../sysdeps/unix/syscall-template.S:84
8 Thread 0x7fd2a73cc700 (LWP 8225) "mono" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
...
...
...
...
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted (core dumped)
I think some people have had better luck running the latest mono from Xamarin.
http://www.mono-project.com/download/#download-lin
David, well that was easy. The Xamarin Mono version resolved the problem. Thank you.