Lastest build crashes when opening a GuitarPro 6 file

• Aug 25, 2017 - 12:21

Hello !

I wanted to test the last improvements in Barre/Palm mute/ and other spanners in the latest night build (MuseScoreNightly-2017-08-25-1053-2.2-6c7aa65.7z ) and as soon as I try to open the attached GP6 file Musescore crashes.

I tried with another GP6 fileand it opened correctly.

Let me know if I can help ( by providing more details or anything)

Attachment Size
Nardis_ariel.gpx 91.1 KB


Indeed. Well, 19 pages this file... :(
I see Let Ring, Barrés and so on.

It would be useful to find the culprit (s)? Can you try with some tests in order to reproduce? With Let ring, PM, Barre, and other.
In the meantime, the pdf file: Nardis_ariel_0.pdf

Attachment Size
Nardis_ariel_0.pdf 1.05 MB

Latest master crashes too, stack trace:
1 ?? 0x28de24d0
2 Ms::GuitarPro6::readBeats importgtp-gp6.cpp 1365 0x57fc47
3 Ms::GuitarPro6::readBars importgtp-gp6.cpp 1596 0x583bb9
4 Ms::GuitarPro6::readMasterBars importgtp-gp6.cpp 1912 0x58723d
5 Ms::GuitarPro6::readGpif importgtp-gp6.cpp 2008 0x5881af
6 Ms::GuitarPro6::parseFile importgtp-gp6.cpp 291 0x574d5a
7 Ms::GuitarPro6::readGPX importgtp-gp6.cpp 275 0x574c9b
8 Ms::GuitarPro6::readGPX importgtp-gp6.cpp 247 0x574a3e
9 Ms::GuitarPro6::read importgtp-gp6.cpp 2071 0x58882f
10 Ms::importGTP importgtp.cpp 2336 0x56abbc
11 Ms::readScore file.cpp 2160 0x5bea3d
12 Ms::MuseScore::readScore file.cpp 329 0x5aeaae
13 Ms::MuseScore::openScore file.cpp 310 0x5ae988
14 Ms::MuseScore::loadFiles file.cpp 291 0x5ae669
15 Ms::MuseScore::cmd musescore.cpp 4818 0x49d892
16 Ms::MuseScore::cmd musescore.cpp 4672 0x49cf04
17 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 740 0x6be205
18 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68c03046
19 ZN12QActionGroup7hoveredEP7QAction 0x20524d65
20 ?? 0x284446d0

In reply to by cadiz1

Slightly different stack trace with measure 4.gpx:
1 ?? 0xffffffff
2 Ms::Tuplet::elementsDuration tuplet.cpp 891 0x884818
3 Ms::GuitarPro6::readBeats importgtp-gp6.cpp 1365 0x57fc47
4 Ms::GuitarPro6::readBars importgtp-gp6.cpp 1596 0x583bb9
5 Ms::GuitarPro6::readMasterBars importgtp-gp6.cpp 1912 0x58723d
6 Ms::GuitarPro6::readGpif importgtp-gp6.cpp 2008 0x5881af
7 Ms::GuitarPro6::parseFile importgtp-gp6.cpp 291 0x574d5a
8 Ms::GuitarPro6::readGPX importgtp-gp6.cpp 275 0x574c9b
9 Ms::GuitarPro6::readGPX importgtp-gp6.cpp 247 0x574a3e
10 Ms::GuitarPro6::read importgtp-gp6.cpp 2071 0x58882f
11 Ms::importGTP importgtp.cpp 2336 0x56abbc
12 Ms::readScore file.cpp 2160 0x5bea3d
13 Ms::MuseScore::readScore file.cpp 329 0x5aeaae
14 Ms::MuseScore::openScore file.cpp 310 0x5ae988
15 Ms::MuseScore::loadFiles file.cpp 291 0x5ae669
16 Ms::MuseScore::cmd musescore.cpp 4818 0x49d892
17 Ms::MuseScore::cmd musescore.cpp 4672 0x49cf04
18 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 740 0x6be205
19 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68c03046
20 ZN12QActionGroup7hoveredEP7QAction 0x20774d65

In reply to by Jojo-Schmitz

Very cool file. I have a fix for the tuplet. It's a two sided problem
1/ we only accept tuplets on voice 1 and 2...
2/ we don't handle correctly tuplet starting with a rest.

There is another problem in the original file though, around measure 163 164 apparently.

In reply to by Nicolas

Hello and thanks for your post!

I have no doubt that some measure(s) in those 19 pages can be corrupted.

But if you look at my previously posted picture, measure 161 has only one voice and contains 8 x 8ths.

So my guess is that this error that you detected is located in another measure, in other words, that there might be something with the measure numbers when importing into musescore. May I ask you to doublecheck that measure number with the pdfs that have been posted ?

In reply to by cadiz1

I guess then that you both have now purchased GP7. Congratulations !

Question: Have Cadiz1 or Lasconic received from Arobas the file format specification for gp7 files ".gp" ?

I guess that for the Musescore project it is more important to correctly import GP7 files than older formats.

In reply to by ArielAr

Upgrade for me.
I speak for myself. Eg the GP5 and GP6 files (not former, at all! especially .gpx files, it's rather GP7 that is very new!), so these files are counted by thousands, and for long years. And the improvement of the GP6 files import (eg) is not yet complete. So, still the most important in my opinion right now.
The GP7 files are certainly not very numerous at the moment, but there is little doubt that the extension .gp (the new format) will have to be supported soon according to the priorities. Be patient!

In reply to by cadiz1

I fixed several issues related to the file above for GP6 import
1. tuplets starting with rest
2. tuplets in voices > 2
3. Multiple free text
4. Multiple overlapping barré
5. Better support of freetime

Do you still have an unanswered question? Please log in first to post your question.