Core Dumped from PDF import

• Jan 25, 2024 - 05:54

OS: Linux Mint 21.1, Arch.: x86_64, MuseScore version (64-bit): 4.2.1-240230938, revision: d757433

MuseScore kept crashing when trying to open the download from the PDF import process.
So I ran Musescore from a console.
When opening score.mscx from a PDF import I get:
"[2888874:2888874:20240124,214851.275597:ERROR elf_dynamic_array_reader.h:61] tag not found
[2888874:2888874:20240124,214851.276189:ERROR elf_dynamic_array_reader.h:61] tag not found
[2888874:2888874:20240124,214851.276847:ERROR elf_dynamic_array_reader.h:61] tag not found..."
Then a floating point exception:
"/tmp/.mount_MuseSc6DFXLQ/AppRun: line 26: 2888851 Floating point exception(core dumped) "${APPDIR}/bin/mscore4portable" "$@""

Bug?

Attachment Size
score.mscx 65.68 KB

Comments

It is a division by 0 error, stack trace in 3.7.0:

1 Ms::TimeSigMap::normalize sig.cpp 264 0xb75b02
2 Ms::TimeSigMap::add sig.cpp 220 0xb7591b
3 Ms::readMeasure read206.cpp 2613 0xbdf1a8
4 Ms::readStaffContent read206.cpp 3355 0xbe3aec
5 Ms::readScore read206.cpp 3487 0xbe4b65
6 Ms::MasterScore::read206 read206.cpp 3821 0xbe6dfd
7 Ms::MasterScore::read1 scorefile.cpp 1082 0xb6d310
8 Ms::MasterScore::loadMsc scorefile.cpp 990 0xb6c93a
9 Ms::MasterScore::loadMsc scorefile.cpp 978 0xb6c743
10 Ms::::operator()(Ms::MasterScore *, const QString &, bool, bool) const file.cpp 2328 0x4cd1d3
11 Ms::readScore file.cpp 2336 0x4cd483
12 Ms::MuseScore::readScore file.cpp 474 0x4bdeda
13 Ms::MuseScore::openScore file.cpp 416 0x4bd99a
14 Ms::MuseScore::dropEvent musescore.cpp 2949 0x41bcd8
15 QWidget::event(QEvent *) 0x32ea3d78
16 QMainWindow::event(QEvent *) 0x32f9bff3
17 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x32e6790e
18 QApplication::notify(QObject *, QEvent *) 0x32e6e7b9
19 QCoreApplication::forwardEvent(QObject *, QEvent *, QEvent *) 0x68a65a98
20 QWidgetWindow::handleDropEvent(QDropEvent *) 0x32ebc017
...

That score does not seem to stem from https:://musescore.com/import, as then it would be a 3.6.2 score
Unless it is a cached version, that PDF having been converted a long time ago, when 2.1.0 was the backend for PDF imports. Actually that's most probably what happende, from the mscx metadata:

    <metaTag name="creationDate">2018-03-21</metaTag>
    <metaTag name="originalFormat">xml</metaTag>
    <metaTag name="platform">Linux</metaTag>
    <metaTag name="source">/tmp/lg-1459288622.tmp.pdf</metaTag>

This caching is quite bad and I've reported this to/in musescore.com a long time ago

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