Trying to print on Linux crashes musescore
If I try to print, the current dev version crashes. It happens if I press CTRL-P or use the menu entry.
BTW: pdf export works, but it isn't very pretty, as often (not always) the stems are away from the note heads (there is a gap inbetween)
Linux Mint 18
GIT commit: 3543170
Comments
7f9585a, self-built, doesn't crash on Windows 7
3543170 is from Jul 31 2013, stoneage, did you build it yourself and forgot the following, taken from https://musescore.org/en/developers-handbook/compilation/compile-instru…
(optional but recommended) In your clone directory, copy the file build/git/hooks/post-checkout to the directory .git/hooks in order for mscore/revision.h to be maintained automatically by git. See build/git/hooks/README for details. Note that the .git directory is hidden.
That PDF export issue might be needed to get reported as a separate bug. Haven't noticed it on Windows yet though, so please attach a score and the exported PDF
Sorry for giving the wrong revision - didn't know that it isn't updated automatically, but now it should ...
I have 7f9585a! - also self-built on Linuxmint 18 (so I only read the ubuntu compile-instructions).
Here I have reported the PDF-export-bug: https://musescore.org/en/node/137766
The crash is caused by the changes of 0763a5cc
In particular line 1498 where
cs->excerpt()
is NUL since there are no excerpts (=parts).I think that the problem can be solved similarly to what is done a few lines above 1485-1488 with a check if we are printing the main score or an excerpt.
This certainly explaing why it crashes on Linux only
Proposed PR:
https://github.com/musescore/MuseScore/pull/2870
Fixed in branch master, commit 9573843b18
fix #137701 : trying to print crashes MuseScore
Fixed in branch master, commit 6094034912
Merge pull request #2870 from AntonioBL/printcrash
fix #137701 : trying to print crashes MuseScore
At least it works now for me ;-). I could even print out a pdf, whereas the pdf export doesn't work correctly.
Automatically closed -- issue fixed for 2 weeks with no activity.