[Capella import] Loses start repeat bars (if not the first, in which case it crashes) Leon Vinken • Apr 27, 2013 - 09:12 Type Functional Severity S4 - Minor Status closed Project MuseScore See #14438: Problems with capella files, reply #11 issue d). Reply Comments Leon Vinken • Apr 27, 2013 - 09:24 Issue can be reproduced with repeat.cap as found in Capella.zip (attached to #14438: Problems with capella files). Crash occurs in mscore/capella.cpp:546 int ticks = tick - m->tick(); A segmentation fault is caused by the fact that m is 0. Reply Jojo-Schmitz • Apr 27, 2013 - 10:32 nd that is probably because of (in the libe above) Measure* m = score->getCreateMeasure(tick-1); where tick is 0 and there is no tick before that? Also seems the check a few lines down if (m == 0) break; comes too late... Reply Leon Vinken • Apr 27, 2013 - 20:32 Solution found, will be implemented shortly. Reply [DELETED] 5 • Apr 28, 2013 - 17:31 Status (old) active ⇒ fixed fixed in 26431107b0 Reply System Message • May 12, 2013 - 17:35 Status (old) fixed ⇒ closed Automatically closed -- issue fixed for 2 weeks with no activity. Reply
Leon Vinken • Apr 27, 2013 - 09:24 Issue can be reproduced with repeat.cap as found in Capella.zip (attached to #14438: Problems with capella files). Crash occurs in mscore/capella.cpp:546 int ticks = tick - m->tick(); A segmentation fault is caused by the fact that m is 0. Reply
Jojo-Schmitz • Apr 27, 2013 - 10:32 nd that is probably because of (in the libe above) Measure* m = score->getCreateMeasure(tick-1); where tick is 0 and there is no tick before that? Also seems the check a few lines down if (m == 0) break; comes too late... Reply
System Message • May 12, 2013 - 17:35 Status (old) fixed ⇒ closed Automatically closed -- issue fixed for 2 weeks with no activity. Reply
Comments
Issue can be reproduced with repeat.cap as found in Capella.zip (attached to #14438: Problems with capella files).
Crash occurs in mscore/capella.cpp:546 int ticks = tick - m->tick();
A segmentation fault is caused by the fact that m is 0.
nd that is probably because of (in the libe above)
Measure* m = score->getCreateMeasure(tick-1);
where tick is 0 and there is no tick before that?
Also seems the check a few lines down
if (m == 0)
break;
comes too late...
Solution found, will be implemented shortly.
fixed in 26431107b0
Automatically closed -- issue fixed for 2 weeks with no activity.