mpw cli version crashes with SIGSEGV
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.
- mpw_display_bug.png 44.5 KB
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
1 Posted by Milind Kamble on 25 Mar, 2020 03:58 PM
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
Milind Kamble closed this discussion on 25 Mar, 2020 04:04 PM.