[MU4 Issue] Crash upon exporting audio at 48000 Hz on certain scores
Describe the bug MuseScore crashes whenever trying to export a specific score as audio at a sample rate of 48000 Hz. This happens for any audio file format, but not all scores.
Notably, no matter what file format I choose, if I set the sample rate to 48000 Hz, each one will end up crashing at exactly 4% completion.
I've tried running this in the terminal, here's some of the output when it crashes:
[23882:23882:20221220,003443.519833:ERROR elf_image_reader.cc:116] no preferred header address
[23882:23882:20221220,003443.519849:ERROR process_reader_linux.cc:520] no module mappings 0x7f94d7fff000
[23882:23882:20221220,003443.519897:ERROR elf_image_reader.cc:116] no preferred header address
[23882:23882:20221220,003443.519913:ERROR process_reader_linux.cc:520] no module mappings 0x7f94d7ff8000
[23882:23882:20221220,003443.520046:ERROR elf_image_reader.cc:116] no preferred header address
[23882:23882:20221220,003443.520059:ERROR process_reader_linux.cc:520] no module mappings 0x7f94d7ff0000
[23882:23882:20221220,003443.520190:ERROR elf_image_reader.cc:116] no preferred header address
[23882:23882:20221220,003443.520200:ERROR process_reader_linux.cc:520] no module mappings 0x7f94d7fea000
[23882:23882:20221220,003443.520237:ERROR elf_image_reader.cc:116] no preferred header address
[23882:23882:20221220,003443.520246:ERROR process_reader_linux.cc:520] no module mappings 0x7f94d7518000
[23882:23882:20221220,003443.520284:ERROR elf_image_reader.cc:116] no preferred header address
[23882:23882:20221220,003443.526695:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.526931:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527005:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527080:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527156:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527228:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527310:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527389:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527466:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527541:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527612:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527681:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527749:ERROR elf_dynamic_array_reader.h:61] tag not found
[23882:23882:20221220,003443.527818:ERROR elf_dynamic_array_reader.h:61] tag not found
The rest of the output looks like more of this with slightly different numbers before the error.
I've also tried doing this with a new .mscz file (empty grand staff) and the audio exports without crashing. I also tried adding a single note to the empty staff and got the same result. With this in mind I've attached the .mscz file which was causing the problem.
Platform information
- OS: KDE Neon on Ubuntu 22.04
Workaround seems to be to use 44000 hz
This also happens sometimes at 44000hz. Big orchestral scores, with lots of notes.
This may be a Muse Sounds issue. See https://github.com/musescore/MuseScore/issues/15631#issuecomment-1366760441 for a list of possibly related issues.
Without Muse Sounds installed, I don’t get a crash even when my sample rate is set to 48 kHz.