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

Crash during the initialization of start center, fix 275837 #6546

Merged
merged 1 commit into from
Sep 13, 2020

Conversation

vpereverzev
Copy link
Member

Resolves: https://musescore.org/en/node/278817

If there is no internet connection or an editor is blocked by firewall then we'll hang on download extensions step because of QEventLoop::exec(). The problem is that we can quit from event loop only when QNetworkReply::finished() signal will be emited.

@Harmoniker1
Copy link
Contributor

What exactly is the target issue, #275837 or #278817?

@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Sep 9, 2020

Both I guess
Also the # is missing from the issue number, needed for it to get marked fixed on merge

But more importantly it needs to build first...

I don't quite understand the fix though, as far as I can tell it fixes a hang if a firewall block access, but those issue report a crash?

@vpereverzev
Copy link
Member Author

@Jojo-Schmitz The things are tied here (hang and crash). I've managed to reproduce the crash. So when your internet connection is blocked you'll hang on and after some time(depends on OS environment) you might encounter a crash due to the uninitialized variable usage

@Jojo-Schmitz
Copy link
Contributor

OK, thanks for clarifying

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.

4 participants