mpw cli version crashes with SIGSEGV

Milind Kamble's Avatar

Milind Kamble

20 Mar, 2020 02:36 PM

   This is my first post on this forum. Thank you for making this tool/app available as open source. I am liking the features of portability and independence from cloud storage. Still learning the ropes while evaluating to switch over or not.

I am using the cli version and jar version on a PC running Solus Linux distro. I was able to create a couple of site entries in the <USERNAME>.mpsites.json file using the CLI mpw. I could load the same in the GUI version. I played around a bit trying out user defined username and password values (using the -tP -P options). Now mpw crashes with SIGSEGV fault. The GUI version continues to work.
How and what do I need to upload to help you recreate the crash?

Also, it the GUI version, the username and password fields show large number of garbage characters. Though when I copy it to the clipboard (Enter or Shift-Enter), it copies the correct values. See image attached.

  1. 1 Posted by Milind Kamble on 25 Mar, 2020 03:58 PM

    Milind Kamble's Avatar

    I figured out the reason for the crash using gdb. Turns out that the tar file downloaded by clicking the "Terminal" link on the home page is outdated compared to the current version in version at gitlab.

    In the tarball version, there is a bug in mpw_marshal_read_json() where a null value returned from mpw_get_json_section( json_site.val, "questions" ) is not checked for. This does not exist in the current version in the repo.

    So, rather than using the tar ball as the source, clone the repo and build the cli version.

    Therefore, closing the ticket

  2. Milind Kamble closed this discussion on 25 Mar, 2020 04:04 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

06 Aug, 2020 10:17 PM
20 Jul, 2020 02:55 PM
06 Jul, 2020 03:15 PM
30 Jun, 2020 02:17 PM
28 Jun, 2020 09:00 PM