mpw cli version crashes with SIGSEGV

Milind Kamble's Avatar

Milind Kamble

20 Mar, 2020 02:36 PM

Hello,
   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

Generic

? 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

09 Oct, 2023 03:28 PM
09 Oct, 2023 02:56 PM
22 Jun, 2022 11:22 AM
02 Feb, 2022 02:22 PM
25 Jan, 2022 11:25 PM

 

31 Dec, 2021 11:42 AM
22 Dec, 2021 06:41 PM
04 Nov, 2021 01:24 AM
30 Oct, 2021 08:29 PM
21 Oct, 2021 08:44 AM
14 Sep, 2021 08:02 AM