Quantcast

Master crashes when opening most dialogue boxes

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Master crashes when opening most dialogue boxes

Maurizio M. Gavioli
Context: self-compiled today master under Linux Mint 17.3, Qt 5.8, Qt Creator 4.2.1

Description: the programme crashes with a segmentation fault when the "exec()" method is called for many of the dialogue boxes. For instance:

Steps:
1) Start MuseScore
2) Select menu item "File | Open..."

result: segmentation fault in mscore/file.cpp, line 852 (method QStringList MuseScore::getOpenScoreNames(const QString& filter, const QString& title)).

Note: the only dialogue box I was able to open so far is the Preferences dialogue. This happens when running from within Qt Creator and from a command line. In any case no error message is provided beyond "Segmentation fault".

Is this expected as for instance a consequence of some unfinished development stage?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Master crashes when opening most dialogue boxes

Jojo-Schmitz
Works just fine on Windows. Only that load/create mp3 dialog needs to be
dismissed

-----Original Message-----
From: Maurizio M. Gavioli [mailto:[hidden email]]
Sent: Wednesday, April 19, 2017 10:11 AM
To: [hidden email]
Subject: [Mscore-developer] Master crashes when opening most dialogue boxes

*Context*: self-compiled today master under Linux Mint 17.3, Qt 5.8, Qt
Creator 4.2.1

*Description*: the programme crashes with a segmentation fault when the
"exec()" method is called for many of the dialogue boxes. For instance:

*Steps*:
1) Start MuseScore
2) Select menu item "File | Open..."

*result*: segmentation fault in /mscore/file.cpp/, line 852 (method
/QStringList MuseScore::getOpenScoreNames(const QString& filter, const
QString& title)/).

*Note*: the only dialogue box I was able to open so far is the Preferences
dialogue. This happens when running from within Qt Creator and from a
command line. In any case no error message is provided beyond "Segmentation
fault".

Is this expected as for instance a consequence of some unfinished
development stage?



--
View this message in context:
http://dev-list.musescore.org/Master-crashes-when-opening-most-dialogue-boxe
s-tp7580224.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Master crashes when opening most dialogue boxes

Maurizio M. Gavioli
Jojo-Schmitz wrote
Works just fine on Windows. Only that load/create mp3 dialog needs to be
dismissed
Do you mean that you (and possibly other as well) can open an existing score via the "File | Open..." menu command? That it may be a Linux specific issue or perhaps specific to my system?

Last time I tried (three weeks ago) it was working, with much the same system and set up as now.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Master crashes when opening most dialogue boxes

Jojo-Schmitz
Yes, I can. Maybe it is about the native/non-native file dialog?

-----Original Message-----
From: Maurizio M. Gavioli [mailto:[hidden email]]
Sent: Wednesday, April 19, 2017 7:10 PM
To: [hidden email]
Subject: Re: [Mscore-developer] Master crashes when opening most dialogue
boxes

Jojo-Schmitz wrote
> Works just fine on Windows. Only that load/create mp3 dialog needs to
> be dismissed

Do you mean that you (and possibly other as well) can open an existing score
via the "File | Open..." menu command? That it may be a Linux specific issue
or perhaps specific to my system?

Last time I tried (three weeks ago) it was working, with much the same
system and set up as now.



--
View this message in context:
http://dev-list.musescore.org/Master-crashes-when-opening-most-dialogue-boxe
s-tp7580224p7580226.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
ABL
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Master crashes when opening most dialogue boxes

ABL
In reply to this post by Maurizio M. Gavioli
I managed to reproduce this crash under Linux Mint 18.1, with Qt 5.8.
It does not crash with Qt 5.6.
Attached the crash log from AddressSanitizer. By looking at the log, it appears to be this bug:
https://bugreports.qt.io/browse/QTBUG-58762
So, unfortunately, I think it is a bug of Qt, or gtk, or both combined.
Ciao,
ABL
dialog_log.txt
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Master crashes when opening most dialogue boxes

Jojo-Schmitz
Have you tried using the native file dialog? You'd need to enable it
manually in MuseScore.ini

-----Original Message-----
From: ABL [mailto:[hidden email]]
Sent: Thursday, April 20, 2017 10:15 AM
To: [hidden email]
Subject: Re: [Mscore-developer] Master crashes when opening most dialogue
boxes

I managed to reproduce this crash under Linux Mint 18.1, with Qt 5.8.
It does not crash with Qt 5.6.
Attached the crash log from AddressSanitizer. By looking at the log, it
appears to be this bug:
https://bugreports.qt.io/browse/QTBUG-58762
So, unfortunately, I think it is a bug of Qt, or gtk, or both combined.
Ciao,
ABL
dialog_log.txt <http://dev-list.musescore.org/file/n7580228/dialog_log.txt>




--
View this message in context:
http://dev-list.musescore.org/Master-crashes-when-opening-most-dialogue-boxe
s-tp7580224p7580228.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
ABL
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Master crashes when opening most dialogue boxes

ABL
I tried with "nativedialogs=true" in ~/.config/MuseScore/MuseScoreDevelopment.ini but there wasn't any change (i.e. still crashing).
Then I noticed that at the beginning of the command line output there was this warning: "QApplication: invalid style override passed, ignoring it", which led me to this conversation:
https://forum.qt.io/topic/75398/qt-5-8-0-qapplication-invalid-style-override-passed-ignoring-it
I thus decided to move libqtgtk3.so away from its location in Qt/5.8/gcc_64/plugins/platformthemes (renaming was not enough) and start mscore again with "-F". The crash disappeared. When copying back libqtgtk3.so in the platformthemes folder, the crash appeared again.
Therefore I guess the problem probably lies inside Qt's gtk3 platform plugin implementation.

(As a side note, after a factory reset "-F" the "nativedialogs" line disappeared in the new MuseScoreDevelopment.ini file)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Master crashes when opening most dialogue boxes

Maurizio M. Gavioli
ABL wrote
I tried with "nativedialogs=true" in ~/.config/MuseScore/MuseScoreDevelopment.ini but there wasn't any change (i.e. still crashing).
Then I noticed that at the beginning of the command line output there was this warning: "QApplication: invalid style override passed, ignoring it", which led me to this conversation:
https://forum.qt.io/topic/75398/qt-5-8-0-qapplication-invalid-style-override-passed-ignoring-it
I thus decided to move libqtgtk3.so away from its location in Qt/5.8/gcc_64/plugins/platformthemes (renaming was not enough)
A few more tests and my findings are slightly different from ABL's:

1) As he says, by removing the Qt/5.8/gcc_64/plugins/platformthemes/libqtgtk3.so Qt plug-in file, things work fine with both native and non-native dialogue boxes.

2) If the Qt plug-in file is left in its place, native dialogue boxes do work, but non-native raise a segmentation fault.

It definitely seems a Qt issue; for the moment, I'll try to live without the libqtgtk3.so and see what happens... As an additional info, my Linux Mint 17.3 is the Mate version (which should not use GTK 3 anyway...)

Thanks for the help,

Maurizio
Loading...