Segmentation fault on load

• Feb 22, 2014 - 07:48
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Unstable Prerelease for Version 2.0.0; Build cc228a4

olivier@chaumont02:~$ /usr/local/bin/mscore
false
QDateTime("") QDateTime("sam. févr. 22 08:31:22 2014")
TextStyleType not found
Marker::read type 0
Marker::read type 1
Marker::read type 2
Marker::read type 3
Marker::read type 4
Marker::read type 5
Marker::read type 6
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicMezzodynamicPiano>
setDynamicType: other <dynamicMezzodynamicForte>
setDynamicType: other <dynamicMezzodynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicMezzodynamicPiano>
setDynamicType: other <dynamicMezzodynamicForte>
setDynamicType: other <dynamicMezzodynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicMezzodynamicPiano>
setDynamicType: other <dynamicMezzodynamicForte>
setDynamicType: other <dynamicMezzodynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicMezzodynamicPiano>
setDynamicType: other <dynamicMezzodynamicForte>
setDynamicType: other <dynamicMezzodynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicMezzodynamicPiano>
setDynamicType: other <dynamicFortedynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicMezzodynamicPiano>
setDynamicType: other <dynamicFortedynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicMezzodynamicPiano>
setDynamicType: other <dynamicFortedynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicMezzodynamicPiano>
setDynamicType: other <dynamicFortedynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
Erreur de segmentation
olivier@chaumont02:~$


Comments

Yes it is a self built version :
git pull
sudo make install

as I do everyday on my x86-64 Ubuntu 13-11 PC.
I do not change anything in the source.

After compilation I get :
olivier@chaumont02:~$ /usr/local/bin/mscore --version
MuseScore: Music Score Editor
Unstable Prerelease for Version 2.0.0; Build cc228a4

And this morning pull gave :

olivier@chaumont02:~/MuseScore$ git pull
remote: Counting objects: 59, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 41 (delta 31), reused 30 (delta 22)
Unpacking objects: 100% (41/41), done.
From git://github.com/musescore/MuseScore
5b36fbf..39f8e04 master -> origin/master
Merge made by the 'recursive' strategy.
libmscore/excerpt.cpp | 7 +
libmscore/mscore.cpp | 2 +-
libmscore/score.cpp | 12 +-
libmscore/scorefile.cpp | 2 +-
mscore/preferences.cpp | 2 +
mtest/libmscore/parts/partStyle-score-ref.mscx | 838 +++++++++++++++++++++
.../parts/partStyle-score-reload-ref.mscx | 838 +++++++++++++++++++++
mtest/libmscore/parts/partStyle-score-reload.mscx | 838 +++++++++++++++++++++
mtest/libmscore/parts/partStyle.mscx | 344 +++++++++
mtest/libmscore/parts/style_test.mss | 612 +++++++++++++++
mtest/libmscore/parts/tst_parts.cpp | 66 ++
11 files changed, 3558 insertions(+), 3 deletions(-)
create mode 100644 mtest/libmscore/parts/partStyle-score-ref.mscx
create mode 100644 mtest/libmscore/parts/partStyle-score-reload-ref.mscx
create mode 100644 mtest/libmscore/parts/partStyle-score-reload.mscx
create mode 100644 mtest/libmscore/parts/partStyle.mscx
create mode 100644 mtest/libmscore/parts/style_test.mss

It seems your git repository is different than the master one. You can type git log and compare with https://github.com/musescore/MuseScore/commits/master to see if it's the case.

If it's the case, make sure you don't have any modified that you would like to keep by running git status. If it's ok, run : (replace origin/master by upstream/master depending on which branch you are tracking)

git fetch --all
git reset --hard origin/master

Type git log again to make sure you have the same code.

If you can still reproduce the crash with this version, can you attach the file that MuseScore is trying to load by default?

I get this, is it good ?
olivier@chaumont02:~/MuseScore$ git reset --hard origin/master
HEAD is now at 94bf79a fix #24794: Crash on startup if previous PortAudio output device not available
olivier@chaumont02:~/MuseScore$

Still crashing

olivier@chaumont02:~/MuseScore$ /usr/local/bin/mscore
false
QDateTime("") QDateTime("sam. févr. 22 15:27:32 2014")
TextStyleType not found
Marker::read type 0
Marker::read type 1
Marker::read type 2
Marker::read type 3
Marker::read type 4
Marker::read type 5
Marker::read type 6
setDynamicType: other <dynamicForte>
...
setDynamicType: other <dynamicMezzodynamicPiano>
setDynamicType: other <dynamicFortedynamicForte>
setDynamicType: other <dynamicPiano>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
setDynamicType: other <dynamicForte>
Erreur de segmentation