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

[GUI] Dashboard chart map first segfault, background task error catching. #1032

Merged
merged 3 commits into from
Oct 2, 2019

Conversation

furszy
Copy link

@furszy furszy commented Sep 30, 2019

PR covering an empty list pointer segfault when the wallet has no stakes on the yearly filtered data when, for some reason, the chart got visible (when it shouldn't as there are no stakes..). It happened to me when was doing a reindex and the internal wallet state is not clear/final.

Plus added a catch all in the background worker to not crash and inform to the user if there was an unexpected error running any UI background task.

@furszy furszy added the GUI label Sep 30, 2019
@furszy furszy self-assigned this Sep 30, 2019
@furszy furszy changed the title [GUI] Dashboard chart checking for empty list segfault [GUI] Dashboard chart checking for empty list, segfault Sep 30, 2019
… when the first stake is received. Don't use the stake filter proxy which can or can't have stakes (always changing and being filtered).
@furszy furszy changed the title [GUI] Dashboard chart checking for empty list, segfault [GUI] Dashboard chart map first segfault, background task error catching. Oct 1, 2019
@furszy furszy added this to the 4.0.0 milestone Oct 2, 2019
Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

ACK 38c654b

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

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

ACK 38c654b

furszy added a commit that referenced this pull request Oct 2, 2019
…k error catching.

38c654b [GUI] Dashboard hasStakes variable set when the view is loaded and/or when the first stake is received. Don't use the stake filter proxy which can or can't have stakes (always changing and being filtered). (furszy)
6f91049 [GUI] Background task catching errors that have no information about. (furszy)
72966c9 [GUI] Dashboard chart, covering edge empty list problem. (furszy)

Pull request description:

  PR covering an empty list pointer segfault when the wallet has no stakes on the yearly filtered data when, for some reason, the chart got visible (when it shouldn't as there are no stakes..). It happened to me when was doing a reindex and the internal wallet state is not clear/final.

  Plus added a catch all in the background worker to not crash and inform to the user if there was an unexpected error running any UI background task.

ACKs for top commit:
  random-zebra:
    ACK 38c654b
  Fuzzbawls:
    ACK 38c654b

Tree-SHA512: b918700f9c97d78f131285b8b88dca28d9e9bb8a65dcd33e95d10e89f233d0ce0cc86b39f65794d836f487d2e119d5091aedb28a22bc3638417fd60421d98a88
@furszy furszy merged commit 38c654b into PIVX-Project:master Oct 2, 2019
@furszy furszy deleted the 2019_dashboard_chart_segfault branch November 29, 2022 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants