Skip to content
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

blockchain: fix crash checking pre-validated txids #2492

Merged
merged 1 commit into from
Sep 21, 2017

Conversation

moneromooo-monero
Copy link
Collaborator

No description provided.

Copy link
Contributor

@fluffypony fluffypony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed

@fluffypony fluffypony merged commit e457aa5 into monero-project:master Sep 21, 2017
fluffypony added a commit that referenced this pull request Sep 21, 2017
e457aa5 blockchain: fix crash checking pre-validated txids (moneromooo-monero)
@ghost
Copy link

ghost commented Sep 24, 2017

Wouldn't you like to merge this fix in release-branch and update pre-built binaries?
Or do you expect regular users facing crash bug to spot issues, find this fix and manually build master branch?

And by the way, as far as I understand, it is not very widespread issue. This fact and comment in the code ("//TODO: why is this done? make sure that keeping invalid blocks makes sense.") makes me wonder if my local blockchain database is ok.
So I think it would be nice to provide some more information related to this bug: why does it happen and should any special action be taken as remedy?

@ghost ghost mentioned this pull request Sep 26, 2017
@mrosseel
Copy link

Just experienced this twice in a row (fresh sync - crash - delete blockchain - fresh sync -crash).
Fairly standard linux installation so +1 for this happening in the wild.

@KelvinJones
Copy link

HI all, I'm still experiencing exactly this with the exception being I'm on Ubuntu 14. I'm upgrading to 16 but doubtful it will help. I'm trying to setup the daemon and sync the blockchain both to operate a private pool and to support the community. I downloaded everything fresh over the weekend but no joy. Suggestions? Start again? Download again. I get the error reported below on almost exactly the same block.

Segmentation fault for monerod v0.11.0.0 on Ubuntu 16.04

@Tahutipai
Copy link

Tahutipai commented Oct 14, 2017

+1 for experienced this in the wild, which led me to here. Basically vanilla ubuntu 17.04, fresh install of Monero, fresh sync. I cancelled the first sync about 90% in, as it appeared stuck. Now monerod seg faults, always. Currently building monero fresh from github to see if that fixes it.

Have just compiled current version from github. Segfault no longer occurs. Suggest this fix needs to make into the public release. Otherwise does not give a good impression of Monero.

On another note:
Monero client would seriously benefit from an automatic updater - or at the very least, an "out of date - please upgrade" message appearing clearly on the gui, not buried in the logs, so people know very clearly when an update is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants