Latest master, Ubuntu 18.04.
Reproduce:
- Add text to anywhere in the score, double-clicking or draggin
- Crash
This error is thrown:
/usr/MuseScore/libmscore/scoreElement.h:unknown: ASSERT: "e == 0 || e->isRehearsalMark()" in file /usr/MuseScore/libmscore/scoreElement.h, line 516
Comments
Cannot reproduce on self built latest master, unfortunately, MacOSX Mojave.
Could you please record a video or gif?
This seems to be another bug that affects only debug builds of MuseScore. Release build works well, debug build fails with assertion violation. That needs to be fixed but as it does not affect release version I reduce its priority a bit. Feel free to change it back if you still get a crash on a release version of MuseScore.
PR: https://github.com/musescore/MuseScore/pull/4068
Fixed in branch master, commit 32f8767c17
fix #277497: adding text causes crash in debug mode
Fixed in branch master, commit fd16e079b9
Merge pull request #4068 from jthistle/277497-adding-text-crash
fix #277497: adding text causes crash in debug mode
Automatically closed -- issue fixed for 2 weeks with no activity.