Open zorba77 opened 1 month ago
Will check, after vacation
For some stupid reason I can't get the debugger to run on this, there was a QtCreator update today, I guess that broke something
Closed via #570
Sorry, but on Linux the latest version of MS 3.7 crashes importing both files attached to this thread
How can I help you to understand the problem?
A QtCreator/MinGW build still crashes too, which sort of matches as that is using gcc too, rather than MSVC
Can you provide a stack trace?
This? backtrace.log
Closed via #571
Now I can open both files, but MS 3.7 crashes when I quit the tab with the imported XML. Step:
Damn...
But yes, I believe to have seen that
0x0000555556359cce in Ms::Score::~Score (this=0x55555b3c6bd0, __in_chrg=<optimized out>) at /var/mscore3.7/MuseScore-3.x-120824/libmscore/score.cpp:336
336 delete it->second;
myself once, but then couldn't reproduce anymore. I guess there it tries to delete (free memory) something it had deleted already.
Actually not the same, but a similar one:
ScoreElement::~ScoreElement()
{
if (_links) {
_links->removeOne(this);
if (_links->empty()) {
delete _links;
_links = 0;
}
}
delete[] _propertyFlagsList; // <<<<<<<<<<< crash
}
That crash can get fixed by setting _propertyFlagsList
to nullptr
after the delete[]
, but then it does crash at the place you reported,
for (auto it = _spanner.cbegin(); it != _spanner.cend(); ++it)
delete it->second;
_spanner.clear();
and there it->second
can't get set to 0
, being a const
:-(
Might be entirely unrelated to your original XML issue, but rather a general issue with opening and closing more than one score, although I can't reproduce it with other scores
Probably doesn't help, but my personal build doesn't have any crashes upon closing, but my particular build doesn't build on top of "Evolution" beyond about a year ago, so whatever the problem is is only about at most a year old... for what it's worth
XML.zip
Musescore 3.7 crash opening these xml files converted by newzik.com. They contains errors, but MS 3.6 and 4.X open them without problems.