Program crashes when importing a locked Guitar Pro File

• Feb 21, 2021 - 08:25
Reported version
S2 - Critical

On Mac OSX 11.2.1 open one of the attached Guitar Pro files downloaded from Justinguitar. Musescore crashes immediately and a new start is necessary.

Not sure whether the severity is ok. But it's a import format issue. Therefore I took 3 of 5.


Some Information, which may be useful?
When opening these three files with GP7, I notice that a warning appears (in blue, top right of the screen - image below) : "Informations. The document is locked. You have to unlock it first".
And so, you need a password (which I don't have - issued by the justinguitar com website, I guess) to open this file.
Of course, it is not exportable in any format, XML or other.
And yet, looking at the contents - image below - it is very simple, nothing seems a priori to be able to cause such a failure to open ?
So I wonder if the real or possible/related cause of this issue might not be this unlocking problem?


In reply to by cadiz1

thanks for the reply. I guess this is not the issue. This could be an issue. I don't have Guitar Pro, but the files are free for downloads and no passwords are given e.g.
in the Downloads Tab
Maybe there is a read only protection in guitar pro?

When trying to open the file musescore directly crashes and there is no option to enter a password.

But probably it's not important if I'm the only one reporting this issue and no one else is using this feature.

Thanks for the great program anyway to all who contribute!

Stack trace:
1 Ms::GuitarPro6::findNumMeasures importgtp-gp6.cpp 663 0x8410f8
2 Ms::GuitarPro6::readGpif importgtp-gp6.cpp 2484 0x853d47
3 Ms::GuitarPro7::read importgtp-gp7.cpp 117 0x857995
4 Ms::importGTP importgtp.cpp 2733 0x82dbfe
5 Ms::readScore file.cpp 2352 0x4cb0f0
6 Ms::MuseScore::readScore file.cpp 473 0x4bbfcc
7 Ms::MuseScore::openScore file.cpp 415 0x4bba8c
8 Ms::MuseScore::doLoadFiles file.cpp 348 0x4bb1d3
9 Ms::MuseScore::openFiles file.cpp 313 0x4bae1c
10 Ms::MuseScore::cmd musescore.cpp 6241 0x4312c3
11 Ms::MuseScore::cmd musescore.cpp 6033 0x4301f2
12 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 524 0x5ebc8c
13 void doActivate(QObject *, int, void * *) 0x68b978bb
14 QActionGroupPrivate::_q_actionTriggered() 0x32374cc2
15 QActionGroup::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x32375299
16 void doActivate(QObject *, int, void * *) 0x68b978bb
17 QAction::activate(QAction::ActionEvent) 0x32373df3
18 QAbstractButtonPrivate::click() 0x32455ffb
19 QAbstractButton::mouseReleaseEvent(QMouseEvent *) 0x324561d1
20 QToolButton::mouseReleaseEvent(QMouseEvent *) 0x3252b7fe

Seems the import doesn't find any measures in the file