[trunk] Creating a new score with title causes crash.

• Sep 19, 2010 - 22:57
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Tested with trunk rev. 3475 under Windows XP, Qt SDK 2010.04 (Qt lib 4.7.0) (but also in an earlier rev. under Ubuntu 10.04, Qt SDK 2010.02).

Creating a new score, with simple data (a title, 1 instr. (flute or guitar or violin, does not seem to matter), no accid. key, 12 measures of 4/4) generates a GPF (with code C0000005).

Interestingly enough, it does not trigger the post-mortem debugger, as for other crashes. So, no more data available on the crash.

Thanks,

M.


Comments

Confirmed for rev. 3499 under both Windows XP and Ubuntu 10.04.

More data:

GPF / SEFAULT occurrs at

element.cpp, line 319, in function Element::staff(). This is called (not directly) by:
...
clef.cpp,483 in function Clef::setSmall(false)
...
layout.cpp, 971 in function Score::layoutPage()
...
and ultimately by:

file.cpp, 796 in MuseScore::newFile()

Hope it is useful!

M.