Bus error on Raspberry Pi
#1
Hi,

when i try to start the server on my Raspberry Pi, i'm getting a bus error.

[15:54:35] --- Started Log ---
[15:54:35] Creating new server instance...
[15:54:35] Reading server config...
[15:54:35] Starting server...
/============================\
| Custom Minecraft Server |
| Created by Kevin Bansberg |
| A.K.A. FakeTruth |
| Monsters by Alex Sonek |
| A.K.A. Duralex |
| Stuff by Mattes D |
| A.K.A. _Xoft(o) |
\============================/
More info: WWW.MC-SERVER.ORG
WWW.AE-C.NET
WWW.RBTHINKTANK.COM
email: faketruth@gmail.com

[15:54:35] Starting up server.
[15:54:35] Compatible clients: 1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5, 1.5.1, 1.5.2
[15:54:35] Compatible protocol versions 29, 39, 47, 49, 51, 60, 61
[15:54:35] IPv4: Port 25565 is open for connections
[15:54:35] IPv6: Cannot create listening socket for port 25565: "97: Address family not supported by protocol"
[15:54:35] Generating protocol encryption keypair...
[15:54:36] Creating WebAdmin...
[15:54:36] Starting WebAdmin on port 8081
[15:54:36] Loading settings...
[15:54:36] -- Loading Groups --
[15:54:36] Loading group: Admins
[15:54:36] Permission: *
[15:54:36] Loading group: Mods
[15:54:36] Permission: core.time
[15:54:36] Permission: core.item
[15:54:36] Loading group: Vips
[15:54:36] Permission: core.teleport
[15:54:36] Loading group: Default
[15:54:36] Permission: core.build
[15:54:36] Permission: core.help
[15:54:36] Permission: core.playerlist
[15:54:36] Permission: core.pluginlist
[15:54:36] Permission: core.spawn
[15:54:36] -- Done Loading Groups --
[15:54:36] -- Loading crafting recipes from crafting.txt --
[15:54:36] -- 224 crafting recipes loaded from crafting.txt --
[15:54:36] -- Loading furnace recipes --
[15:54:36] ERROR: FurnaceRecipe, syntax error
[15:54:36] Got 13 furnace recipes, and 13 fuels.
[15:54:36] Loading worlds...
[15:54:36] [Generator]::BiomeGen value not found in world.ini, using "MultiStepMap".
[15:54:36] Using a cache for biomegen of size 64.
[15:54:36] [Generator]::HeightGen value not found in world.ini, using "Biomal".
[15:54:36] Using a cache for Heightgen of size 64.
[15:54:36] [Generator]::CompositionGen value not found in world.ini, using "Biomal".
[15:54:36] world/world.ini [Physics]:WaterSimulator not present or empty, using the default of "Floody".
[15:54:36] world/world.ini [Physics]:LavaSimulator not present or empty, using the default of "Floody".
[15:54:36] Loading plugin manager...
[15:54:36] Loading plugins
[15:54:36] LUA: table index is NaN
[15:54:36] Can't load plugin Plugins/Core because of an error in file Plugins/Core/oncraftingnorecipe.lua
[15:54:36] Initialized ChunkWorx v0
[15:54:36] Initialized ChatLog v.0
[15:54:36] Loaded 8 plugin(s)
[15:54:36] Loading MonsterConfig...
[15:54:36] Starting Authenticator...
[15:54:36] Starting worlds...
[15:54:36] Preparing spawn area in world "world"...
Bus error

i used this tutorials -> http://www.mc-server.org/wiki/doku.php?id=install
Please help me
Reply
Thanks given by:
#2
Please have a look at this guide on how to report crashes in Linux:
https://forum.cuberite.org/showthread.php?tid=631

We need more information, especially if you can get the core dump, that'd be great.

I'll try the current version on my RasPi later when I get home, but it's been working for as long as I remember.
Reply
Thanks given by:
#3
I tried as much as I can, but i only have a light image. I don't have most of the tools.

//Edit: Core Plugin isn't loading?
[15:54:36] Can't load plugin Plugins/Core because of an error in file Plugins/Core/oncraftingnorecipe.lua
Reply
Thanks given by:
#4
It works alright on my RasPi, so I really need your input here.

You should be able to install the tools needed - do a "sudo apt-get install gdb", this should install the gdb debugger; that's all you need for the reporting.

I'm not getting even the Core error, but I'm seeing the furnace recipe error, too. Weird, that doesn't happen on Windows.
Reply
Thanks given by:
#5
I've posted a bug report now:

http://www.mc-server.org/support/index.p...ask_id=395
Reply
Thanks given by: xoft
#6
By any chance did you download the build from my server? If you did, I was also having that error and I wonder if it's something to do with my build process.
Reply
Thanks given by:
#7
Right, forgot about that. It's quite probably that you can't make a build under one RasPi OS and run it under another RasPi OS. The shared libraries might be different, or the OS ABI, or a thousand other reasons.

Any chance you could compile from sources? You need g++ and gnumake installed (sudo apt-get install g++ gnumake) and either a sources package or subversion client to download from the repository. Have a look at the wiki, there's a guide to compiling under Linux:
http://www.mc-server.org/wiki/doku.php?id=compiling_gcc

Note that you will need about 1 GiB of free storage for this to work.
Reply
Thanks given by:
#8
I've already compiled 2 times.
But i didn't rember what the problem was...
I will compile now.

@bearbin
I don't know. I've used this tutorial -> http://www.mc-server.org/wiki/doku.php?id=install

//Edit: I've compiled now everything. But the last line says the following:

build/release/CryptoPP/rsa.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [MCServer/MCServer] Error 1


No executable file in the folder Sad
Reply
Thanks given by:
#9
Does the rsa.o file exist in that folder? And is it of size zero, or larger? If you delete it and recompile (should take only moments), does it work?

Sometimes the compilation fails for some reason or another, and the produced file is incomplete or even zero-size, deleting it and recompiling fixes that.

The more I think about your issue, the more I have a suspicion that your storage medium is failing, slowly. One corrupt bit and it's bye-bye to a functioning server.

(Sorry for the late answer, you edited your answer instead of posting a new reply, so the thread wasn't marked as unread. Next time just post; the posts are usually joined together by the forum sw, but it marks the thread so I read it Smile )
Reply
Thanks given by:
#10
i switched to an 8gb Sd Card now.

There was no rsa.o in the Folder.
i tried to recompile but still got an error:

root@raspberrypi:/home/MCServer# make release=1
/usr/bin/g++ -s -g -O3 -DNDEBUG -c -I. -Isource -Isource/md5 -IWebServer -Isource/items -Isource/blocks -Itolua++-1.0.93/src/lib -Ilua-5.1.4/src -Izlib-1.2.7 -IiniFile -Itolua++-1.0.93/include -Ijsoncpp-src-0.5.0/include -Ijsoncpp-src-0.5.0/src/lib_json -Iexpat CryptoPP/dll.cpp -o build/release/CryptoPP/dll.o
In file included from CryptoPP/dll.cpp:6:0:
CryptoPP/dll.h:34:17: fatal error: rsa.h: No such file or directory
compilation terminated.
make: *** [build/release/CryptoPP/dll.o] Error 1
Reply
Thanks given by:




Users browsing this thread: 11 Guest(s)