musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.31k stars 2.66k forks source link

[MU4 Issue] Enabling Note-Entry Mode on Percussion Clef Staves Crashes MuseScore #17668

Closed ludovikbechard closed 1 year ago

ludovikbechard commented 1 year ago

Issue type Crash

Bug description

Whenever I enable note-entry mode (either by using the shortcut "n" or clicking on the icon) while being focused on a percussion clef staff, MuseScore 4 crashes instantly. Enabling note-entry mode on another type of staff (treble clef, etc.) and trying to enter notes onto the percussion staff also causes instant crash.

Steps to reproduce

  1. Create a new score
  2. Add any instrument with percussion clef
  3. Enable note-entry mode (a rest in the percussion staff has to be selected)

MuseScore Version MuseScore version (64-bit): 4.0.2-230651545, revision: github-musescore-musescore-dbe7c6d

Regression Yes

Operating system Ubuntu 22.04.2 LTS, Arch.: x86_64

Additional context 11:41:48.142 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: note-input 11:41:48.152 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: dock-set-open [15617:15617:20230521,114148.176439:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.177309:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.177338:ERROR process_reader_linux.cc:520] no module mappings 0x7f40af3e4000 [15617:15617:20230521,114148.177402:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.177415:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae8a4000 [15617:15617:20230521,114148.177568:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.177576:ERROR process_reader_linux.cc:520] no module mappings 0x7f40af3de000 [15617:15617:20230521,114148.177877:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.177890:ERROR process_reader_linux.cc:520] no module mappings 0x7f40aedb5000 [15617:15617:20230521,114148.177945:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.177958:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae899000 [15617:15617:20230521,114148.178023:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178036:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae885000 [15617:15617:20230521,114148.178102:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178114:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae87b000 [15617:15617:20230521,114148.178191:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178206:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae86b000 [15617:15617:20230521,114148.178272:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178285:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae865000 [15617:15617:20230521,114148.178350:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178367:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae4be000 [15617:15617:20230521,114148.178440:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178452:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae4b3000 [15617:15617:20230521,114148.178516:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178528:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae4a9000 [15617:15617:20230521,114148.178607:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178620:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae489000 [15617:15617:20230521,114148.178684:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178697:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae136000 [15617:15617:20230521,114148.178788:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.178805:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ae12a000 [15617:15617:20230521,114148.179302:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.179316:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ad7fb000 [15617:15617:20230521,114148.179482:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.179495:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ac1a9000 [15617:15617:20230521,114148.179557:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.179570:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ad786000 [15617:15617:20230521,114148.179631:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.179644:ERROR process_reader_linux.cc:520] no module mappings 0x7f40ad75c000 [15617:15617:20230521,114148.180412:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.183881:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.183980:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.184230:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.184264:ERROR elf_image_reader.cc:116] no preferred header address [15617:15617:20230521,114148.184275:ERROR process_reader_linux.cc:520] no module mappings 0x7f40a4da7000 [15617:15617:20230521,114148.186897:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.187091:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.187379:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.187478:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.187570:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.187666:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.187761:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.187860:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.187956:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.188051:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.188157:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.188264:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.188432:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.188529:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.188631:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.188744:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.188861:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.188962:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.189061:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.189152:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.189250:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.189367:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.189460:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.189552:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.189644:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.189745:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.190263:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.190418:ERROR elf_dynamic_array_reader.h:61] tag not found [15617:15617:20230521,114148.190504:ERROR elf_dynamic_array_reader.h:61] tag not found /tmp/.mount_MuseScQDKfG9/AppRun : ligne 26 : 15606 Exception en point flottant (core dumped) "${APPDIR}/bin/mscore4portable" "$@"

zacjansheski commented 1 year ago

I am unable to reproduce this in Ubuntu 20.04.6 in MU4.0.2 or the current nightly.

Could you confirm that this issue still occurs with the nightly build?

DmitryArefiev commented 1 year ago

I am unable to reproduce this in Ubuntu 20.04.6 in MU4.0.2 or the current nightly.

Could you confirm that this issue still occurs with the nightly build?

I also can't reproduce it on my 22.04.2 LTS

@ludovikbechard Please try the latest master build https://github.com/musescore/MuseScore/actions/runs/5139933843

And also, if the crash happens with MuseSounds please make sure they are updated in MuseHub

ludovikbechard commented 1 year ago

It does not seem to be happening with the latest master build, but I can still reproduce it with 4.0.2. Weird!

zacjansheski commented 1 year ago

As this is resolved in the latest master I am closing this issue. Thank you!