smorks / keepassnatmsg

KeePass plugin to expose credentials securely to a browser using Native Messaging
GNU General Public License v3.0
271 stars 26 forks source link

Following KeePassNatMsg's installation procedure: KeePass crashes when clicking "Tools -> KeePassNatMsg Options" #51

Closed yscialom closed 4 years ago

yscialom commented 4 years ago

Title

Following KeePassNatMsg's installation procedure: KeePass crashes when clicking "Tools -> KeePassNatMsg Options"

Context

On Ubuntu 19.10, KeePass is installed from the package manager. KeePassNatMsg is downloaded and installed manually. Crash happens when accessing --- from KeePass --- the menu "Tools -> KeePassNatMsg Options".

Observed behaviour

A black window opens for a few seconds; KeePass crashes.

Expected behaviour

A window opens providing a "Install/Update Native Messaging Host" button.

Steps to reproduce

On Ubuntu 19.10, open a terminal: ` 0. Install KeePass:sudo apt install -y keepass2` Follows KeePassNatMsg installation instructions:

  1. Download the latest KeePassNatMsg release
  2. Unzip it to /usr/lib/keepass2/Plugins/
  3. Install mono sudo apt install -y mono-complete
  4. Restart KeePass
  5. Go to Tools -> KeePassNatMsg Options

Crash.

Details & Versions

rengaw83 commented 4 years ago

Have the same Problem with different Setup:

Have started keepass with mono on terminal. After i clicked on "Tools -> KeePassNatMsg Options" the following error occurs:

$ mono KeePass.exe 

[xcb] Extra reply data still left in queue
[xcb] This is most likely caused by a broken X extension library
[xcb] Aborting, sorry about that.
mono: ../../src/xcb_io.c:577: _XReply: Zusicherung »!xcb_xlib_extra_reply_data_left« nicht erfüllt.

=================================================================
    Native Crash Reporting
=================================================================
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.
=================================================================
smorks commented 4 years ago

sorry for taking so long on this - i don't use linux an my primary os, but i'll have a look at this soon.

also, i'm guessing that keepass runs fine when the KeePassNatMsg plugin isn't installed?

smorks commented 4 years ago

this might be a lead: kee-org/keepassrpc/issues/81

i'll do some more investigation later today.

edit: there might be a few problems going on here. i think one is missing mono packages (installing mono-complete changes the error). the second might be related to the issue noted above.