internal compiler error: Segmentation fault (solved?)
I got following error message when I compiled source followed by the instruction of "Compile instructions (Ubuntu 12.04) - Git" on http://musescore.org/en/developers-handbook/compilation/compile-instruc….
Here is the info of my Ubuntu version.
pcbuild:~/MuseScore$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Scanning dependencies of target awl
make[3]: Leaving directory `/home/qliang/MuseScore/build.release'
make[3]: Entering directory `/home/qliang/MuseScore/build.release'
[ 2%] Building CXX object awl/CMakeFiles/awl.dir/moc_aslider.cxx.o
[ 2%] Building CXX object awl/CMakeFiles/awlplugin.dir/panknob.cpp.o
In file included from /usr/include/c++/4.7/map:60:0,
from /home/qliang/MuseScore/all.h:26,
from :0:
/usr/include/c++/4.7/bits/stl_tree.h:367:7: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
[ 2%] Building CXX object thirdparty/singleapp/src/CMakeFiles/qtsingleapp.dir/moc_qtlocalpeer.cxx.o
[ 2%] Building CXX object awl/CMakeFiles/awl.dir/moc_knob.cxx.o
[ 2%] Building CXX object thirdparty/singleapp/src/CMakeFiles/qtsingleapp.dir/qtsingleapplication.cpp.o
[ 2%] Building CXX object awl/CMakeFiles/awl.dir/moc_panknob.cxx.o
[ 2%] Building CXX object thirdparty/singleapp/src/CMakeFiles/qtsingleapp.dir/qtlocalpeer.cpp.o
[ 2%] Building CXX object awl/CMakeFiles/awl.dir/moc_volknob.cxx.o
Linking CXX static library libqtsingleapp.a
make[3]: Leaving directory `/home/qliang/MuseScore/build.release'
[ 2%] Built target qtsingleapp
make[3]: Entering directory `/home/qliang/MuseScore/build.release'
Scanning dependencies of target bww
[ 2%] Building CXX object awl/CMakeFiles/awl.dir/moc_midipanknob.cxx.o
make[3]: Leaving directory `/home/qliang/MuseScore/build.release'
make[3]: Entering directory `/home/qliang/MuseScore/build.release'
[ 2%] Building CXX object bww2mxml/CMakeFiles/bww.dir/lexer.cpp.o
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [manual/CMakeFiles/genManual.dir/genManual.cpp.o] Error 1
make[3]: Leaving directory `/home/qliang/MuseScore/build.release'
make[2]: *** [manual/CMakeFiles/genManual.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 2%] The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [awl/CMakeFiles/awlplugin.dir/panknob.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Building CXX object awl/CMakeFiles/awlplugin.dir/volknob.cpp.o
[ 2%] Building CXX object awl/CMakeFiles/awl.dir/moc_colorlabel.cxx.o
[ 2%] Building CXX object bww2mxml/CMakeFiles/bww.dir/parser.cpp.o
[ 2%] Building CXX object awl/CMakeFiles/awl.dir/moc_slider.cxx.o
[ 2%] Building CXX object awl/CMakeFiles/awl.dir/moc_volslider.cxx.o
[ 2%] Building CXX object awl/CMakeFiles/awl.dir/moc_mslider.cxx.o
In file included from /usr/include/qt4/QtGui/QtGui:141:0,
from /home/qliang/MuseScore/all.h:32,
from :0:
/usr/include/qt4/QtGui/qpaintengine.h:349:49: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
[ 3%] Building CXX object awl/CMakeFiles/awl.dir/moc_pitchedit.cxx.o
[ 3%] Building CXX object awl/CMakeFiles/awl.dir/moc_pitchlabel.cxx.o
[ 3%] Building CXX object bww2mxml/CMakeFiles/bww.dir/symbols.cpp.o
[ 3%] Building CXX object awl/CMakeFiles/awl.dir/moc_poslabel.cxx.o
[ 3%] Building CXX object bww2mxml/CMakeFiles/bww.dir/writer.cpp.o
[ 3%] Building CXX object awl/CMakeFiles/awl.dir/moc_denomspinbox.cxx.o
[ 3%] Building CXX object awl/CMakeFiles/awl.dir/aslider.cpp.o
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [awl/CMakeFiles/awlplugin.dir/volknob.cpp.o] Error 1
make[3]: Leaving directory `/home/qliang/MuseScore/build.release'
make[2]: *** [awl/CMakeFiles/awlplugin.dir/all] Error 2
[ 3%] Building CXX object awl/CMakeFiles/awl.dir/knob.cpp.o
[ 3%] Building CXX object awl/CMakeFiles/awl.dir/panknob.cpp.o
In file included from /usr/include/qt4/QtCore/qfutureinterface.h:51:0,
from /usr/include/qt4/QtCore/qfuture.h:49,
from /usr/include/qt4/QtCore/QtCore:85,
from /usr/include/qt4/QtGui/QtGui:3,
from all.h:32:
/usr/include/qt4/QtCore/qtconcurrentexception.h:72:21: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
Linking CXX static library libbww.a
make[3]: Leaving directory `/home/qliang/MuseScore/build.release'
[ 3%] Built target bww
[ 3%] Building CXX object awl/CMakeFiles/awl.dir/volknob.cpp.o
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [awl/CMakeFiles/awl.dir/aslider.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/qliang/MuseScore/build.release'
make[2]: *** [awl/CMakeFiles/awl.dir/all] Error 2
make[2]: Leaving directory `/home/qliang/MuseScore/build.release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/qliang/MuseScore/build.release'
make: *** [release] Error 2
Comments
Which git commit was it? Can you try with a more recent version?
I have encountered something very similar, but under Windows only, usually when something is changed in the code which would suggest a full rebuild and I do a simple build instead.
Usually it is cured by deleting (or renaming) the files
all.h
andall.h.gch
in the build directory and rebuilding. I think it is presumably a problem with the tool chain rather than with MuseScore source code.You may try; in the worse case, I would try a full rebuild.
M.
As there are no more info on this issue -- affecting the compilation process and not the program running --, can we consider it solved?
M.
I think its per definition not a MuseScore problem but a compiler or hardware problem. For ages i did not get a compiler crash. Last time i saw this the reason was a computer hardware failure.
I routinely compile under Mint Nadia (=Ubuntu 12.10) with a 32bit flag.
More specifically I compiled on march 14
mscore-2013-03-14-17-19-91a0464.
without problem