Description of problem: I've started mscore after a crash. It asked about restoring previous work which I've declined. Then I closed it because it did not read the file passed on commandline so I wanted to retry. It crahed on closing ... Version-Release number of selected component: musescore-4.2.0-5.fc39 Additional info: reporter: libreport-2.17.11 type: CCpp reason: mscore killed by SIGSEGV journald_cursor: s=02fd56fde1da4b348839ff6293944165;i=f021e7e;b=a824ff45863d4e0fbaa8e78d4aa6ed14;m=7a3ea4d07f;t=60e6d809062a8;x=e771fae336d5a7c executable: /usr/bin/mscore cmdline: mscore 2000-04-28.mid cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-f8094e0fcb0a4646912d84a08a6b630a.scope rootdir: / uid: 1000 kernel: 6.6.8-200.fc39.x86_64 package: musescore-4.2.0-5.fc39 runlevel: N 5 backtrace_rating: 4 crash_function: std::vector<_jack_port*, std::allocator<_jack_port*> >::size comment: I've started mscore after a crash. It asked about restoring previous work which I've declined. Then I closed it because it did not read the file passed on commandline so I wanted to retry. It crahed on closing ... Truncated backtrace: Thread no. 1 (7 frames) #0 std::vector<_jack_port*, std::allocator<_jack_port*> >::size at /usr/include/c++/13/bits/stl_vector.h:989 #1 std::vector<_jack_port*, std::allocator<_jack_port*> >::operator[] at /usr/include/c++/13/bits/stl_vector.h:1125 #2 mu::audio::jack_process_callback at /usr/src/debug/musescore-4.2.0-5.fc39.x86_64/src/framework/audio/internal/platform/jack/jackaudiodriver.cpp:59 #3 on_rtsocket_condition at ../pipewire-jack/src/pipewire-jack.c:1927 #4 loop_iterate_cancel at ../spa/plugins/support/loop.c:454 #5 do_loop at ../src/pipewire/data-loop.c:65 #7 clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Created attachment 2007760 [details] File: proc_pid_status
Created attachment 2007761 [details] File: maps
Created attachment 2007762 [details] File: limits
Created attachment 2007763 [details] File: environ
Created attachment 2007764 [details] File: open_fds
Created attachment 2007765 [details] File: mountinfo
Created attachment 2007766 [details] File: os_info
Created attachment 2007767 [details] File: cpuinfo
Created attachment 2007768 [details] File: core_backtrace
Created attachment 2007769 [details] File: exploitable
Created attachment 2007770 [details] File: dso_list
Created attachment 2007771 [details] File: backtrace
trying the reproducibility of the crash on exit ... reporter: libreport-2.17.11 type: CCpp reason: mscore killed by SIGSEGV journald_cursor: s=02fd56fde1da4b348839ff6293944165;i=f022090;b=a824ff45863d4e0fbaa8e78d4aa6ed14;m=7b3385bed4;t=60e6e757150fc;x=f57eb1200572736c executable: /usr/bin/mscore cmdline: mscore 2000-04-28.mid cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-f8094e0fcb0a4646912d84a08a6b630a.scope rootdir: / uid: 1000 kernel: 6.6.8-200.fc39.x86_64 package: musescore-4.2.0-5.fc39 runlevel: N 5 dso_list: /usr/bin/mscore musescore-4.2.0-5.fc39.x86_64 (Fedora Project) 1704186620 backtrace_rating: 4 crash_function: std::vector<_jack_port*, std::allocator<_jack_port*> >::size comment: trying the reproducibility of the crash on exit ...
Sometimes crashes when trying to launch, sometimes when trying to open a project, sometimes when trying to save a project. Many times. reporter: libreport-2.17.11 type: CCpp reason: mscore killed by SIGSEGV journald_cursor: s=7c013e5b7da94ef9afc143fdab198c25;i=cfe07e;b=e3587fab8ebe4286a7c52dd9f4675452;m=94864f23e;t=60e894820eeaf;x=af9d0e9739e3f617 executable: /usr/bin/mscore cmdline: /usr/bin/mscore cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.musescore.MuseScore-b7a0a82d76224c2a820bf94ac49fd57e.scope rootdir: / uid: 1000 kernel: 6.7.0-367.vanilla.fc39.x86_64 package: musescore-4.2.0-5.fc39 runlevel: N 5 dso_list: /usr/bin/mscore musescore-4.2.0-5.fc39.x86_64 (Fedora Project) 1704831793 backtrace_rating: 4 crash_function: std::vector<_jack_port*, std::allocator<_jack_port*> >::size comment: Sometimes crashes when trying to launch, sometimes when trying to open a project, sometimes when trying to save a project. Many times.
This smells like a race between shutting down and processing events. We should probably do something like this at the top of mu::audio::jack_process_callback: if (data->outputPorts.size() < 2) return 0; I will add a patch for that and see if it clears things up for you, but first let's see if we can diagnose bug 2257258.
again, crash on exit (I just wonder which bug will be chosen as duplicate?) reporter: libreport-2.17.11 type: CCpp reason: mscore killed by SIGSEGV journald_cursor: s=8569f58519a34d179d29250db33a8f6c;i=f9099ef;b=854540fd4f2e4972aa3c6528be8e74b5;m=903d52dc8d;t=60f87fa3ba45b;x=9031d0c169b86b9d executable: /usr/bin/mscore cmdline: mscore cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-2f9eadb248c445128d570f3c1b680a38.scope rootdir: / uid: 1000 kernel: 6.6.11-200.fc39.x86_64 package: musescore-4.2.0-5.fc39 runlevel: N 5 dso_list: /usr/bin/mscore musescore-4.2.0-5.fc39.x86_64 (Fedora Project) 1704186620 backtrace_rating: 4 crash_function: std::vector<_jack_port*, std::allocator<_jack_port*> >::size comment: again, crash on exit (I just wonder which bug will be chosen as duplicate?)
the corresponding coredump is here: https://filetransfer.io/data-package/IfgTdQpN#link (any recommendations for a better way to send big files?)
FEDORA-2024-236f199386 (musescore-4.2.1-8.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-236f199386
Thank you for the coredump, by the way. I don't have any recommendations for a better way, sadly. To use the 4.2.1 build successfully, you may need to follow this procedure: - Start MuseScore - Select "Edit", then "Preferences" - Select "Reset preferences" - Quit and restart MuseScore - If desired, open "Preferences" again and customize
FEDORA-2024-236f199386 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-236f199386` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-236f199386 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-236f199386 (musescore-4.2.1-8.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.