crash on startup every time

• Mar 4, 2021 - 17:49

I'm now getting a crash every single time I start up 3.6.2:

Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
QGLXContext: Failed to create dummy context
failed to acquire GL context to resolve capabilities, using defaults..
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
[1]    31391 IOT instruction (core dumped)  mscore

I'm running openSUSE Tumblweed with the rpm built here: https://build.opensuse.org/package/show/multimedia%3Aapps/musescore

Here's the package build log: https://build.opensuse.org/package/live_build_log/multimedia:apps/muses…

Here's the stack trace and other debug info:

$ coredumpctl debug
           PID: 31391 (mscore)
           UID: 1000 (adam)
           GID: 100 (users)
        Signal: 6 (ABRT)
     Timestamp: Thu 2021-03-04 17:37:29 GMT (1min 9s ago)
  Command Line: mscore
    Executable: /usr/bin/mscore
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (adam)
       Boot ID: 29d2f91d57ac42708e7a98e6f3336071
    Machine ID: c98ca626ac7647b5b6142643caf08255
      Hostname: ionian
       Storage: /var/lib/systemd/coredump/core.mscore.1000.29d2f91d57ac42708e7a98e6f3336071.31391.1614879449000000.zst
       Message: Process 31391 (mscore) of user 1000 dumped core.

                Stack trace of thread 31391:
                #0  0x00007f849976a495 __GI_raise (libc.so.6 + 0x3d495)
                #1  0x00007f8499753864 __GI_abort (libc.so.6 + 0x26864)
                #2  0x00007f8499bed0e7 qt_message_fatal (libQt5Core.so.5 + 0xbb0e7)
                #3  0x00007f849b02a387 _ZN13QSGRenderLoop28handleContextCreationFailureEP12QQuickWindow (libQt5Quick.so.5 + 0x209387)
                #4  0x00007f849b02b879 _ZN22QSGGuiThreadRenderLoop12renderWindowEP12QQuickWindow (libQt5Quick.so.5 + 0x20a879)
                #5  0x00007f849b02d007 _ZN22QSGGuiThreadRenderLoop15exposureChangedEP12QQuickWindow (libQt5Quick.so.5 + 0x20c007)
                #6  0x00007f849a88dfa5 _ZN7QWindow5eventEP6QEvent (libQt5Gui.so.5 + 0x186fa5)
                #7  0x00007f84a2acc4ff _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1a54ff)
                #8  0x00007f8499e0932a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2d732a)
                #9  0x00007f849a88314d _ZN22QGuiApplicationPrivate18processExposeEventEPN29QWindowSystemInterfacePrivate11ExposeEventE (libQt5Gui.so.5 + 0x17c14d)
                #10 0x00007f849a857c5c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5 + 0x150c5c)
                #11 0x00007f84901b5faa xcbSourceDispatch (libQt5XcbQpa.so.5 + 0x67faa)
                #12 0x00007f849647ef57 g_main_dispatch (libglib-2.0.so.0 + 0x54f57)
                #13 0x00007f849647f2d8 g_main_context_iterate (libglib-2.0.so.0 + 0x552d8)
                #14 0x00007f849647f38f g_main_context_iteration (libglib-2.0.so.0 + 0x5538f)
                #15 0x00007f8499e60930 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x32e930)
                #16 0x0000000000782409 _ZN2MsL17showSplashMessageEPNS_14MsSplashScreenEO7QString (mscore + 0x382409)
                #17 0x000000000078c6a0 _ZN2Ms9MuseScore4initER11QStringList (mscore + 0x38c6a0)
                #18 0x000000000078d398 _ZN2Ms14runApplicationERiPPc (mscore + 0x38d398)
                #19 0x00000000006e513a main (mscore + 0x2e513a)
                #20 0x00007f8499754b25 __libc_start_main (libc.so.6 + 0x27b25)
                #21 0x00000000007555ae _start (mscore + 0x3555ae)

                Stack trace of thread 31395:
                #0  0x00007f8499822cdf __GI___poll (libc.so.6 + 0xf5cdf)
                #1  0x00007f849647f26e g_main_context_poll (libglib-2.0.so.0 + 0x5526e)
                #2  0x00007f849647f38f g_main_context_iteration (libglib-2.0.so.0 + 0x5538f)
                #3  0x00007f849647f3e1 glib_worker_main (libglib-2.0.so.0 + 0x553e1)
                #4  0x00007f84964a83ce g_thread_proxy (libglib-2.0.so.0 + 0x7e3ce)
                #5  0x00007f84a371a299 start_thread (libpthread.so.0 + 0x9299)
                #6  0x00007f849982daf3 __clone (libc.so.6 + 0x100af3)

                Stack trace of thread 31393:
                #0  0x00007f8499822cdf __GI___poll (libc.so.6 + 0xf5cdf)
                #1  0x00007f849647f26e g_main_context_poll (libglib-2.0.so.0 + 0x5526e)
                #2  0x00007f849647f38f g_main_context_iteration (libglib-2.0.so.0 + 0x5538f)
                #3  0x00007f8499e608bf _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x32e8bf)
                #4  0x00007f8499e07ceb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d5ceb)
                #5  0x00007f8499c26dae _ZN7QThread4execEv (libQt5Core.so.5 + 0xf4dae)
                #6  0x00007f84900df7b7 _ZN22QDBusConnectionManager3runEv (libQt5DBus.so.5 + 0x1b7b7)
                #7  0x00007f8499c27ef1 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5ef1)
                #8  0x00007f84a371a299 start_thread (libpthread.so.0 + 0x9299)
                #9  0x00007f849982daf3 __clone (libc.so.6 + 0x100af3)

                Stack trace of thread 31402:
                #0  0x00007f8499822cdf __GI___poll (libc.so.6 + 0xf5cdf)
                #1  0x00007f849647f26e g_main_context_poll (libglib-2.0.so.0 + 0x5526e)
                #2  0x00007f849647f38f g_main_context_iteration (libglib-2.0.so.0 + 0x5538f)
                #3  0x00007f8499e608bf _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x32e8bf)
                #4  0x00007f8499e07ceb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d5ceb)
                #5  0x00007f8499c26dae _ZN7QThread4execEv (libQt5Core.so.5 + 0xf4dae)
                #6  0x00007f8499c27ef1 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5ef1)
                #7  0x00007f84a371a299 start_thread (libpthread.so.0 + 0x9299)
                #8  0x00007f849982daf3 __clone (libc.so.6 + 0x100af3)

                Stack trace of thread 31398:
                #0  0x00007f849982848d syscall (libc.so.6 + 0xfb48d)
                #1  0x00007f84964d07d2 g_cond_wait_until (libglib-2.0.so.0 + 0xa67d2)
                #2  0x00007f849644e601 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x24601)
                #3  0x00007f849644ec22 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x24c22)
                #4  0x00007f84964a8d69 g_thread_pool_wait_for_new_pool (libglib-2.0.so.0 + 0x7ed69)
                #5  0x00007f84964a83ce g_thread_proxy (libglib-2.0.so.0 + 0x7e3ce)
                #6  0x00007f84a371a299 start_thread (libpthread.so.0 + 0x9299)
                #7  0x00007f849982daf3 __clone (libc.so.6 + 0x100af3)

                Stack trace of thread 31396:
                #0  0x00007f8499822cdf __GI___poll (libc.so.6 + 0xf5cdf)
                #1  0x00007f849647f26e g_main_context_poll (libglib-2.0.so.0 + 0x5526e)
                #2  0x00007f849647f5cb g_main_loop_run (libglib-2.0.so.0 + 0x555cb)
                #3  0x00007f848ef48b76 gdbus_shared_thread_func (libgio-2.0.so.0 + 0x120b76)
                #4  0x00007f84964a83ce g_thread_proxy (libglib-2.0.so.0 + 0x7e3ce)
                #5  0x00007f84a371a299 start_thread (libpthread.so.0 + 0x9299)
                #6  0x00007f849982daf3 __clone (libc.so.6 + 0x100af3)

                Stack trace of thread 31417:
                #0  0x00007f8499822cdf __GI___poll (libc.so.6 + 0xf5cdf)
                #1  0x00007f849647f26e g_main_context_poll (libglib-2.0.so.0 + 0x5526e)
                #2  0x00007f849647f38f g_main_context_iteration (libglib-2.0.so.0 + 0x5538f)
                #3  0x00007f8499e608bf _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x32e8bf)
                #4  0x00007f8499e07ceb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d5ceb)
                #5  0x00007f8499c26dae _ZN7QThread4execEv (libQt5Core.so.5 + 0xf4dae)
                #6  0x00007f849a5b0695 _ZN17QQmlThreadPrivate3runEv (libQt5Qml.so.5 + 0x321695)
                #7  0x00007f8499c27ef1 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5ef1)
                #8  0x00007f84a371a299 start_thread (libpthread.so.0 + 0x9299)
                #9  0x00007f849982daf3 __clone (libc.so.6 + 0x100af3)

                Stack trace of thread 31416:
                #0  0x00007f8499822dde __ppoll (libc.so.6 + 0xf5dde)
                #1  0x00007f84a369cc61 pa_mainloop_poll (libpulse.so.0 + 0x1dc61)
                #2  0x00007f84a36a723f pa_mainloop_iterate (libpulse.so.0 + 0x2823f)
                #3  0x0000000000b58640 _ZN2Ms10PulseAudio6paLoopEPv (mscore + 0x758640)
                #4  0x00007f84a371a299 start_thread (libpthread.so.0 + 0x9299)
                #5  0x00007f849982daf3 __clone (libc.so.6 + 0x100af3)

                Stack trace of thread 31392:
                #0  0x00007f8499822cdf __GI___poll (libc.so.6 + 0xf5cdf)
                #1  0x00007f84985b1862 _xcb_conn_wait.part.0 (libxcb.so.1 + 0xe862)
                #2  0x00007f84985b326c xcb_wait_for_event (libxcb.so.1 + 0x1026c)
                #3  0x00007f84901b4fb0 _ZN14QXcbEventQueue3runEv (libQt5XcbQpa.so.5 + 0x66fb0)
                #4  0x00007f8499c27ef1 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5ef1)
                #5  0x00007f84a371a299 start_thread (libpthread.so.0 + 0x9299)
                #6  0x00007f849982daf3 __clone (libc.so.6 + 0x100af3)

GNU gdb (GDB; openSUSE Tumbleweed) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
    .

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/mscore...
Reading symbols from /usr/lib/debug/usr/bin/mscore-3.6.2-92.3.x86_64.debug...

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:xorg (deleted) during file-backed mapping note processing

warning: Can't open file /run/nscd/dbdlBFoa (deleted) during file-backed mapping note processing

warning: Can't open file /var/lib/nscd/passwd during file-backed mapping note processing

warning: Can't open file /memfd:sljit (deleted) during file-backed mapping note processing
[New LWP 31391]
[New LWP 31395]
[New LWP 31393]
[New LWP 31402]
[New LWP 31398]
[New LWP 31396]
[New LWP 31417]
[New LWP 31416]
[New LWP 31392]
Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error

warning: File "/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/usr/lib64/go/1.15/
src/runtime/runtime-gdb.py".
To enable execution of this file add
        add-auto-load-safe-path /lib64/libthread_db-1.0.so
line to your configuration file "/home/adam/.gdbinit".
To completely disable this security protection add
        set auto-load safe-path /
line to your configuration file "/home/adam/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
        info "(gdb)Auto-loading safe path"

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

(emacs:17055): Gtk-CRITICAL **: 17:38:55.496: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `mscore'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
49        return ret;
[Current thread is 1 (Thread 0x7f84924050c0 (LWP 31391))]
Missing separate debuginfos, use: zypper install gvfs-debuginfo-1.44.1-2.4.x86_64 libsystemd0-debuginfo-246.10-2.2.x86_64
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007f8499753864 in __GI_abort () at abort.c:79
#2  0x00007f8499bed0e7 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914
#3  QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffd90eea4f0, msg=msg@entry=0x7f849b2547f6 "%s") at global/qlogging.cpp:893
#4  0x00007f849b02a387 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*) (this=this@entry=0x5eb4bc0, window=0x5834430)
    at /usr/src/debug/libqt5-qtdeclarative-5.15.2-2.2.x86_64/src/quick/scenegraph/qsgrenderloop.cpp:355
#5  0x00007f849b02b879 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) (this=0x5eb4bc0, window=)
    at /usr/src/debug/libqt5-qtdeclarative-5.15.2-2.2.x86_64/src/quick/scenegraph/qsgrenderloop.cpp:572
#6  0x00007f849b02d007 in QSGGuiThreadRenderLoop::exposureChanged(QQuickWindow*) (this=0x5eb4bc0, window=)
    at /usr/src/debug/libqt5-qtdeclarative-5.15.2-2.2.x86_64/src/quick/scenegraph/qsgrenderloop.cpp:852
#7  0x00007f849a88dfa5 in QWindow::event(QEvent*) (this=0x5834430, ev=) at kernel/qwindow.cpp:2438
#8  0x00007f84a2acc4ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=, receiver=0x5834430, e=0x7ffd90eea7e0)
    at kernel/qapplication.cpp:3632
#9  0x00007f8499e0932a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5834430, event=0x7ffd90eea7e0) at kernel/qcoreapplication.cpp:1063
#10 0x00007f849a88314d in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x7f848800be10)
    at kernel/qguiapplication.cpp:3258
#11 0x00007f849a857c5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags) (flags=flags@entry=...)
    at kernel/qwindowsysteminterface.cpp:1169
#12 0x00007f84901b5faa in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=source@entry=0x32f25d0) at qxcbeventdispatcher.cpp:105
#13 0x00007f849647ef57 in g_main_dispatch (context=0x7f8488005000) at ../glib/gmain.c:3325
#14 g_main_context_dispatch (context=0x7f8488005000) at ../glib/gmain.c:4043
#15 0x00007f849647f2d8 in g_main_context_iterate (context=context@entry=0x7f8488005000, block=block@entry=0, dispatch=dispatch@entry=1, self=)
    at ../glib/gmain.c:4119
#16 0x00007f849647f38f in g_main_context_iteration (context=0x7f8488005000, may_block=0) at ../glib/gmain.c:4184
#17 0x00007f8499e60930 in QEventDispatcherGlib::processEvents(QFlags) (this=0x32e0ba0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#18 0x0000000000782409 in Ms::showSplashMessage(Ms::MsSplashScreen*, QString&&) (sc=0x404e1a0, message=...)
    at /usr/src/debug/musescore-3.6.2-92.3.x86_64/mscore/musescore.cpp:7936
#19 0x000000000078c6a0 in Ms::MuseScore::init(QStringList&) (argv=...) at /usr/src/debug/musescore-3.6.2-92.3.x86_64/mscore/musescore.cpp:8251
#20 0x000000000078d398 in Ms::runApplication(int&, char**) (argc=, av=0x7ffd90eeaca8)
    at /usr/src/debug/musescore-3.6.2-92.3.x86_64/mscore/musescore.cpp:7913
#21 0x00000000006e513a in main(int, char**) (argc=1, argv=0x7ffd90eeaca8) at /usr/src/debug/musescore-3.6.2-92.3.x86_64/main/main.cpp:95
(gdb) f 5
#5  0x00007f849b02b879 in QSGGuiThreadRenderLoop::renderWindow (this=0x5eb4bc0, window=)
    at /usr/src/debug/libqt5-qtdeclarative-5.15.2-2.2.x86_64/src/quick/scenegraph/qsgrenderloop.cpp:572
572                 handleContextCreationFailure(window);
(gdb) l
567             if (qt_gl_global_share_context())
568                 gl->setShareContext(qt_gl_global_share_context());
569             if (!gl->create()) {
570                 delete gl;
571                 gl = nullptr;
572                 handleContextCreationFailure(window);
573             } else {
574                 if (!offscreenSurface) {
575                     offscreenSurface = new QOffscreenSurface;
576                     offscreenSurface->setFormat(gl->format());

I appreciate this is more likely to be a Qt and/or OpenGL issue but I thought I should report here first as I've never had this problem with MuseScore packages from this repository before.

I've tried the 3.6.2 AppImage but that also crashes on startup with a completely different error:

$ ~/.local/bin/MuseScore-3.6.2.548021370-x86_64.AppImage 
/usr/lib64/libjack.so.0
/usr/lib64/libnss3.so
Gdk-Message: 17:48:45.641: mscore-portable: Fatal IO error 2 (No such file or directory) on X server :0.0.

Comments

Turns out this was fixed by a reboot. I think it must have been some system-level glitch possibly related to upgrade of OS packages. In any case please ignore for now :-)

Do you still have an unanswered question? Please log in first to post your question.