Exporting MusicXML causes crash
1. Open this file
.
2. View 'E. Guitar 1' part.
3. 'File'>'Export…'.
4. Choose 'MusicXML'.
5. 'Export'.
Result: Crash.
Note: See attached log.
Using MuseScore 2.0 Nightly Build 53da48a - Mac 10.7.5.
Attachment | Size |
---|---|
Exporting MusicXML causes crash [Log].txt | 64.75 KB |
Comments
Apologies for the vague title, etc.
Hopefully someone will be able to work out what the problem is.
Confirmed using todays trunk. Reproducing the crash requires "export layout" to be enabled.
Relevant part of stack trace:
#0 QListData::size (this=0xc8) at qlist.h:96
#1 0x0000000100096af5 in QList::size (this=0xc8) at qlist.h:137
#2 0x0000000100095d1e in Ms::System::staff (this=0x0, staffIdx=0) at system.h:132
#3 0x00000001001e0247 in Ms::ExportMusicXml::write (this=0x7fff5fbfb0b0, dev=0x7fff5fbfb238) at /Users/lvi/dev/MuseScore/mscore/exportxml.cpp:4262
MusicXML file generated stops when writing the staff layout for the first measure of the first part.
Same issue as #33811: MXML export: crash with score starting with a multi-measure rest., missed one instance of the problem when fixing 33811. Trivial to fix.
Fixed in 40d08e8f1c
Automatically closed -- issue fixed for 2 weeks with no activity.