MuseScore 2.0.3 hangs after a message on the console: Painter not active, aborted
I compiled musescore-2.0.3 from sources on fedora 23 64 bits.
Compiled in DEBWITHRELINFO mode.
Quite frequently, musescore hangs with the same message in the console:
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
Program received signal SIGSEGV, Segmentation fault.
I was able to get a gdb trace:
#0 0x00007ffff10768be in _int_malloc () at /lib64/libc.so.6
#1 0x00007ffff1078950 in malloc () at /lib64/libc.so.6
#2 0x00007ffff165b0f8 in operator new(unsigned long) () at /lib64/libstdc++.so.6
#3 0x0000000000c100fc in std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_insert_equal >(std::pair&&) (this=, __n=1)
at /usr/include/c++/5.3.1/ext/new_allocator.h:104
#4 0x0000000000c100fc in std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_insert_equal >(std::pair&&) (__a=..., __n=1)
at /usr/include/c++/5.3.1/bits/alloc_traits.h:491
#5 0x0000000000c100fc in std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_insert_equal >(std::pair&&) (this=)
at /usr/include/c++/5.3.1/bits/stl_tree.h:491
#6 0x0000000000c100fc in std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_insert_equal >(std::pair&&) (this=)
at /usr/include/c++/5.3.1/bits/stl_tree.h:545
#7 0x0000000000c100fc in std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_insert_equal >(std::pair&&) (this=, __arg=) at /usr/include/c++/5.3.1/bits/stl_tree.h:459
#8 0x0000000000c100fc in std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_insert_equal >(std::pair&&) (__node_gen=..., __v=, __p=, __x=, this=) at /usr/include/c++/5.3.1/bits/stl_tree.h:1509
#9 0x0000000000c100fc in std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_insert_equal >(std::pair&&) (this=this@entry=0x21e0618, __v=__v@entry=) at /usr/include/c++/5.3.1/bits/stl_tree.h:1893
#10 0x0000000000c080ce in Ms::collectNote(Ms::EventMap*, int, Ms::Note const*, int, int) (__x=, this=0x21e0618) at /usr/include/c++/5.3.1/bits/stl_multimap.h:529
#11 0x0000000000c080ce in Ms::collectNote(Ms::EventMap*, int, Ms::Note const*, int, int) (offTime=49679, onTime=, velo=, pitch=, channel=2, note=0x349c0d0, events=0x21e0618) at /home/collette/MuseScore-2.0.3/libmscore/rendermidi.cpp:167
#12 0x0000000000c080ce in Ms::collectNote(Ms::EventMap*, int, Ms::Note const*, int, int) (events=events@entry=0x21e0618, channel=channel@entry=2, note=0x349c0d0, velo=80, tickOffset=tickOffset@entry=0) at /home/collette/MuseScore-2.0.3/libmscore/rendermidi.cpp:241
#13 0x0000000000c0bf80 in Ms::collectMeasureEvents(Ms::EventMap*, Ms::Measure*, Ms::Staff*, int) (events=events@entry=0x21e0618, m=m@entry=0x33354f0, staff=staff@entry=0x329dc80, tickOffset=tickOffset@entry=0) at /home/collette/MuseScore-2.0.3/libmscore/rendermidi.cpp:367
#14 0x0000000000c0c2be in Ms::Score::renderStaff(Ms::EventMap*, Ms::Staff*) (this=this@entry=0x3296cb0, events=events@entry=0x21e0618, staff=0x329dc80)
at /home/collette/MuseScore-2.0.3/libmscore/rendermidi.cpp:622
#15 0x0000000000c0f8c7 in Ms::Score::renderMidi(Ms::EventMap*) (this=0x3296cb0, events=events@entry=0x21e0618)
at /home/collette/MuseScore-2.0.3/libmscore/rendermidi.cpp:1592
#16 0x00000000007b6fa0 in Ms::Seq::collectEvents() (this=0x2160560) at /home/collette/MuseScore-2.0.3/mscore/seq.cpp:954
#17 0x00000000007b70d8 in Ms::Seq::seekCommon(int) (this=this@entry=0x2160560, utick=utick@entry=0) at /home/collette/MuseScore-2.0.3/mscore/seq.cpp:1026
#18 0x00000000007b7171 in Ms::Seq::seek(int) (this=this@entry=0x2160560, utick=utick@entry=0) at /home/collette/MuseScore-2.0.3/mscore/seq.cpp:1053
#19 0x00000000007b7881 in Ms::Seq::seqMessage(int, int) (this=0x2160560, msg=, arg=0) at /home/collette/MuseScore-2.0.3/mscore/seq.cpp:464
#20 0x00007ffff1bfced9 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#21 0x00007ffff2503c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
---Type to continue, or q to quit---
#22 0x00007ffff2508e96 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#23 0x00007ffff1bcf968 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#24 0x00007ffff1bd182a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#25 0x00007ffff1c248e3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#26 0x00007fffee400e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#27 0x00007fffee4011d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#28 0x00007fffee40127c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#29 0x00007ffff1c24d0b in QEventDispatcherGlib::processEvents(QFlags) () at /lib64/libQt5Core.so.5
#30 0x00007ffff1bcd6ea in QEventLoop::exec(QFlags) () at /lib64/libQt5Core.so.5
#31 0x00007ffff1bd5ddc in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#32 0x0000000000657988 in main(int, char**) (argc=1, av=) at /home/collette/MuseScore-2.0.3/mscore/musescore.cpp:5166
Comments
Seems this would have something to do with the specific score you are working on. Apparently from the stack trace it happens during playback, or in preparing the music for playback, anyhow. Can you post a sample score and precise steps to reproduce the problem?
Here is the file I use: The Beatles - Because. Imported from a gp5 file and "fine tuned manually".
I added also the original gp5 file.
The steps to reproduce the problem: just play the song. I use a custom sf2 sound font (http://ycollette.free.fr/Guitare/MIDI/63mg_The_Xioad_Bank.zip).
The problem is very reproductible. But it does not happen always at the same position in the song.
Some times after 4 measures, sometimes just before the end.
I use the jack backend to play the song.
If you are using jack, then you aren't really using a soundfont at all, right? That is, the internal synth is not used since you are routing output to jack? Or, if the internal synth really is being used rather than jack, does the problem go away if you use a different soundfont? I couldn't reproduce using the standard one.
Either way, it seems the problem is unique to however you have your playback set up, so you might try experimenting on your system to see what the key to reproducing the problem really is.
I use the jack backend to connect the audio to the output, not to use midi events generated by musescore. musescore audio out -> jack system in
I will test:
- using pulseaudio as a backend;
- using another soundfont (the musescore one);
As far as I understand, if I use musescore soundfont, it's a sf3 file and it doesn't use fluidsynth to produce the sound.
It also hangs with pulseaudio and the default sf3 musescore soundfont:
*** Error in `/local/stow/mscore-2.0.3/bin/mscore': free(): invalid pointer: 0x0000000001ddebd0 ***
#0 0x00007ffff1029a98 in raise () at /lib64/libc.so.6
#1 0x00007ffff102b69a in abort () at /lib64/libc.so.6
#2 0x00007ffff106cdaa in () at /lib64/libc.so.6
#3 0x00007ffff10754fa in _int_free () at /lib64/libc.so.6
#4 0x00007ffff1078cac in free () at /lib64/libc.so.6
#5 0x00007ffff1f08d0f in QList::~QList() () at /lib64/libQt5Gui.so.5
#6 0x00007ffff1fe5fd9 in QFontDatabasePrivate::invalidate() () at /lib64/libQt5Gui.so.5
#7 0x00007ffff1fec45d in QFontDatabasePrivate::addAppFont(QByteArray const&, QString const&) () at /lib64/libQt5Gui.so.5
#8 0x00007ffff1feed07 in QFontDatabase::addApplicationFont(QString const&) () at /lib64/libQt5Gui.so.5
#9 0x0000000000c64b3f in Ms::ScoreFont::draw(Ms::SymId, QPainter*, double, QPointF const&, double) const (this=0x1ce3050, id=, painter=painter@entry=0x7fffffffbe50, mag=1,0000006299212598, mag@entry=2,5527652561036864e-316, pos=..., worldScale=0,30415359756677124)
at /home/collette/MuseScore-2.0.3/libmscore/sym.cpp:5332
#10 0x0000000000c650f9 in Ms::ScoreFont::draw(Ms::SymId, QPainter*, double, QPointF const&) const (this=, id=, painter=painter@entry=0x7fffffffbe50, mag=2,5527652561036864e-316, pos=...) at /home/collette/MuseScore-2.0.3/libmscore/sym.cpp:5310
#11 0x0000000000b845dc in Ms::Element::drawSymbol(Ms::SymId, QPainter*, QPointF const&) const (this=this@entry=0x3146640, id=, p=p@entry=0x7fffffffbe50, o=...) at /home/collette/MuseScore-2.0.3/libmscore/element.cpp:1697
#12 0x0000000000c616bd in Ms::Symbol::draw(QPainter*) const (this=0x3146640, p=0x7fffffffbe50) at /home/collette/MuseScore-2.0.3/libmscore/symbol.cpp:77
#13 0x0000000000b6bb33 in Ms::Clef::draw(QPainter*) const (this=, painter=0x7fffffffbe50) at /home/collette/MuseScore-2.0.3/libmscore/clef.cpp:356
#14 0x0000000000cd92ca in Ms::Score::print(QPainter*, int) (this=this@entry=0x313d190, painter=painter@entry=0x7fffffffbe50, pageNo=pageNo@entry=0)
at /home/collette/MuseScore-2.0.3/libmscore/scorefile.cpp:1267
#15 0x0000000000cd9b2c in Ms::Score::createThumbnail() (this=this@entry=0x313d190) at /home/collette/MuseScore-2.0.3/libmscore/scorefile.cpp:490
#16 0x0000000000cd9f6f in Ms::Score::saveCompressedFile(QIODevice*, QFileInfo&, bool) (this=this@entry=0x313d190, f=f@entry=0x7fffffffc140, info=..., onlySelection=onlySelection@entry=false) at /home/collette/MuseScore-2.0.3/libmscore/scorefile.cpp:538
#17 0x0000000000762496 in Ms::MuseScore::autoSaveTimerTimeout() (this=0x2b3c920) at /home/collette/MuseScore-2.0.3/mscore/musescore.cpp:3315
#18 0x0000000000a282a9 in Ms::MuseScore::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x2b3c920, _c=, _id=, _a=) at /home/collette/MuseScore-2.0.3/build.release/mscore/moc_musescore.cpp:775
#19 0x00007ffff1bfc0a0 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#20 0x00007ffff1c088b8 in QTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#21 0x00007ffff1bfce93 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#22 0x00007ffff2503c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#23 0x00007ffff2508e96 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#24 0x00007ffff1bcf968 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#25 0x00007ffff1c23bde in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#26 0x00007ffff1c24111 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#27 0x00007fffee400e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#28 0x00007fffee4011d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#29 0x00007fffee40127c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#30 0x00007ffff1c24d0b in QEventDispatcherGlib::processEvents(QFlags) () at /lib64/libQt5Core.so.5
#31 0x00007ffff1bcd6ea in QEventLoop::exec(QFlags) () at /lib64/libQt5Core.so.5
#32 0x00007ffff1bd5ddc in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#33 0x0000000000657988 in main(int, char**) (argc=1, av=) at /home/collette/MuseScore-2.0.3/mscore/musescore.cpp:5166
I found a message from the muse tracker mailing list related to the use of constData.
Maybe this is not related to the problem but ...
Everyone is advised to pull this from the git master.
*Important bug fix: About two dozen CORRUPT usages of QByteArray::constData().
In: routepopup.cpp lv2host.cpp helper.cpp dssihost.cpp jackmidi.cpp conf.cpp
vst_native.cpp minstrument.cpp
We were doing things like:
const char* cstr = qstring.toLatin1().constData();
printf(cstr);
Which is a no-no. The QByteArray is out of scope.
[Raises hand.] "My bad recently too. It's easy to forget that rule.
We fixed so verrrry many of those things after the move to Qt4."
Symptoms could vary wildly. They might happen frequently or not at all.
On my system MusE steadfastly refused to load the config file -
a mere dozen or so lines of code into the application.
Oops!
It was always starting with a blank config meaning all dialogs popping up
and Transport window always opening.
Other possible symptoms: Weird corrupted text in places, Jack connection
problems, midi controller corruption, LV2, DSSI, or native VST controller
or text corruption and so on, not to mention any secondary effects of
passing around corrupt strings.
I checked all 566 instances of the text ".constData" and fixed the bad ones.
I found another way to trigger the problem.
I've got a guitarpro score which has been modified by tuxguitar (I transposed everything 5 semi-tones higher and return each guitar 5 semi-tones below).
When I open (just click once on the score name in the open->file dialog to trigger the thumbnail rendering) the gp file with musescore compiled from master git repo, I've got the same crash.
In the attachment, the file without 'transposed' is the original score download from internet. The one with 'transposed' has been transposed using tuxguitar.
#0 0x00007fffef034a98 in raise () at /lib64/libc.so.6
#1 0x00007fffef03669a in abort () at /lib64/libc.so.6
#2 0x00007fffef077daa in () at /lib64/libc.so.6
#3 0x00007fffef080c06 in _int_free () at /lib64/libc.so.6
#4 0x00007fffef083cac in free () at /lib64/libc.so.6
#5 0x00007fffea7fcfdc in FcPatternDestroy () at /lib64/libfontconfig.so.1
#6 0x00007fffea7f63dd in FcFontSetDestroy () at /lib64/libfontconfig.so.1
#7 0x00007fffea7ea8b3 in FcConfigDestroy () at /lib64/libfontconfig.so.1
#8 0x00007fffea7ed4c1 in FcConfigSetCurrent () at /lib64/libfontconfig.so.1
#9 0x00007fffea7f6a5f in FcInitReinitialize () at /lib64/libfontconfig.so.1
#10 0x00007fffd8815980 in QFontconfigDatabase::populateFontDatabase() () at /lib64/libQt5XcbQpa.so.5
#11 0x00007ffff05be799 in initializeDb() () at /lib64/libQt5Gui.so.5
#12 0x00007ffff05be839 in QFontDatabase::QFontDatabase() () at /lib64/libQt5Gui.so.5
#13 0x00007ffff54055a3 in QFontComboBoxPrivate::_q_updateModel() () at /lib64/libQt5Widgets.so.5
#14 0x00007ffff5405e80 in QFontComboBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libQt5Widgets.so.5
#15 0x00007fffefc070a0 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#16 0x00007ffff05c245d in QFontDatabasePrivate::addAppFont(QByteArray const&, QString const&) () at /lib64/libQt5Gui.so.5
#17 0x00007ffff05c4d07 in QFontDatabase::addApplicationFont(QString const&) () at /lib64/libQt5Gui.so.5
#18 0x0000000000c2cf6e in Ms::ScoreFont::draw(Ms::SymId, QPainter*, double, QPointF const&, double) const (this=0x1c8b810, id=, painter=painter@entry=0x7fffffff8c80, mag=1, mag@entry=2,9265334269804062e-316, pos=..., worldScale=0,30415359756677124) at /home/collette/repositories/mscore/libmscore/sym.cpp:5308
#19 0x0000000000c2d529 in Ms::ScoreFont::draw(Ms::SymId, QPainter*, double, QPointF const&) const (this=, id=, painter=painter@entry=0x7fffffff8c80, mag=2,9265334269804062e-316, pos=...) at /home/collette/repositories/mscore/libmscore/sym.cpp:5286
#20 0x0000000000b5c07c in Ms::Element::drawSymbol(Ms::SymId, QPainter*, QPointF const&) const (this=this@entry=0x387d5a0, id=, p=p@entry=0x7fffffff8c80, o=...) at /home/collette/repositories/mscore/libmscore/element.cpp:1736
#21 0x0000000000bbd576 in Ms::Note::draw(QPainter*) const (this=0x387d5a0, painter=0x7fffffff8c80) at /home/collette/repositories/mscore/libmscore/note.cpp:752
#22 0x0000000000c96ef8 in Ms::Score::print(QPainter*, int) (this=this@entry=0x38078c0, painter=painter@entry=0x7fffffff8c80, pageNo=pageNo@entry=0)
at /home/collette/repositories/mscore/libmscore/scorefile.cpp:1236
#23 0x0000000000c976ff in Ms::Score::createThumbnail() (this=this@entry=0x38078c0) at /home/collette/repositories/mscore/libmscore/scorefile.cpp:496
#24 0x00000000008cdf8e in Ms::createThumbnail(QString const&) (name=...) at /home/collette/repositories/mscore/mscore/file.cpp:2631
#25 0x00000000008cea7d in Ms::MuseScore::extractThumbnail(QString const&) (this=, name=...) at /home/collette/repositories/mscore/mscore/file.cpp:2644
#26 0x00000000009d5621 in Ms::ScorePreview::setScore(QString const&) (this=0x31f6640, s=...) at /home/collette/repositories/mscore/mscore/scorePreview.cpp:37
#27 0x0000000000a0fa09 in Ms::ScorePreview::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x31f6640, _c=, _id=, _a=) at /home/collette/repositories/mscore/build.release/mscore/moc_scorePreview.cpp:81
#28 0x00007fffefc070a0 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#29 0x00007ffff54c40f5 in QFileDialog::currentChanged(QString const&) () at /lib64/libQt5Widgets.so.5
#30 0x00007ffff54ce3be in QFileDialogPrivate::_q_currentChanged(QModelIndex const&) () at /lib64/libQt5Widgets.so.5
#31 0x00007ffff54d3f1d in QFileDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libQt5Widgets.so.5
#32 0x00007fffefc070a0 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#33 0x00007fffefb8a9ba in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () at /lib64/libQt5Core.so.5
#34 0x00007fffefb8ac40 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags) () at /lib64/libQt5Core.so.5
#35 0x00007ffff5525c0b in QAbstractItemView::mousePressEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#36 0x00007ffff55693d7 in QTreeView::mousePressEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
---Type to continue, or q to quit---
#37 0x00007ffff530c8ef in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#38 0x00007ffff540773e in QFrame::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#39 0x00007ffff552bfe3 in QAbstractItemView::viewportEvent(QEvent*) () at /lib64/libQt5Widgets.so.5
#40 0x00007ffff5568eac in QTreeView::viewportEvent(QEvent*) () at /lib64/libQt5Widgets.so.5
#41 0x00007fffefbda6d2 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#42 0x00007ffff52c7be5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#43 0x00007ffff52cd611 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#44 0x00007fffefbda968 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#45 0x00007ffff52cc3e5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) ()
at /lib64/libQt5Widgets.so.5
#46 0x00007ffff5325e79 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#47 0x00007ffff53283cb in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#48 0x00007ffff52c7c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#49 0x00007ffff52cce96 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#50 0x00007fffefbda968 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#51 0x00007ffff04f3950 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#52 0x00007ffff04f54e5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#53 0x00007ffff04d26eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags) () at /lib64/libQt5Gui.so.5
#54 0x00007fffd8814940 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#55 0x00007fffec392e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#56 0x00007fffec3931d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#57 0x00007fffec39327c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#58 0x00007fffefc2fcef in QEventDispatcherGlib::processEvents(QFlags) () at /lib64/libQt5Core.so.5
#59 0x00007fffefbd86ea in QEventLoop::exec(QFlags) () at /lib64/libQt5Core.so.5
#60 0x00007ffff54c076c in QDialog::exec() () at /lib64/libQt5Widgets.so.5
#61 0x00000000008c4875 in Ms::MuseScore::getOpenScoreNames(QString const&, QString const&) (this=this@entry=0x2cedfc0, filter=..., title=...)
at /home/collette/repositories/mscore/mscore/file.cpp:832
#62 0x00000000008c507f in Ms::MuseScore::loadFiles() (this=this@entry=0x2cedfc0) at /home/collette/repositories/mscore/mscore/file.cpp:279
#63 0x000000000075e091 in Ms::MuseScore::cmd(QAction*, QString const&) (this=this@entry=0x2cedfc0, a=a@entry=0x2d0ddc0, cmd=...)
at /home/collette/repositories/mscore/mscore/musescore.cpp:4184
#64 0x000000000075f331 in Ms::MuseScore::cmd(QAction*) (this=0x2cedfc0, a=0x2d0ddc0) at /home/collette/repositories/mscore/mscore/musescore.cpp:4056
#65 0x0000000000a11624 in Ms::MuseScore::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x2cedfc0, _c=, _id=, _a=) at /home/collette/repositories/mscore/build.release/mscore/moc_musescore.cpp:825
#66 0x00007fffefc070a0 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#67 0x00007ffff52c24df in QActionGroup::triggered(QAction*) () at /lib64/libQt5Widgets.so.5
#68 0x00007ffff52c3129 in QActionGroup::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libQt5Widgets.so.5
#69 0x00007fffefc070a0 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#70 0x00007ffff52be922 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#71 0x00007ffff52c1440 in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#72 0x00007ffff5442fd2 in QMenuPrivate::activateCausedStack(QVector > const&, QAction*, QAction::ActionEvent, bool) () at /lib64/libQt5Widgets.so.5
#73 0x00007ffff5449156 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () at /lib64/libQt5Widgets.so.5
#74 0x00007ffff544d379 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
---Type to continue, or q to quit---
#75 0x00007ffff530c048 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#76 0x00007ffff544de0b in QMenu::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#77 0x00007ffff52c7c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#78 0x00007ffff52cd611 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#79 0x00007fffefbda968 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#80 0x00007ffff52cc3e5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) ()
at /lib64/libQt5Widgets.so.5
#81 0x00007ffff53261e7 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#82 0x00007ffff53283cb in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#83 0x00007ffff52c7c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#84 0x00007ffff52cce96 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#85 0x00007fffefbda968 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#86 0x00007ffff04f3950 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#87 0x00007ffff04f54e5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#88 0x00007ffff04d26eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags) () at /lib64/libQt5Gui.so.5
#89 0x00007fffd8814940 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#90 0x00007fffec392e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#91 0x00007fffec3931d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#92 0x00007fffec39327c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#93 0x00007fffefc2fcef in QEventDispatcherGlib::processEvents(QFlags) () at /lib64/libQt5Core.so.5
#94 0x00007fffefbd86ea in QEventLoop::exec(QFlags) () at /lib64/libQt5Core.so.5
#95 0x00007fffefbe0ddc in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#96 0x00000000006549c1 in main(int, char**) (argc=1, av=) at /home/collette/repositories/mscore/mscore/musescore.cpp:5256
I encounter sporadic and random crashes. Sometimes, mscore crashes when it is idle !
Here are 2 backtraces in attachments. They looks like others in this this issue.
@ycollet
If it is an Important bug fix, why mscore has not fixed and updated ?
As far as I know, we are still awaiting clear and precise steps to reproduce the crash(es) seen in this report.
Unfortunately, I'm unable to provide reproductive steps to trigger the crash. It happens fully randomly : yesterday, it crashed twice, today no crash. I use mscore heavily about 2 hours/day. When it crashes, it's generally few instants after launching it. The only thing I can do is collecting crashes carefully and post them here. If you have ideas to further investigations, let me know.
See also #123686: crash on saving score and #180131: crash on ubuntu 16.04
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.