Crash when deleting soundfont during playback
Reported version
2.1
Priority
P2 - Medium
Type
Functional
Severity
S1 - Blocker
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project
1. Open score.
2. 'Play'.
3. 'View'>'Synthesiser'.
4. 'Delete'.
Result: Crash.
Notes:
Not always reproducible.
See attached log.
Using MuseScore 2.0 Nightly Build 13eccf9 - Mac 10.7.5.
Attachment | Size |
---|---|
Crash when deleting soundfont during playback [Log].txt | 57.67 KB |
Comments
Any reason not to simply disable the ability to change soundfonts while score is playing?
I don't think I would have objection.
I can't reproduce, and the crash log looks totally unrelated. Could be a matter of memory being corrupted and only showing effects later. Meaning, the deletion of the soundfont might not actually be *cause* but only the trigger. I'd need precise steps to reproduce in order to know for sure.
I think I have better steps:
1. Open score.
2. 'View'>'Synthesiser'.
3. Have FluidR3Mono_GM.sf3 loaded.
4. 'Add'.
5. Choose soundfont (such as this ).
6. Open another score.
7. 'Play'.
8. Delete the added soundfont.
Result: Crash.
Discussion: I don't know if this bares influence?: #48396: Adding non-GM soundfont changes entries in Mixer
Using MuseScore 2.0 Nightly Build da1a230 - Mac 10.7.5.
I don't know if it's the same, but I encountered it a few weeks ago - in the stable version, according to the log.
I can't reproduce in the development version, but I thought I'd post incase something can be improved.
Well, the stable version now is 2.1, this issue stems from a time before 2.0 and apparently never got fixed?
I can't reproduce it though, not in 2.1 on Windows 7
Result: Crash (see attached log).
Notes:
Also reproducible if deleting, or moving.
I've had similar crashing threads in other instances without using loop, hence why I've not confined the cause to that.
Using MuseScore 2.3 RC 16bd6b6 - Mac 10.11.6.
I believe it affects 3.0-dev too.
Marc said this on IRC (I think about the one above): 'it's deep inside synth code, not something trivial from what I can see'
There is another crash sometimes (duplicate the same bar to about 16) when moving multiple soundfonts around (three MuseScore_General.sf3 and Arachno SoundFont - Version 1.0.sf2). I think it shared the same crash thread as another when I load a score, perhaps mess with soundfonts(?), open another score (which stops playback) and, in Synthesiser, 'Load from Score'.
Potentially useful: When I hit Play immediately upon load of application and score, the icon reacts but it doesn't actually do anything else until I press it again. Maybe the synthesiser is loading?
About my comment on 'Load from Score', this could be related. That one might be to do with startup only (different crash thread), but maybe I'm wrong.
Also applies to SFZ.
I was using one of the Lite versions of the SlenderSalamanderGrandPiano.
Using MuseScore 2.3 - Mac 10.11.6.