selecting the play panel leads to crash

• Nov 13, 2018 - 19:55
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

OS: openSUSE Leap 15.0, Arch.: x86_64, MuseScore version (64-bit): 3.0.0, revision: ef48b60

There's no crash with cf24e6c


Comments

After some more investigation, it seems to always crash with the same call stack. See attached backtrace, thread #1 at the bottom of the file. The crashing function is called a few times previously without crashing. Thread #14 also has MuseScore-related functions, but I don't quite understand where they fit in. Thread #1 has the same call stack as the one I saw in the debugger.

Attachment Size
Backtrace.txt 23.55 KB

Setting a break point there shows that this is called very many times. I't have expected it to be called only once on opening the playpannel, maybe some endless loop and a stack overflow

Right
When the slider value is set, then the relative value is changed and then the slider value is set and then ...

This issue indeed seems to be introduced by changes made for #275313: Reworking the Mixer UI.
Among other changes there were some changes made to awl library used for slider UI in play panel. Reverting change of this line of code fixes this issue. So we should either rework that mixer UI to avoid this change or rework play panel code to handle such signal loops properly.