Closed arshiacont closed 10 months ago
I've been lucky with the previous crash bug since the solution was to remove useless associations. This is not the case here and it looks like a tricky case to solve. This kind of issue has been identified years ago. Automatic memory management is the ultimate solution but that's a huge task. I'll see if I can find a quick solution.
In fact, the crash is caused by the fact that the 2 octavas are on different staffs. It's a slightly ambiguous case: an octava that starts on one staff and ends on another doesn't make much sense graphically. I think it should be possible to resolve this at the AR level.
Oh I see! Effectively the octave off here is not normal and does not make sense!! I will fix this in xml2guido! If we can just avoid the engine crash in such cases it would be ideal.
Of course, I'll fix it. Zero crash is the goal.
the crash bug is solved but I have to fix the display
fixed, including incorrect rendering
The following reduced excerpt leads systematically to crash on
GuidoFreeGR
(if freed after rendering) and more specifically onGRPositionTag::DeleteStaff(GRStaff*)
.Hint: If you remove the two
\oct
, the crash disappears!