MuseScore 2 crashes when trying to print or export PDF
Hi,
I am using the latest 2.0.0 release of MuseScore, and I have created a score from an imported MusicXML file. When I am now trying to export a conductor score or print it, MuseScore crashes.
I tried also the latest nightly build, same effect.
The release version is 2.0.0, revision 6e47f74.
I did debug with Visual Studio 2013, and got this message:
Unhandled exception at 0x6DF50BB2 (Qt5PrintSupport.dll) in MuseScore.exe: 0xC0000005: Access violation writing location 0x0000004E.
Is the same for printing and for exporting to PDF.
Any idea what went wrong?
I am aware that the underlying MusicXML file did have several problems, and it took me a long time to straighten them out editing the file in MuseScore.
I am attaching the MuseScore file so you can have a look and check what went wrong.
Would be great if this could be fixed, as I need the PDFs soon.
The conductor score should be in tabloid size, the parts are in letter size.
Many regards,
Reinhold
Attachment | Size |
---|---|
Delian 8 RB 37 025.mscz | 59.55 KB |
Comments
update: I did export the file to MusicXML, fixed a small error in line 262, then imported the corrected MusicXML file.
But still the same problem printing or exporting PDF - MuseScore crashes.
Do all files crash on export for you? This file works fine for me. Here is an exported PDF with score and all parts (created by File / Export Parts).
In reply to Do all files crash on export by Marc Sabatella
Hi Marc,
this is strange - and phantastic at the same time!
Thank you so much for preparing the PDFs - that was exactly what I needed!
I tried now a simple empty file with just note lines ("my first score"), and that also crashes!
This means the error is NOT in MuseScore, but is somehow related to my computer... :(
Possibly something in the printer drivers is incorrect, even though I do not quite comprehend what this has to do with PDF then... Other software (e.g. Word with save-as-PDF) works fine.
I was able to export the score as SVG and as PNG - so for now that may be sufficient. But I am still puzzled why the PDF export does not work.
In any case, THANK YOU VERY MUCH for your fast response!
And I do appreciate very much this free software. MuseScore2 works really well and has a lot of features in putting music scores together.
Many regards,
Reinhold
In reply to Hi Marc, this is strange - by reinhold.behringer
It seems possible you are having the same problem as in https://musescore.org/en/node/58376. Do you also see the same issues exporting to MusicXML?
It would be great if we can figure this out!
In reply to It seems possible you are by Marc Sabatella
Hi Marc,
thanks for pointing me to that thread. I read through it, and it might be a similar problem.
But there is one difference: I only have trouble exporting to PDF. Exporting to SVG and PNG does work fine, and exporting to MusicXML also works without problems.
The error appears when either exporting to PDF or when trying to print. In the latter case not even the printer dialogue shows up.
I am running Windows 8.1, this might be an issue.
As I do have Visual Studio 2013 installed, I did click on the "debug" button, and then came the culprit where the program stopped, as I wrote in my first msg.
The offending DLL is: Qt5PrintSupport.dll)
Is Qt QuickTime?
Maybe that DLL is not compatible to Windows 8.1? I am running 64 bit Windows 8.1.
Many regards,
Reinhold
In reply to Hi Marc, thanks for pointing by reinhold.behringer
not sure if this is of any help - this is the call stack after MuseScore crashed when I tried to export as PDF. Maybe from the order of calls one could identify at which state of the program that error occurs.
> Qt5PrintSupport.dll!6df50bb2() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for Qt5PrintSupport.dll]
Qt5PrintSupport.dll!6df55aca() Unknown
Qt5PrintSupport.dll!6df64eff() Unknown
Qt5Core.dll!68a73045() Unknown
Qt5PrintSupport.dll!6df49153() Unknown
Qt5Core.dll!68a73faa() Unknown
Qt5Gui.dll!61af2083() Unknown
Qt5Gui.dll!61aef364() Unknown
Qt5Gui.dll!61aebc45() Unknown
Qt5PrintSupport.dll!6df484d9() Unknown
MuseScore.exe!005754ae() Unknown
MuseScore.exe!00575dba() Unknown
MuseScore.exe!005768e5() Unknown
[External Code]
MuseScore.exe!00b14090() Unknown
MuseScore.exe!0047125e() Unknown
[External Code]
Qt5Core.dll!68a44c55() Unknown
[External Code]
Qt5Widgets.dll!03bdafee() Unknown
Qt5Widgets.dll!03be038c() Unknown
Qt5Widgets.dll!03be88d0() Unknown
[External Code]
Qt5Core.dll!68a44b6b() Unknown
Qt5Widgets.dll!03d5610b() Unknown
[External Code]
Qt5Core.dll!6889bd92() Unknown
[External Code]
MuseScore.exe!006ab548() Unknown
Qt5Core.dll!68a64e31() Unknown
Qt5Gui.dll!6194333d() Unknown
Qt5Widgets.dll!03bd4b95() Unknown
Qt5Widgets.dll!03bd545c() Unknown
Qt5Core.dll!68a44b6b() Unknown
Qt5Core.dll!68a64e31() Unknown
Qt5Widgets.dll!03bd3b6e() Unknown
Qt5Widgets.dll!03d46560() Unknown
Qt5Widgets.dll!03d4bd62() Unknown
Qt5Widgets.dll!03d4613e() Unknown
tiptsf.dll!730b2ae2() Unknown
Qt5Widgets.dll!03c1bd6f() Unknown
Qt5Core.dll!68a44d36() Unknown
Qt5Core.dll!68a4b5e5() Unknown
MuseScore.exe!0097e35c() Unknown
[External Code]
MuseScore.exe!0070d64d() Unknown
Qt5Gui.dll!6194d9ed() Unknown
Qt5Core.dll!68a44d36() Unknown
Qt5Gui.dll!61984996() Unknown
Qt5Widgets.dll!03bdb06a() Unknown
Qt5Widgets.dll!03be0d7a() Unknown
Qt5Widgets.dll!03c04017() Unknown
Qt5Core.dll!68a44b6b() Unknown
Qt5Widgets.dll!03bdf595() Unknown
Qt5Widgets.dll!03c2f570() Unknown
Qt5Widgets.dll!03c319aa() Unknown
Qt5Widgets.dll!03c2b797() Unknown
Qt5Widgets.dll!03bdb06a() Unknown
Qt5Widgets.dll!03be0107() Unknown
MuseScore.exe!006a4429() Unknown
MuseScore.exe!006205a6() Unknown
Qt5Core.dll!68a63029() Unknown
Qt5Widgets.dll!03bdb06a() Unknown
MuseScore.exe!0070d64d() Unknown
Qt5Widgets.dll!03bdb06a() Unknown
Qt5Core.dll!68a44b6b() Unknown
Qt5Core.dll!68a44c55() Unknown
Qt5Gui.dll!6195ef30() Unknown
qwindows.dll!6a890b58() Unknown
tiptsf.dll!730b23a4() Unknown
qwindows.dll!6a8a97b7() Unknown
Qt5Core.dll!68a8a18a() Unknown
Qt5Core.dll!68a86d1c() Unknown
[External Code]
Qt5Core.dll!68a89a47() Unknown
Qt5Core.dll!688f15bf() Unknown
[External Code]
Qt5Widgets.dll!03bdb06a() Unknown
[External Code]
tiptsf.dll!730b742f() Unknown
tiptsf.dll!730b7554() Unknown
[External Code]
tiptsf.dll!730b7504() Unknown
tiptsf.dll!730b7554() Unknown
[External Code]
Qt5Core.dll!68a3bc2d() Unknown
[External Code]
qwindows.dll!6a8a9831() Unknown
qwindows.dll!6a8a9831() Unknown
[External Code]
Qt5Core.dll!6889bd92() Unknown
Qt5Core.dll!68a43ce8() Unknown
Qt5Core.dll!68a43ce8() Unknown
MuseScore.exe!00671442() Unknown
MuseScore.exe!00b30155() Unknown
Qt5Core.dll!6889aecf() Unknown
[External Code]
MuseScore.exe!004013de() Unknown
[External Code]
In reply to not sure if this is of any by reinhold.behringer
I don't know if this will help or not, but I did a Windows event view of one of my crashes. The same dll showed up that Reinhold reported.
EDIT: I should have added when I first posted this that I am experiencing a similar problem, except that I'm using Windows Vista. The thread about my issue is here:
https://musescore.org/en/node/58376
Log Name: Application
Source: Application Error
Date: 4/30/2015 2:50:13 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: NewUser-PC
Description:
Faulting application MuseScore.exe, version 0.0.0.0, time stamp 0x0a4f1e18, faulting module
Qt5PrintSupport.dll, version 5.4.1.0, time stamp 0x00000000, exception code 0xc0000005, fault offset
0x00010c89, process id 0xdd4, application start time 0x01d0837eb9faba51.
Event Xml:
1000
2
100
0x80000000000000
209586
Application
NewUser-PC
MuseScore.exe
0.0.0.0
0a4f1e18
Qt5PrintSupport.dll
5.4.1.0
00000000
c0000005
00010c89
dd4
01d0837eb9faba51
Jeff
The posted file - Delian 8 RB 37 025.mscz - also works fine for me.
However, I did notice this while trying to duplicate the crash...
The OP wrote: 'The conductor score should be in tabloid size, the parts are in letter size.'
I could not get the Page Settings dialog to read 'Tabloid'. It reads 'Ledger' for both the Ledger and Tabloid choices in the drop down list. Even if I choose 'Tabloid', the box still reads 'Ledger'.
The other Page Size choices - Letter, A4, Custom, etc. - read correctly when selected.
MuseScore 2.0.0
Windows 7 Pro Sp1
Also tried with nightly: 6000c0e
Exhibits the same behavior.
Regards.
In reply to The posted file - Delian 8 RB by Jm6stringer
Qt5PrintSupport.dll is vital to MuseScore. It's the Qt (http://qt.io) DLL which provides access to the printer.
In reply to Qt5PrintSupport.dll is vital by [DELETED] 5
Is Qt5PrintSupport.dll vital to Musescore 1.0 as well? I ask, because 1.0 prints just fine for me.
Jeff
In reply to Is Qt5PrintSupport.dll vital by brainperspective
MuseScore used a much older version of Qt. This is the library MuseScore uses for virtually everythng, BTW, not just printing. It's how we displays things on screen, how we create menus, how we manipulate strings and lists, etc.
It's possible there is a bug within Qt here, but it's also possible there is a bug in MuseScore - memory being corrupted somehow - that it causing Qt to fail. Still not enough information to say for sure.
In reply to MuseScore used a much older by Marc Sabatella
Could be this bug https://bugreports.qt.io/browse/QTBUG-44349
Apparently it's solved for Qt 5.4.2, still to be release. We could create a test install using a prerelease of Qt 5.4.2 http://download.qt.io/snapshots/qt/5.4/5.4.2/
See https://musescore.org/en/node/69991 ; apparently two other people who had the same problem are reporting it fixed in 2.0.2 (presumably because the Qt folks fixed it on their end, although I really don't know). You might want to give it a shot as well.
In reply to See by Marc Sabatella
MuseScore 2.0.2 is build with Qt-5.4.2 and that indeed should have it fixed, see above