Segmentation fault current trunk

• Aug 26, 2012 - 09:48

The current trunk always segfaults for me (unless run in converter mode !):

lvi@linux:~/dev/MuseScore> ~/dev/build/mscore/mscore -F
init audio driver failed
sequencer init failed
internal error: shortcut not found

Segmentation fault

Stack trace:
(gdb) bt
#0 Shortcut::action (this=0x0) at /home/lvi/dev/MuseScore/mscore/shortcut.cpp:234
#1 0x082cab4e in Palette::read (this=0x90d6c98, e=...) at /home/lvi/dev/MuseScore/mscore/palette.cpp:1180
#2 0x082cb4a5 in PaletteBox::read (this=0x8f38d78, e=...)
at /home/lvi/dev/MuseScore/mscore/palette.cpp:1672
#3 0x083e1fc5 in Profile::read (this=0x8cc0e40, e=...) at /home/lvi/dev/MuseScore/mscore/profile.cpp:374
#4 0x083e371e in Profile::read (this=0x8cc0e40) at /home/lvi/dev/MuseScore/mscore/profile.cpp:355
#5 0x0828ed1d in MuseScore::showPalette (this=0x8cee2c8, visible=true)
at /home/lvi/dev/MuseScore/mscore/menus.cpp:760
#6 0x082aef77 in MuseScore::readSettings (this=0x8cee2c8)
at /home/lvi/dev/MuseScore/mscore/musescore.cpp:2829
#7 0x08194c2d in main (argc=-1244351608, av=0x8cdeca0) at /home/lvi/dev/MuseScore/mscore/musescore.cpp:2417


Comments

In reply to by [DELETED] 5

It crept in some days ago and I solved by removing ~/.local/share/data/MuseScore/MuseScoreDevelopment/profiles/default.profile which contains info about palettes (if customized?).

As we are at it, this solved the SEGFAULT, but each time I start MuseScore I still get the following warnings:

internal error: shortcut <prev-score> not found
internal error: shortcut <vframe> not found
internal error: shortcut <hframe> not found
internal error: shortcut <tframe> not found
internal error: shortcut <fframe> not found
internal error: shortcut <measure> not found

cannot find shortcut <prev-score>
cannot find shortcut <vframe>
cannot find shortcut <hframe>
cannot find shortcut <tframe>
cannot find shortcut <fframe>
cannot find shortcut <measure>
/home/mmg/Documents/Projects/musescore/build/mscore/mscore exited with code 0

Anybody else noticing this? Apparently harmless, but something to clean up anyway?

Thanks,

M.

EDIT

I think I found it: they occur in my ~/.local/share/data/MuseScore/MuseScoreDevelopment/shortcuts.xml but apparently they have been removed from the internal shortcut list. I'll try to re-edit the shortcuts to have them re-saved and see what happens.
M.

Do you still have an unanswered question? Please log in first to post your question.