MS 3.1 crash when selecting Edit Element of a double barline

• Jun 18, 2019 - 19:48

Long-time MS 2.x user, figured I would have a first go using 3.1 with something simple. I chose a simple Spanish pop tune for voice & piano that I have an existing arrangement for.
I also entered this using the automated crash reporter, but wanted to provide more detail here.
MS 3.1, windows 10. Although 3.1 is installed, Windows has been set to default to MS 2.3.2 instead of 3.1, since I have no plans at this time to move my 2.x scores to 3.x.
As an aside, it's very disappointing that 3.1 crashed two measures into entering a fairly simple score.
As noted below, somehow in the process MS 2.3.2 was corrupted.

Steps to reproduce-
Open MS 3.1, File/New, select Voice & Piano from the Choral templates, C Maj/A min, time signature 12/8, enter composer & copyright info.
Enter notes in the piano left & right hand.
The arrangement I am reproducing has an artificial double barline near the end of the second measure that is an 8th note to the left of the normal barline that ends the measure. A system break would be inserted after that double barline so that the last 8th note of the second measure acts as an anacrusis at the beginning of the second system where the voice part begins.
Use F9/palette to insert the double barline an 8th note from the second measure ending barline, as just described. Do this for the piano left & right hands.
Add rests to the second measure of the voice part so that a matching barline can be inserted there, and insert the double barline.
(I realize this might not be optimal work flow, but I'm thinking it out as I go...)
**Since the new double barlines don't cross the space between the staves, the intent is to see if there is an option from the double barline right-click menu that will do this automatically, and after that enter a system break so that the last note of the measure becomes the first note of the next system.***
Right-click the double barline in the voice part.
Select Edit Element.
Crash occurs, with a pop-up invitation to file a crash report. The option to re-start MS 3.1 is checked.
File the report.
MS 3.1 does not restart. (Maybe because Windows is set to default to 2.3.2???)
Attempt to start MS 2.3.2 and do the score there instead of in 3.1.
MS 2.3.2 does not start, either by selecting its desktop icon or by trying to open an existing 2.x score.
Go to my downloads folder, find MS 2.3.2, double-click to re-install, it presents the option to repair. Select the repair option, it works, MS 2 functions normally.

Attachment Size
Adoro MS3.1.mscz 15.45 KB

Comments

Update: The crash only occurs if the double barline has just been inserted. Selecting Edit Element if the score was opened with the barline already present does not cause a crash.
Unrelated recommendation: Allow attaching the problematic score in the Crash Reporter.

Thanks for the report, and sorry you managed to find a crash so quickly! I think if you stick with it a bit, you'll find, as others have, that 3.1 is actually extremely stable overall, but any version of any program will indeed have bugs, and every once in a while someone will manage to run into one right away as you seem to have.

FWIW, adding the barline mid-measure as you have is not really a good idea, not in 2.3.2 or 3.1. Better to split the measure at that point (Tools / Measure) and get a real barline there. And then you would have been able to insert the break.

Anyhow, it took a bit of trial and error, but I did manage to reproduce the crash. Seems to happen if you've first select one barline, then, without deselecting it and without selecting a new one, try accessing Edit Element from the right-click menu of another. All works fine if you first deselect the first barline, or select the second, or use double-click to enter edit mode rather than right-click & Edit Element.

I'll submit a bug report since I think I understand the steps.

In reply to by Jojo-Schmitz

I don't think so. Although in the current thread it happened to be a mid-measure barline that was involded, the same bug applies to any barline, but absolutely requires use of right-click and Edit Element from the resulting content menu. Click on barline, right-click another without deselecting the first, Edit Element - a crash results. I filed this as #290967: Crash on right-click / Edit Element with a different element selected.

In reply to by Marc Sabatella

Thanks for the quick response. You are right about the better way to get the desired result, although what I ended up doing is changing the measure properties to make it one note shorter, and the next measure (after system break) I made one beat long. It gets the same results. This after finding that system breaks would not apply mid-measure.
Anyway I stuck with 3.1 and am otherwise feeling good with it although-
When multiple voices are used in a measure, the automatic placing of rests needs work, as does collision avoidance with notes in different voices. Is this a known issue, or should I file a separate report?
Again thanks

In reply to by marty strasinger

We didn't really change anything about rests with multiple voices - as with 2.x, we apply a fixed offset rather than actually detecting collisions, so it's definitely not ideal. Someday we may indeed implement something like that, it's been on the radar for some time (see #99421: Automatically move rests to avoid collisions with notes in other voices).

As for collisions of notes, this also didn't change but we already do a very good job in the majority of situations. The one case where we don't do anything special is between voice 1 & 3, or 2 & 4, because it's really impossible for us to know if you want them offset or not, and it's easier to apply an offset yourself than the try to "unapply" one. If you're seeing a case other than this, do indeed start a new thread so we can discuss it further.

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