Crash on note entry for drum staff

• Aug 23, 2014 - 15:53
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Ubuntu Studio 14.04, GIT commit: 2af2b03

1) new score for drumset
2) note entry

Result: crash

Looks like an uninitialized _staffType for the staff. Saw this first when testing the fix for 3-line drum staves imported from 1.3, but it's actually true for all drum sets I think.


Comments

You may or may not need to actually enter a note to trigger the crash.

Odd, it shouldn't be possible for staffType() to return a pointer - it's returning the address of a member, not a pointer.