MuseScore crash when clicking the Open file button in ABC Import

• Aug 15, 2014 - 15:12
S2 - Critical

On Linux Mint 17, in the lastest MuseScore 2.0 build (3d19d74), MuseScore crash when we click the button "Open file". It produces a Segmentation fault.

(process:6569): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

My MS was built with Qt 5.3.1 (GCC 4.6.1, 64 bit)

I tried to modify the plugin to open a ColorDialog or a FontDialog instead of a FileDialog and in those cases, everything works.

I also built the Qt Quick System Dialog Examples and all dialogs (including FileDialog) work perfectly.

The problem seems linked with MuseScore style configuration. Here the debug backtrace :
0 QScopedPointer >::operator-> qscopedpointer.h 120 0x950712
1 QObject::parent qobject.h 425 0xb51bae
2 QWidget::parentWidget qwidget.h 851 0xd5a47c
3 MgStyle::drawToolButtonComplexControl mstyle.cpp 4189 0xe2b111
4 MgStyle::drawComplexControl mstyle.cpp 3675 0xe27e80
5 ?? /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff5398285
6 ?? /home/steph/Qt/5.3/gcc_64/qml/QtQuick/Controls/ 0x7fffc3d57375
7 ?? /home/steph/Qt/5.3/gcc_64/qml/QtQuick/Controls/ 0x7fffc3d5820d
8 QQuickWindowPrivate::polishItems() /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff1555882
9 ?? /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff1531ac2
10 ?? /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff1532c5e
11 QWindow::event(QEvent*) /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff6910e19
12 QQuickWindow::event(QEvent*) /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff155ee4b
13 QApplicationPrivate::notify_helper(QObject*, QEvent*) /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff52f1a94
14 QApplication::notify(QObject*, QEvent*) /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff52f50b6
15 QCoreApplication::notifyInternal(QObject*, QEvent*) /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff7214f04
16 QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff6905177
17 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff690bfe5
18 QWindowSystemInterface::sendWindowSystemEvents(QFlags) /home/steph/Qt/5.3/gcc_64/lib/ 0x7ffff68f1208
19 ?? /home/steph/Qt/5.3/gcc_64/plugins/platforms/ 0x7fffe67e6460
20 g_main_context_dispatch /lib/x86_64-linux-gnu/ 0x7fffeeb2ae04

The error seems to come from a null pointer associated with the parent of the FileDialog
const QRect animatedRect( animations().toolBarEngine().animatedRect( widget->parentWidget() ) );

Any other Linux user to confirm this bug? Hard to know if it's MuseScore, Qt or Linux related.