Exporting a part to MP3, WAV, MusicXML, FLAC crashes
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Steps to reproduce:
- Open the attached score
- File > Export Parts...
- Export to any format
Expected: MuseScore properly exports the parts.
Actual: MuseScore crashes.
Version: 3.0 7694abc
Note: exporting the whole score does not crash MuseScore.
Attachment | Size |
---|---|
misk_e_foz_t'arka.mscz | 31.55 KB |
Comments
I can't reproduce, no crash here, just works as expected (Windows 7, MuseScore 3 Beta)
In reply to I can't reprodice, no crash… by Jojo-Schmitz
Hmm, try exporting a second time.
If that doesn't trigger the bug, then it might trigger on Linux but not Windows.
Depends on the format here (Windows10, Beta version)
Works as expected with PDF, MID, PNG (maybe others)
And crashes with MP3, WAVE, MusicXML (maybe others)
Same result with the current revision: 1b1912d
And I of course used PDF ;-)
In reply to And I of course used PDF ;-) by Jojo-Schmitz
FLAC export also crashes.
Reproduces on OS X. Crashes in Part::midiPort() because instrument()->channel(0)->channel() returns -1.
Is this perhaps the same issue as #278918: MIDI export of a part crashes?
Probably not, MIDI is confirmed to work in this issue, further up
MIDI export of parts crashes for me too, this may depend on platform probably.
Anyway this patch seems to prevent all these parts export crashes: https://github.com/musescore/MuseScore/pull/4389.
Though it would probably be good to have another solution for this.
Fixed in branch master, commit bb81e1048c
fix #278918, fix #279284: a quick fix for crash on parts export to various formats
Fixed in branch master, commit de2f2dabb9
Merge pull request #4389 from dmitrio95/parts-midi-export-dirty
fix #278918, fix #279284: a quick fix for crash on parts export to various formats
Automatically closed -- issue fixed for 2 weeks with no activity.