Pressing 0 when hairpin selected causes crash

• Dec 6, 2010 - 20:30
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Steps to reproduce bug
1. Drag a hairpin from the Lines palette to the score
2. Click once to select the hairpin (if it is not already selected)
3. Press Space (or 0 if you are using the latest trunk) to add a rest to the score

--> Crash

MuseScore version: 0.9.6.3 stable and r. 3740 nightly trunk

(Operating System: Windows 7)

first reported by Ursus: http://musescore.org/en/node/8180#comment-26260


Comments

Weird, I'm still able to reproduce with r. 3785 nightly trunk, Windows 7. (I don't have a build of the branch to test other than 0.9.6.3 stable).

Title [trunk] Rest entry when hairpin selected causes crash Rest entry when hairpin selected causes crash

Is this reproducible in the latest nightly builds? I don't know if I was able to reproduce.

What object specifically do you drag from Lines? Is it a new, or 1.x score?

Title Rest entry when hairpin selected causes crash Pressing 0 when hairpin selected causes crash

I have just reproduced in Rbcc0170/Windows XP Pro SP3

More specific insturctions on how to cause the crash

Drag a crescendo sign from the palette to the score

Select it if it is not already selected

Press 0

Result: Crash

The behaviour is the same for the decrescendo sign and Ped sign.

I haven't tested to see if other items from the lines palette do this.

Status (old) fixed active

Have just reproduced on Rd697e22/Windows XP Pro SP3

It's not something you would normally do though surely?

Unless by accident.

Follow the steps I outlined in #7

I repeat

1. Drag a crescendo sign to a score
2. Make sure it is selected
3. Press 0

On further investigation it seems that you need to attach the crescendo to a rest in order for the crash to happen - that was in a score generated pre R5663

Even stranger is that if you move the crescendo sign above the stave the crash doesn't happen!

Just been trying with the 8va line - that one crashes consistently whether you attach it to a rest or a note - again moving the element before hitting 0 prevents the crash.

I've just tried starting with a new score and creating a piano instrument, adding a few notes then following the steps - that consistently reproduced the crash 3 times in a row

One final comment pressing keypad 0 doesn't generate the crash.

Hope you have enough to go on now???