-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when adding password to a wallet #325
Comments
This looks like it might be an 'out of memory' error. When a password is added a copy of all the private keys is made (encrypted) and checked before being written to disk. |
I am having the same issue - on OpenSUSE 13.1, with Multibit 0.5.16 running java version "1.7.0_51" I have tried re-installing Multibit and setting the password on the default wallet as the first action, same result. New wallet, same result. Restarted, same result. I have 2.2GB free memory, so I doubt this is machine memory. Here is my error log:
|
I also can confirm this (MultiBit 0.5.14 / OpenSUSE 13.1 / linux 3.11.6-4-desktop / openJDK 1.7.0_45 |
Can you guys try with the Oracle JVM and see if the issue goes away? This isn't an out of memory error, it's a null pointer dereference inside native code (most likely, inside the JVM itself). SIGSEGV (0xb) at pc=0x00007f44cf525f49, pid=8765, tid=139931812620032Also, attaching the hs_error.log file would be useful. |
I can confirm that running MultiBit with the Oracle JVM rather than OpenJDK fixed the issue on my Arch Linux install. |
OK, I'll add some installation "gotcha" notes to the website to cover this. Thanks for reporting back about it :-) |
I can confirm the bug on opensuse 13.1, with OpenJDK v. 1.7.0_51 . |
Since the general fix is to use Oracle's JVM and the website reflects this I'll close this. |
So your closing the bug without investigating the reason? That's called ignorance, is very bad practice and may become harmful at some point of time. |
The bug is in OpenJDK not MultiBit, and nobody reported any hs_error.log files despite the request. So it doesn't seem to be a common issue. |
Looks like Mike just beat me to it. To me this is clearly an issue deep within the JDK and outside of our control. |
Stephan sent me an hs_error.log. The crash is inside libscrypt. Probably, falling back from a native scrypt to a pure Java one will make the error go away. As to why it's faulting, probably some binary incompatibility - Linux is crap at this and binaries compiled on one machine routinely crash or corrupt memory when run on other systems. If you guys wanted to work around the issue, detecting Linux and using a Java scrypt is probably good enough. Linux users will get slower decryptions but that's probably acceptable. |
Given that MBHD will come with its own JDK that is likely to be Oracle, and that MultiBit Classic users can work around with the Oracle JDK, it seems like a lot of effort for little return. I'll reopen this issue so that we are reminded to test for it in MBHD. |
I found a workaround to avoid this crash. EDIT
|
The solution provided by drizzt worked for me, and I'm an Arch user. Thanks drizzt, i'm gonna follow your Git-Hub. |
OK. Let's get this into the next release candidate and I'll add this to the site documentation. We're pretty tied up with MBHD work at the moment so it may take a little while to update Classic. If anyone is interested in testing the Linux installers for MBHD to verify correct operation please join the private beta group. I'll be adding private-beta-2 today. |
solution by drizzt also worked for me [root@fedora MultiBit]# zip -d "multibit-exe.jar" lib/x86_64/{freebsd,linux}/libscrypt.so Fedora 20 JRE version: OpenJDK Runtime Environment (7.0_60-b30) (build 1.7.0_60-mockbuild_2014_06_19_16_23-b00) |
That solution is the one I suggested above, indeed. |
My MultiBit also crashes after updating to OpenSUSE 13.2 when I try to enter the password. I have tried the solution given by @drizzt but it's not working. I get |
Ok, the proposed solution works. You just have to be in the MultiBit install folder "/path/to/MultiBit-0.5.18". |
Thanks for the update. I think it's worth adding this to the main site as an article so I've raised an issue accordingly. |
Information is presented on every Linux download in the installation instructions. Closing. |
Hi,
I'm using MultiBit on an OpenSuse Linux distribution with OpenJDK (JRE version: OpenJDK Runtime Environment (7.0_45-b31) (build 1.7.0_45-b31)). I tried adding a password to a wallet but when I click on the "Add password to wallet" button after having filled in a password, the JVM crashes with the following output.
The text was updated successfully, but these errors were encountered: