-
Notifications
You must be signed in to change notification settings - Fork 719
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
lock/mutex issues (client crashing), do you have it? #564
Comments
You can find this issue on our git and here is the commit which we currently test. |
Issue is fixed by following some recent posts of cleaning up some of the wallet exe commands. If need more info on how I fixed ( i am not a developer) I can dig into this and send you the steps on how I solved the crashing issues. |
Not sure that's the same issue; we noticed a potential missing lock on cs_main during staking, manifesting itself in the increasingly unlikely scenario that a stake is found at the same time when an incoming block is validated, triggering an assert error with such debug output: Minting input selection code added with the ZeroCoin code doesn't have the mutex locks that Bitcoin added to similar 'classical' code. Could of course be that you're already addressing this when moving to ZeroMint. |
@WagerrTor Thanks for the feedback and information, it's very appreciated 👍 Did you or one of your users find a reliable way to reproduce those crashes? Which OS? Edit: I ask because I have several wallets on both main- and testnet staking for months now without any issues. |
Producing many stakes on a low CPU machine should work ;) (It happened when setting up testnet.) Or have a lot of bad luck.. Could be an edge case on large networks. |
Hmh, I don't have any low CPU computers, but I've tested staking on a (linux-) machine with a load of > 80 which was swapping like hell, means the CPU didn't get much cycles to run. |
As I said, sadly we did not have real opportunity to look very deep into that and are currently testing what @Kokary suggested. It is very fresh issue and we had to rub our heads first to see if this is at all an issue and if it is, does it affect us too. So far, after 1 night I am reported that the error does not happen anymore. It happend like @Kokary explained on non main network. I was not able to reproduce it as I did not have any as addition, like I said, it is very fresh issue for us where it came up not by our own wallets directly but by users reporting their pivx wallet crashes (hope they will create issues here, otherwise you probably will have not enough input for that). |
Here is what I did to fix my issue:
blocks, chain state, .lock, budget.dat, db.log, debug.log, fee_estimates.dat, mncache.dat, peers.dat,
4)) Relaunched wallet and sync with network after deleted files |
@ethanedison thanks for suggestion. Your suggestion is actually more a workaround which can be applied when your wallet crashes, you could achieve the same by simply resyncing too, which would not require data folder deletion. Point is, wallet should not crash and we try to find out the reason why it crashed in first place which requires additional steps and we think we found it, at least having no crashes/errors looks like if it had some positive effect if not a fix. |
Hello,
thanks for your email.
ISSUE:
I am now trying to convert (as you requested today) my zPIV back to PIV but my wallet continues to automatically convert back to zPiv after several block confirmations.
How to disable this and be prepared for wallet upgrades?
There must be an easier way in the GUI to disable automint?
Sent with [ProtonMail](https://protonmail.com) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On March 12, 2018 4:10 PM, WagerrTor ***@***.***> wrote:
***@***.***(https://github.com/ethanedison) thanks for suggestion. Your suggestion is actually more a workaround which can be applied when your wallet crashes, you could achieve the same by simply resyncing too, which would not require data folder deletion. Point is, wallet should not crash and we try to find out the reason why it crashed in first place which requires additional steps and we think we found it, at least having no crashes/errors looks like if it had some positive effect if not a fix.
—
You are receiving this because you were mentioned.
Reply to this email directly, [view it on GitHub](#564 (comment)), or [mute the thread](https://github.com/notifications/unsubscribe-auth/Ahoi3aiILa9bZ2ITwxazYQ4CQKhr-t5oks5tduRAgaJpZM4SmZNJ).
|
@ethanedison Add (yes, the next release will have this setting available from the GUI) |
Thanks for your email Mrs-x
Tried to delete all Piv wallet files and download new and start over again. NO LUCK
1) went to "tools" to open "wallet config file"--only video on youtube to teach how to disable zpiv
2) nothing
3) went to wallet file folder and tapped on Pivx.conf added enablezeromint=0
4) closed wallet and opened again---moved zPiv to PIV and NOW it continues to change 10% of my total balance back to zPIV (argggggggggg)
This is frustrating and I dont have time to deal with as I run a company but like to support the Pivx blockchain. Hope your team can make this easy for people or you will lose them :(
I HIGHLY suggest you get your marketing team to tweet and socialize HOW TO steps for wallet holders on how to disable zPiv .
I cannot find much or the information is not easily accessible.
I know you are very busy however, this is very important to keep your community happy which in this competitive space is most important!
regards,
gary
Sent with [ProtonMail](https://protonmail.com) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On March 18, 2018 7:47 AM, Mrs-X ***@***.***> wrote:
***@***.***(https://github.com/ethanedison) Add enablezeromint=0 to your pivx.conf and restart the wallet.
(yes, the next release will have this setting available from the GUI)
—
You are receiving this because you were mentioned.
Reply to this email directly, [view it on GitHub](#564 (comment)), or [mute the thread](https://github.com/notifications/unsubscribe-auth/Ahoi3aHSNmDCbEdYG4BoMQyrqyu4Y0PLks5tfld-gaJpZM4SmZNJ).
|
@ethanedison my best advice to you is, trust that in 9 of 10 cases it is always users fault. I would think in your case it is the same. Before you use any software, you should probably read first the documentation about it and maybe running
What you probably would not have found out by
If you want to be really 100% sure, you should disable automint for gui as well to disable zeromint:
Now your wallet will not automint anymore. I hope my reply can help you solving your problem, I would suggest you to open separte issue about it, as here it is totaly offtopic and actually has nothing to do with the issue discussed here. |
@WagerrTor we don't have a runtime option called |
Is this still an active issue? |
I didn't dig into what was and wasn't addressed in the very nice, large update, however, at least partially the issue still persist. E.g.: https://github.com/PIVX-Project/PIVX/blob/master/src/wallet.cpp#L2093
More importantly, the same happens in And finally (in what I observed), https://github.com/PIVX-Project/PIVX/blob/master/src/activemasternode.cpp#L444 I'd be happy to submit a PR for these at least, but I don't know if and how anyone else is looking at this. |
I guess when our latest release has stabilized we will have more time to look into this. A PR would be highly appreciated of course 👍 |
We had discussion about lock issues. Some pivx holders reported that their wallets crashed and I do not find this issue on your list. We might have same issue. One of our devs/contributors has posted some suggestion, you can look up here. He supposes that during zerocoin implementation you might not have adapted mutexes properly.
We are middle in this discussion and are proposing currently changes but since couple of days there were several people reporting their pivx clients crashed, I have no reports about our clients but if this is issue for you, then it is for us probably too.
The text was updated successfully, but these errors were encountered: