Playing simple D.C. al coda repeat causes UI to stop responding

• Jul 21, 2012 - 09:32
S2 - Critical

MuseScore 3432cdc
- create a simple score
- add ds al coda in the last measure
- play

expect: there is no to coda and coda symbol, so just play all measure once
actual: ui stop respond, looks like an infinite loop

attach "repeat - dc al coda.mscz", and "repeat - ds al coda_segno.mscz" looks similar too.


Title Play a simple dc al coda repeat causes ui stop respond Playing simple D.C. al coda repeat causes UI to stop responding

I am also affected. Here is a snippet of the stack trace where it hangs:

#0 0x0000000000672e08 in QBasicAtomicInt::ref (
this=0x1443d00 )
at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#1 0x00000000006ff2af in QList::QList (this=0x7fffffffaf40, l=...)
at /usr/include/qt4/QtCore/qlist.h:122
#2 0x00000000006ff618 in QForeachContainer >::QForeachContainer (this=0x7fffffffaf40, t=...) at /usr/include/qt4/QtCore/qglobal.h:2367
#3 0x0000000000ad326d in Score::searchVolta (this=0x26c1f90, tick=9600)
at /home/johan/Projects/MuseScore/libmscore/repeatlist.cpp:30
#4 0x0000000000ad3ff0 in RepeatList::unwind (this=0x26bc710)
at /home/johan/Projects/MuseScore/libmscore/repeatlist.cpp:292
#5 0x0000000000acef20 in Score::updateRepeatList (this=0x26c1f90,
at /home/johan/Projects/MuseScore/libmscore/rendermidi.cpp:450
#6 0x0000000000acefbf in Score::toEList (this=0x26c1f90, events=0x18835b8)
at /home/johan/Projects/MuseScore/libmscore/rendermidi.cpp:463
#7 0x000000000081ea08 in Seq::collectEvents (this=0x187d520)
at /home/johan/Projects/MuseScore/mscore/seq.cpp:865
#8 0x000000000081d330 in Seq::canStart (this=0x187d520)
at /home/johan/Projects/MuseScore/mscore/seq.cpp:445
#9 0x000000000069a284 in ScoreView::cmd (this=0x26beb60, a=0x1b3a200)
at /home/johan/Projects/MuseScore/mscore/scoreview.cpp:2513
#10 0x00000000007b25cb in MuseScore::cmd (this=0x1aa9500, a=0x1b3a200, cmd=...)
---Type to continue, or q to quit---
at /home/johan/Projects/MuseScore/mscore/musescore.cpp:4381
#11 0x00000000007b0737 in MuseScore::cmd (this=0x1aa9500, a=0x1b3a200)
at /home/johan/Projects/MuseScore/mscore/musescore.cpp:4027