Crash when creating New score ?
This morning, under Linux Mint, I tried to create a new score through the "New score" button, but mscore crashed.
I don't know if it is related, but this happened after a factory reset (mscore -F).
It seems that now mscore crashes each time I try to create a new score, even after factory reset.
I tried to understand if this was related to recent changes, but I went up to the commits of 20th November and mscore still crashes when trying to launch the New score wizard, after a factory reset (and subsequent launches).
Is anybody else seeing this?
My environment: Linux Mint 17, commit ef0f49c0 self-built in debug mode.
Comments
It works here on Mac OSX and windows 8.
f4f19e9f36
In reply to It works here on Mac OSX and by [DELETED] 5
Yes, under Windows 8.1 I have no problems.
It seems that under Linux it is crashing when generating a thumbnail for a score, but why is it trying to generate a thumbnail (and of what score?) in the first instance?
[ Don't know if it is related, but it is still related to the thumbnail. It seems that mscore under my Linux Mint loads a score twice when opening: first when I open the selection windows of File->Open, it loads the file when I highlight it in the window by mouse click (and generates the thumbnail) and then it loads it again when I click open. ]
In reply to Yes, under Windows 8.1 I have by ABL
You are using the non native Qt open dialog right? so it tries to generate/find in mscz a thumbnail to display on the right side.
In reply to You are using the non native by [DELETED] 5
Yes, this holds true for the case in which I am opening the file. Please note that when a MusicXml file contains not valid code the warning message box appears each time the file is clicked in the browsing window and then again when the file is actually loaded after pressing the "Open" button.
I can't understand why the thumbnail generation seems to be taking place when I launch the New score wizard.
In reply to Yes, this holds true for the by ABL
Can you please open a bug for the MusicXML file issue?
For the new score wizard, it's because thumbnail are extracted/generated for templates. Choose create from templates in the first screen to find out why.
No problem as well.
Windows 8.1u1 64-bit, latest self-compile, factory reset, Qt 5.3.2.
Solved!
I found what was causing the problem. I usually install mscore in /usr/local folder with administrative privileges, and when I update the self-built I simply overwrite the files.
There were therefore some leftover templates in
/usr/local/share/mscore-2.0//templates/ folder.
In particular, the one causing the crash was an old /usr/local/share/mscore-2.0/templates/Jazz Big Band.mscz
I will file a report for the xml files. The most difficult part is to corrupt a Musicxml enough to display the warning, but not to prevent it from loading :-)
Hi,
I'm getting the crash in the latest commit (83da36ceb6915b2a532bcc3d5bc934f79b361be9), when creating a new score.
The crash happens in
I did
but I'm still getting it.
(Windows 8, self compiled in Qt Creator + MingW from /master).
In reply to Hi, I'm getting the crash in by watery
83da36c
of to-day
same crash Mint17
existing files open
see attachment of terminal
In reply to 83da36c of to-day same crash by robert leleu
@watery and @robert leleu:
have you tried to delete the template folder in your MuseScore installation? (and then re-install MuseScore)
See also here: #40721: Crash on "New Score", comments #1 and #4.
Hope this helps.
Ciao,
ABL
In reply to @watery and @robert by ABL
The template folder contained templates from old/very old versions of MuseScore.
In reply to The template folder contained by [DELETED] 5
Yep, as lasconic said (thank you man), there were obsolete files in my /win32install folder
In reply to Yep, as lasconic said (thank by watery
As a side note, could it be worth to clean the /win32install folder when doing a make clean? I don't know how to do that in CMake, though.
In reply to @watery and @robert by ABL
so, yesterday I deleted the template directory.
And the to-day compilation created a new one.....and New file works
In reply to so, yesterday I deleted the by robert leleu
Could be one of 2 reasons, 1. the 'broken' (0 measures) templates are no longer there 2. the bug triggered by them got fixed.
here is the same for me.
gdb backtrace here : http://musescore.org/en/node/40916
[EDIT]I can confirm the ABL workaround. removing templates folder and making another "sudo make install" solves the issue.
In reply to here is the same for me. gdb by Daeavelwyn
seems fixed in 1756549