[Trunk] Typing "S", undo and "S" causes crash

• Oct 30, 2011 - 21:26
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Hello,

1 - Create new score
2 - type S
3 - type Ctrl-Z
4 - type S

Cause crash.

Debug:
Cannot connect to named pipe = \\.\pipe\server_jack_default_0 err = 2
Cannot connect to server pipe
Cannot connect to the server
Init midi driver failed

Can't open 'D:/Dev/Qt/musescore/qtcreator-build//sound/aeolus/stops/Aeolus/definition' for reading
Can't open 'D:/Dev/Qt/musescore/qtcreator-build//sound/aeolus/stops/Aeolus/presets' for reading
Can't open "C:\Users\Gai-Luron\AppData\Local\MuseScore\MuseScoreDevelopment/cookies.txt" to read cookies
2:unknown cmd
2:unknown cmd
transposeKey key 0 semitones 7

key 1

Unable to open file "D:/Dev/Qt/musescore/win32build/sound/TimGM6mb.sf2"
Score::startCmd(): cmd already active

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Constructor
Open error: is jack server running?
lookup_tab 165517
QThreadStorage: Thread 0x15b0a8f0 exited after QThreadStorage 2 destroyed
QThreadStorage: Thread 0x15b0a8f0 exited after QThreadStorage 1 destroyed
QThreadStorage: Thread 0x15b0a8f0 exited after QThreadStorage 2 destroyed
QThreadStorage: Thread 0x15b0a8f0 exited after QThreadStorage 1 destroyed
QWaitCondition: Destroyed while threads are still waiting
Fin du débogage

Robert


Comments

Hello,

I want to submit the correction of this bug

in scoreview.cpp
- Remove :
_score->startCmd();
at line 4372
- Add this removed line Before
if (firstNote == lastNote)
at line 4384

Result:
...
_score->startCmd();
if (firstNote == lastNote)
...

I want to submit an issue also in CmakeList.txt in folder mscore/mscore in COMPILE_FLAGS ( line 206 and 212 ) don't forget to put -g flag for compiler to allow breakpoint in QTCreator for all module of this subfolder

Thank's

Robert