[GP] Crash on layout of harmony belonging to fret diagram

• Sep 28, 2018 - 11:15
Reported version
3.0
Priority
P1 - High
Type
Functional
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

Steps to reproduce:
1. Open beams-stems-ledger-lines.gp5 from mtest/guitarpro/ in the source.
2. MuseScore crashes.

Backtrace is attached to this issue.
The cause is probably in that at layout stage Harmony calls a function which assumes that its parent is a Segment. However a Harmony can be somehow attached to FretDiagram which sets itself as a Harmony parent upon its addition.

Attachment Size
backtrace.txt 2.48 KB
beams-stems-ledger-lines.gp5 2.17 KB

Comments

Title Crash on layout of harmony belonging to fret diagram [GP] Crash on layout of harmony belonging to fret diagram

Thanks.

Status active fixed

Fixed in branch master, commit 78d2d7de15

fix #276667 Crash on layout of harmony belonging to fret diagram.
Implements property layout and collisiion detection for chord names over fret diagrams.