Crash on opening a Guitar Pro file with capo indication

• Oct 12, 2018 - 09:19
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

This issue is a part of the more broad issue containing various cases of crashing on opening Guitar Pro files: #269924: [Guitar Pro] Crashing files when opening
This case was originally reported in this forum thread and this issue comment.

Steps to reproduce:
1. Open this file with MuseScore: yuki_matsui-frozen_ost_let_it_go.gp5
Result: crash

I have made a pull request on this issue, the issue itself is posted for tracking purposes.
See https://github.com/musescore/MuseScore/pull/4009


Comments

Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch master, commit b1c111a86c

fix #277055: Add StaffText to a Segment instead of Measure when reading Guitar Pro files

Add tests on correct reading of "capo fret" marks in Guitar Pro files