Re: [Mscore-developer] Master crashes when opening most dialogue boxes

2017-04-20 Thread ABL
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   



--
View this message in context: 
http://dev-list.musescore.org/Master-crashes-when-opening-most-dialogue-boxes-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
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer


Re: [Mscore-developer] Master crashes when opening most dialogue boxes

2017-04-20 Thread Joachim Schmitz
Have you tried using the native file dialog? You'd need to enable it
manually in MuseScore.ini

-Original Message-
From: ABL [mailto:antonio.lo...@alice.it] 
Sent: Thursday, April 20, 2017 10:15 AM
To: mscore-developer@lists.sourceforge.net
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 




--
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
Mscore-developer@lists.sourceforge.net
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
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer


Re: [Mscore-developer] Master crashes when opening most dialogue boxes

2017-04-20 Thread 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)



--
View this message in context: 
http://dev-list.musescore.org/Master-crashes-when-opening-most-dialogue-boxes-tp7580224p7580230.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
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer


Re: [Mscore-developer] Master crashes when opening most dialogue boxes

2017-04-20 Thread 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



--
View this message in context: 
http://dev-list.musescore.org/Master-crashes-when-opening-most-dialogue-boxes-tp7580224p7580231.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
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer