Segfault in build id: #37 - Jammet - 05-29-2015
Hello!
This is about version:
MCServer Jenkins gcc armhf Release (master) build id: #37
from commit id: 1487f57905b8cfd52c98ef9601613eba21bc2f7d built at: Thu May 28 03:13:25 EDT 2015
After updating this morning to get the speedy wolves, I noticed that the server kept crashing after about 15 minutes of runtime. It auto-restarts, so I didn't notice until now.
Reverted to the previous version I used, about 2-3 days older:
MCServer Jenkins gcc armhf Release (master) build id: #29
from commit id: d50c8f073c979e855c3910bbb79b435f2f60f1a2 built at: Sun May 24 11:11:42 EDT 2015
This is what happened:
Code: [17:08:17] Preparing spawn (world): 25.25% (101/400; 100.50 chunks / sec)
[17:08:18] Preparing spawn (world): 62.75% (251/400; 147.93 chunks / sec)
[17:08:19] Startup complete, took 4478ms!
[17:16:06] D: | MCServer has encountered an error and needs to close
[17:16:06] Details | SIGSEGV: Segmentation fault
[17:16:06] MCServer Jenkins gcc armhf Release (master) build id: #37
[17:16:06] from commit id: 1487f57905b8cfd52c98ef9601613eba21bc2f7d built at: Thu May 28 03:13:25 EDT 2015
./MCServer(_Z15PrintStackTracev+0x14)[0x1de300]
./MCServer(_Z14NonCtrlHandleri+0x8c)[0x1cb75c]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76cedb20]
./MCServer(_ZN13cClientHandle14OnRemoteClosedEv+0x8c)[0x147ad0]
./MCServer(_ZN12cTCPLinkImpl13EventCallbackEP11buffereventsPv+0x178)[0x1df3e4]
[17:16:06] D: | MCServer has encountered an error and needs to close
[17:16:06] Details | SIGABRT: Server self-terminated due to an internal fault
[17:16:06] MCServer Jenkins gcc armhf Release (master) build id: #37
[17:16:06] from commit id: 1487f57905b8cfd52c98ef9601613eba21bc2f7d built at: Thu May 28 03:13:25 EDT 2015
./MCServer(_Z15PrintStackTracev+0x14)[0x1de300]
./MCServer(_Z14NonCtrlHandleri+0x8c)[0x1cb75c]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76cedb20]
/lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x40)[0x76cec8dc]
./start.sh: line 1: 4405 Aborted ./MCServer
RE: Segfault in build id: #37 - tigerw - 05-29-2015
I think this might have been fixed, and looks similar to https://forum.cuberite.org/showthread.php?tid=1984&pid=20924#pid20924 - try updating again?
RE: Segfault in build id: #37 - Jammet - 05-29-2015
The most recent build I can download is still #37, so ... that's the one that just bombed on me.
I'll wait for #38 and go for that.
RE: Segfault in build id: #37 - Jammet - 05-29-2015
Not sure why, but the compile process on Jenkins for the arm build #38 is failing, so I will check again tomorrow.
RE: Segfault in build id: #37 - LogicParrot - 05-29-2015
If something's wrong with the builds, you could always build from source using the lazy script (Yes, I'm marketing)
RE: Segfault in build id: #37 - Jammet - 05-29-2015
Thanks, I'll keep that in mind, though I strongly prefer to just wget the binaries off of Jenkins. If the builds.mc-server.org doesn't get this to compile, it probably won't compile here either... I think.
At Jenkins, this happened 4 hours ago:
Code: Started by upstream project "MCServer Linux x64" build number 579
originally caused by:
Started by an SCM change
Building on master in workspace /var/lib/jenkins/jobs/MCServer Linux armhf/workspace
[workspace] $ /bin/sh -xe /tmp/hudson316542985093462580.sh
+ pwd
+ WD=/var/lib/jenkins/jobs/MCServer Linux armhf/workspace
+ PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/var/lib/jenkins/jobs/MCServer Linux armhf/workspace/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:/var/lib/jenkins/jobs/MCServer Linux armhf/workspace/tolua++
+ rm -rf MCServer
+ git clone git://github.com/mc-server/MCServer.git
Cloning into 'MCServer'...
fatal: read error: Connection reset by peer
fatal: early EOF
fatal: index-pack failed
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE
Maybe it'll do just fine by the next cycle.
RE: Segfault in build id: #37 - bearbin - 05-29-2015
The issue with builds.cuberite.org is that GitHub is being very unreliable as of late - the servers often just return failures on a clone.
RE: Segfault in build id: #37 - Jammet - 05-29-2015
^^ Alright. Then I will build it. On the RPi2 this will probably take many hours but that's fine.
Mh...
Code: Building C object lib/zlib/CMakeFiles/zlib.dir/inftrees.c.o
[ 3%] [ 3%] Building CXX object lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/src/Database.cpp.o
Building C object lib/zlib/CMakeFiles/zlib.dir/adler32.c.o
cc1plus: error: unrecognized command line option â-std=c++11â
cc1plus: error: unrecognized command line option â-std=c++11â
lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/build.make:77: recipe for target 'lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/src/Database.cpp.o' failed
make[2]: *** [lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/src/Database.cpp.o] Error 1
CMakeFiles/Makefile2:363: recipe for target 'lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/all' failed
make[1]: *** [lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/all] Error 2
[ 3%] [ 3%] Building C object lib/lua/CMakeFiles/lua.dir/src/lzio.c.o
Building C object lib/lua/CMakeFiles/lua.dir/src/lauxlib.c.o
[ 4%] Building C object lib/lua/CMakeFiles/lua.dir/src/ldump.c.o
[ 4%] Building C object lib/zlib/CMakeFiles/zlib.dir/inffast.c.o
[ 4%] Building C object lib/zlib/CMakeFiles/zlib.dir/gzread.c.o
[ 4%] Building C object lib/lua/CMakeFiles/lua.dir/src/lopcodes.c.o
[ 4%] Building C object lib/lua/CMakeFiles/lua.dir/src/lvm.c.o
[ 4%] Building C object lib/zlib/CMakeFiles/zlib.dir/gzwrite.c.o
[ 4%] Building C object lib/lua/CMakeFiles/lua.dir/src/lstate.c.o
[ 5%] Building C object lib/zlib/CMakeFiles/zlib.dir/gzlib.c.o
[ 5%] Building C object lib/zlib/CMakeFiles/zlib.dir/deflate.c.o
[ 5%] Building C object lib/lua/CMakeFiles/lua.dir/src/ldebug.c.o
[ 5%] Building C object lib/zlib/CMakeFiles/zlib.dir/zutil.c.o
[ 5%] Building C object lib/zlib/CMakeFiles/zlib.dir/crc32.c.o
[ 6%] [ 6%] Building C object lib/lua/CMakeFiles/lua.dir/src/lstring.c.o
Building C object lib/lua/CMakeFiles/lua.dir/src/lparser.c.o
[ 6%] Building C object lib/zlib/CMakeFiles/zlib.dir/gzclose.c.o
[ 7%] Building C object lib/zlib/CMakeFiles/zlib.dir/uncompr.c.o
[ 7%] Building C object lib/lua/CMakeFiles/lua.dir/src/loslib.c.o
[ 7%] Building C object lib/zlib/CMakeFiles/zlib.dir/trees.c.o
[ 7%] Building C object lib/lua/CMakeFiles/lua.dir/src/lgc.c.o
[ 7%] Building C object lib/zlib/CMakeFiles/zlib.dir/inflate.c.o
[ 7%] Building C object lib/lua/CMakeFiles/lua.dir/src/ltable.c.o
[ 7%] Building C object lib/zlib/CMakeFiles/zlib.dir/infback.c.o
[ 8%] Building C object lib/lua/CMakeFiles/lua.dir/src/lobject.c.o
[ 8%] Building C object lib/lua/CMakeFiles/lua.dir/src/ltm.c.o
[ 8%] Building C object lib/lua/CMakeFiles/lua.dir/src/ltablib.c.o
[ 9%] Building C object lib/zlib/CMakeFiles/zlib.dir/compress.c.o
[ 9%] [ 9%] Building C object lib/lua/CMakeFiles/lua.dir/src/ldo.c.o
Building C object lib/lua/CMakeFiles/lua.dir/src/ldblib.c.o
[ 10%] Building C object lib/lua/CMakeFiles/lua.dir/src/lapi.c.o
[ 10%] Building C object lib/lua/CMakeFiles/lua.dir/src/linit.c.o
[ 10%] Building C object lib/lua/CMakeFiles/lua.dir/src/liolib.c.o
Linking C static library libzlib.a
[ 10%] Built target zlib
[ 10%] Building C object lib/lua/CMakeFiles/lua.dir/src/print.c.o
[ 11%] Building C object lib/lua/CMakeFiles/lua.dir/src/lundump.c.o
[ 11%] Building C object lib/lua/CMakeFiles/lua.dir/src/llex.c.o
[ 11%] Building C object lib/lua/CMakeFiles/lua.dir/src/lfunc.c.o
[ 11%] Building C object lib/lua/CMakeFiles/lua.dir/src/lbaselib.c.o
[ 12%] [ 12%] Building C object lib/lua/CMakeFiles/lua.dir/src/lmathlib.c.o
Building C object lib/lua/CMakeFiles/lua.dir/src/loadlib.c.o
[ 12%] Building C object lib/lua/CMakeFiles/lua.dir/src/lmem.c.o
[ 12%] [ 12%] Building C object lib/lua/CMakeFiles/lua.dir/src/lcode.c.o
Building C object lib/lua/CMakeFiles/lua.dir/src/lstrlib.c.o
Linking C static library liblua.a
[ 12%] Built target lua
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
-----------------
Script aborted, reason:
Compiling failed
Let's run the line again...
Code: * branch master -> FETCH_HEAD
Already on 'master'
Already up-to-date.
--- Updating submodules...
Submodule 'MCServer/Plugins/ChatLog' () registered for path 'MCServer/Plugins/ChatLog'
Submodule 'MCServer/Plugins/ChunkWorx' () registered for path 'MCServer/Plugins/ChunkWorx'
Submodule 'MCServer/Plugins/Core' () registered for path 'MCServer/Plugins/Core'
Submodule 'MCServer/Plugins/Handy' () registered for path 'MCServer/Plugins/Handy'
Submodule 'MCServer/Plugins/MagicCarpet' () registered for path 'MCServer/Plugins/MagicCarpet'
Submodule 'MCServer/Plugins/ProtectionAreas' () registered for path 'MCServer/Plugins/ProtectionAreas'
Submodule 'MCServer/Plugins/TransAPI' () registered for path 'MCServer/Plugins/TransAPI'
Submodule 'lib/SQLiteCpp' () registered for path 'lib/SQLiteCpp'
Submodule 'lib/TCLAP' () registered for path 'lib/TCLAP'
Submodule 'lib/libevent' () registered for path 'lib/libevent'
Submodule 'lib/polarssl' () registered for path 'lib/polarssl'
--- Running cmake...
~/MinecraftServer/downloads/compile
~/MinecraftServer/downloads/compile/build-mcserver ~/MinecraftServer/downloads/compile
-- SQLITECPP_RUN_CPPLINT OFF
-- SQLITECPP_RUN_CPPCHECK OFF
-- SQLITECPP_RUN_DOXYGEN OFF
-- SQLITECPP_BUILD_EXAMPLES OFF
-- SQLITECPP_BUILD_TESTS OFF
-- GCC Version >= 2.95 enabling no-strict-aliasing
including polarssl
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/MinecraftServer/downloads/compile/build-mcserver
--- Compiling...
[ 0%] [ 1%] [ 5%] Built target zlib
Building CXX object lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/src/Column.cpp.o
Building CXX object lib/jsoncpp/CMakeFiles/jsoncpp.dir/src/lib_json/json_value.cpp.o
[ 5%] cc1plus: error: unrecognized command line option â-std=c++11â
cc1plus: error: unrecognized command line option â-std=c++11â
cc1plus: error: unrecognized command line option â-std=c++11â
cc1plus: error: unrecognized command line option â-std=c++11â
lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/build.make:54: recipe for target 'lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/src/Column.cpp.o' failed
make[2]: *** [lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/src/Column.cpp.o] Error 1
CMakeFiles/Makefile2:363: recipe for target 'lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/all' failed
make[1]: *** [lib/SQLiteCpp/CMakeFiles/SQLiteCpp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
lib/jsoncpp/CMakeFiles/jsoncpp.dir/build.make:54: recipe for target 'lib/jsoncpp/CMakeFiles/jsoncpp.dir/src/lib_json/json_value.cpp.o' failed
make[2]: *** [lib/jsoncpp/CMakeFiles/jsoncpp.dir/src/lib_json/json_value.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 11%] Built target lua
Building CXX object lib/jsoncpp/CMakeFiles/jsoncpp.dir/src/lib_json/json_reader.cpp.o
cc1plus: error: unrecognized command line option â-std=c++11â
cc1plus: error: unrecognized command line option â-std=c++11â
lib/jsoncpp/CMakeFiles/jsoncpp.dir/build.make:77: recipe for target 'lib/jsoncpp/CMakeFiles/jsoncpp.dir/src/lib_json/json_reader.cpp.o' failed
make[2]: *** [lib/jsoncpp/CMakeFiles/jsoncpp.dir/src/lib_json/json_reader.cpp.o] Error 1
CMakeFiles/Makefile2:75: recipe for target 'lib/jsoncpp/CMakeFiles/jsoncpp.dir/all' failed
make[1]: *** [lib/jsoncpp/CMakeFiles/jsoncpp.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
-----------------
Script aborted, reason:
Compiling failed
Sadly, this is where the "magic" happens and I wouldn't know what to do about it. As frail as the build servers might be ...
RE: Segfault in build id: #37 - bearbin - 05-29-2015
The buildserver should have the newest build in a few minutes, I was just explaining why the build had failed.
RE: Segfault in build id: #37 - xoft - 05-29-2015
Jammet, your gcc is too old, you'd need to upgrade to 4.8 or newer in order to compile. I guess it's just easier to get the builds off the buildserver
|