Crash when using Save Online in a selfbuilt MuseScore using Qt 5.14.2 or 5.15.0 RC2
Reported version
3.x-dev
Type
Functional
Frequency
Few
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
- Build MuseScore yourself, using Qt 5.15.0 RC2
- Create a score
- Save the score locally (else you get #305589: Attempting to Save Online a yet unsaved or uncompressed (mscx) produces misleading error message on the next step)
- Save online
MuseScore does upload the score apparently (it is on musescore.com afterwards, but then crashes.
Might need to get reported to the Qt folks
Comments
(Quite useless) Stack trace in VS2019:
> Qt5WebEngineCore.dll!000007fec1ca3306() Unbekannt
Qt5WebEngineCore.dll!000007fec1c18236() Unbekannt
Qt5WebEngineCore.dll!000007febed8ad53() Unbekannt
Qt5WebEngineCore.dll!000007fec1cbae2a() Unbekannt
Qt5WebEngineCore.dll!000007febe87ede3() Unbekannt
Qt5WebEngineCore.dll!000007febff241f5() Unbekannt
Qt5WebEngineCore.dll!000007febffb478f() Unbekannt
Qt5WebEngineCore.dll!000007febffb42a2() Unbekannt
Qt5WebEngineCore.dll!000007febff18df4() Unbekannt
Qt5WebEngineCore.dll!000007febff19662() Unbekannt
Qt5WebEngineCore.dll!000007febffb4c32() Unbekannt
Qt5WebEngineCore.dll!000007febff4c4e9() Unbekannt
Qt5WebEngineCore.dll!000007fec18d5fad() Unbekannt
Qt5WebEngineCore.dll!000007febff4f965() Unbekannt
Qt5WebEngineCore.dll!000007febff1a668() Unbekannt
kernel32.dll!0000000076f8556d() Unbekannt
ntdll.dll!00000000770e372d() Unbekannt
Seems I'm lacking Qt5WebEngineCore.pdb and/or Qt5WebEngineCored.pdb?
Just reproduced this in VS2019 16.6 using Qt 5.14.2.
Crash:
Function where the crash occurs:
Stack trace:
Building with Qt 5.12.8 and no crash there.
Reported in https://bugreports.qt.io/browse/QTBUG-84355
As per that it is reproducible on Linux too
And it's a one-line fix.
IIRC it won't get fixed for Qt 5.14 though, as the decision was to not put out a 5.14.3.
Edit: found it, in https://lists.qt-project.org/pipermail/releasing/2020-April/002768.html, "No Qt 5.14.3 release anymore"
So maybe it makes it into the final 5.15.0 (which is late by a couple days already) or we need to wait for 5.15.1
I see in QTBUG-84355 that the fix didn't make it into Qt 5.15.0, but I just built MuseScore with Qt 5.15.0 and can no longer reproduce the crash.
Edit: Never mind. The crash still occurs when I click the Save button after uploading.
Still crashed for me in latest master, but indeed a step later. Might be a race condition, timing related.
The Qt folks do mention a workaround though: the issue seems to be workaroundable by delaying the close
Maybe we could do that in out code?
Fixed in Qt 5.15.1, a preview of that is available meanwhile
Automatically closed -- issue fixed for 2 weeks with no activity.