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

Fix edge case segfault. #418

Merged
merged 1 commit into from
Nov 29, 2017
Merged

Fix edge case segfault. #418

merged 1 commit into from
Nov 29, 2017

Conversation

presstab
Copy link

It is possible to access a map element that DNE if you force quit without downloading any blocks and then restart the wallet.

It is possible to access a map element that DNE if you force quit without downloading any blocks and then restart the wallet.
@presstab presstab added this to the 3.0.6 milestone Nov 28, 2017
@ghost ghost assigned presstab Nov 28, 2017
@ghost ghost added the review label Nov 28, 2017
@Fuzzbawls
Copy link
Collaborator

I'll try to use-test this tomorrow, however if you have any insight as to exactly when to force quite a client to force the situation that would be great :)

@presstab
Copy link
Author

I tested this with the same 3 faulty db states that I used to test #405 as well as the case that causes the segfault. The more testing the better though!

@presstab presstab merged commit a698e37 into PIVX-Project:master Nov 29, 2017
presstab added a commit that referenced this pull request Nov 29, 2017
a698e37 Fix edge case segfault. (presstab)

Tree-SHA512: cf3df3c6c5e1e36b5c78fd6506b2304c4a714e9c302d9cf18b93e1d9980f95057dcc1e69132ca9408a5d989380e83f90c9fb464a822d4863f35a20f58f45c193
@ghost ghost removed the review label Nov 29, 2017
Fuzzbawls pushed a commit to Fuzzbawls/PIVX that referenced this pull request Nov 29, 2017
It is possible to access a map element that DNE if you force quit without downloading any blocks and then restart the wallet.

Github-Merge: PIVX-Project#418
Rebased-From: a698e37
meyer9 pushed a commit to phoreproject/Phore that referenced this pull request Feb 15, 2018
It is possible to access a map element that DNE if you force quit without downloading any blocks and then restart the wallet.

Github-Merge: PIVX-Project#418
Rebased-From: a698e37
meyer9 pushed a commit to phoreproject/Phore that referenced this pull request Feb 20, 2018
It is possible to access a map element that DNE if you force quit without downloading any blocks and then restart the wallet.

Github-Merge: PIVX-Project#418
Rebased-From: a698e37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants