MuseScore 4.1.1 hangs on splash screen, UI neve appears and splash screen never disappears

Open
#20,419 3 comments 0 reactions 1 assignee View on GitHub

@RomanPudashkin is already working on this.

Since Dec 11, 2023.

Assessment

This issue has not been assessed yet.

Description

crash regression MS4
Issue type

Crash or freeze

Bug description

The software hangs on splash screen, never spawning the main UI. The log files reveal there is a QT infinite loop. Unfortunately the only fix was to totally re-install the software, removing AppData etc.

Steps to reproduce

I'm unsure what caused the QT state, but it may be related to a dropdown/context menu remaining on my screen after accessing it via the mixer. The context menu froze and got orphaned, and remained on screen even after closing the mixer. I closed the software to remove the menu (it happened once previous with no follow on issue) and upon restart, the splash screen never goes away.

Examining the logs in C:\users...\AppData we can see that there is a QT error, a width value is null and thus the UI cannot be launched. This causes an infinite loop as the UI continually tries to launch but cannot. Probably a simple fix to check for null value (if I can find it in the code I'll fix it myself for you!)

Screenshots/Screen recordings

Occurs around 19mins and 20seconds into this video
My MuseScore review using Auld Lang Syne arrangement. Recorded a nasty UI fatal crash bug!

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.1.1-232071203, revision: github-musescore-musescore-e4d1ddf

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Operating system

Windows 10 Pro x64

Additional context

I've attached the log files I found in AppData (they might not all be relevant, but the last time stamp contains the error/loop, as this was the last time I tried to launch the app before reinstalling)

I zipped up my logs before I removed AppData:
logs.zip

Here is a partial of that last log:

    2023-12-10T22:15:51.571 | WARN  | main_thread | Qt         | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
    2023-12-10T22:15:51.573 | ERROR | main_thread | <lambda_41badbb51144bbabfba1634aafa31ef1> | operator : error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"

    2023-12-10T22:15:51.574 | WARN  | main_thread | Qt         | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
    2023-12-10T22:15:51.576 | ERROR | main_thread | <lambda_41badbb51144bbabfba1634aafa31ef1> | operator : error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"

    2023-12-10T22:15:51.576 | WARN  | main_thread | Qt         | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
    2023-12-10T22:15:51.578 | ERROR | main_thread | <lambda_41badbb51144bbabfba1634aafa31ef1> | operator : error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"

    2023-12-10T22:15:51.579 | WARN  | main_thread | Qt         | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
    2023-12-10T22:15:51.580 | ERROR | main_thread | <lambda_41badbb51144bbabfba1634aafa31ef1> | operator : error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"

    2023-12-10T22:15:51.581 | WARN  | main_thread | Qt         | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
    2023-12-10T22:15:51.583 | ERROR | main_thread | <lambda_41badbb51144bbabfba1634aafa31ef1> | operator : error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"

    2023-12-10T22:15:51.583 | WARN  | main_thread | Qt         | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
    2023-12-10T22:15:51.584 | ERROR | main_thread | <lambda_41badbb51144bbabfba1634aafa31ef1> | operator : error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"

    2023-12-10T22:15:51.585 | WARN  | main_thread | Qt         | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
    2023-12-10T22:15:51.586 | ERROR | main_thread | <lambda_41badbb51144bbabfba1634aafa31ef1> | operator : error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"

    2023-12-10T22:15:51.587 | WARN  | main_thread | Qt         | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"`
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from musescore/MuseScore

All issues in musescore/MuseScore

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.