New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MuseScore development builds crash when placing note #16852
Comments
So it dies of a failed assertion in https://github.com/musescore/MuseScore/blob/master/thirdparty/opus/celt/celt_decoder.c#L118 |
Maybe don't build in Debug mode? |
Can't reproduce it. Though it's strange how a note-input can cause a crash in opus. Since opus is used during export to ogg. |
It crashes in both Debug and Release. |
Strange, asserts should be disabled in non-Debug builds |
I found out that besides the above case, it crashes when opening any score with notes that is produced by MuseScore 4, but there's no problem with scores from MuseScore 3. |
I got the MuseScore build to run fine on a VM without this problem but on my host system for whatever reason it's still happening. |
@faskr Given that you can build MuseScore yourself, does that also mean you can run it in a debugger? It would be useful to see the stack trace (rather than the console output). |
This is the call stack when MS4 pauses on exception as soon as a note is placed:
|
Thanks! That's useful. So this is a Muse Sounds issue... |
I'd like to add to this that I seem to be running into the same issue while trying to select a new sound from the mixer while running Debug (from master branch) on Ubuntu 22.04.2. The only other instruments pack I have besides MuseBasic is MuseBrass. When selecting a MuseBrass instrument the program crashes with a segfault. This bug is not reproducible for me in the 4.0.2 release. Application output:
stack trace: 1 __pthread_kill_implementation pthread_kill.c 44 0x7ffff2896a7c |
I have exactly the same on my 4.1 build on Ubuntu 22.04 (vst enabled), when selecting a MuseSounds instrument in the mixer. |
I have been working on a cloned repo of MuseScore on Ubuntu 22.04, but recently I started having a problem that I didn't have before. Any build that I run crashes when a new note is placed on a score. I even tried re-cloning but the same thing happened. There seems to be something wrong with my system but all required packages that I could find are installed. I don't think it has to do with MuseScore updates either, because complete builds that worked before started crashing too. Here's the output:
17:01:48.022 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: note-input 17:01:48.192 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: put-note Fatal (internal) error in ../celt/celt_decoder.c, line 118: assertion failed: st->mode == opus_custom_mode_create(48000, 960, NULL) [38186:38186:20230315,170148.238939:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.241164:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.244452:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.244530:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.244687:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.244764:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.244855:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248149:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248286:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248477:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248518:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248557:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248597:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248635:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248673:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248709:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248745:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248794:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248855:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248903:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.248959:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249012:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249060:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249114:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249166:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249224:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249276:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249348:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249408:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249472:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249557:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249620:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.249686:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.250034:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.250104:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.250254:ERROR elf_dynamic_array_reader.h:61] tag not found [38186:38186:20230315,170148.250308:ERROR elf_dynamic_array_reader.h:61] tag not found CMake Error at build.cmake:293 (message): Run step failed with status Subprocess aborted. See output above for details.
I don't think this is reproducible from what I know currently, but my system is Ubuntu 22.04, and I simply opened a new score, entered note placing mode, and placed a note. I tested the latest development push, but as I said, builds from prior pushes that had worked suddenly had the same problem even though I hadn't rebuilt them.
The text was updated successfully, but these errors were encountered: