Cuberite Forum

Full Version: SegmentationFault - Raspberry Pi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
(10-02-2014, 03:53 PM)xoft Wrote: [ -> ]Hi, welcome to the forum.

Generally, there's a guide for reporting crashes on Linux (which is true for RasPi as well):
https://forum.cuberite.org/showthread.php?tid=631

Are you using a prebuilt binary, or are you compiling your own? If using pre-built, just give us the build number of the download ("latest" is no good, because that changes at least twice a day), if you're building your own, we'd need you to post the entire executable. Then of course the crashdump file itself. *Or* if you can do the autopsy yourself, as described in the thread, that would be immensely helpful.

I am using the pre-build binary, I downloaded from MCServer.org.
(10-02-2014, 03:53 PM)xoft Wrote: [ -> ]Hi, welcome to the forum.

Generally, there's a guide for reporting crashes on Linux (which is true for RasPi as well):
https://forum.cuberite.org/showthread.php?tid=631

Are you using a prebuilt binary, or are you compiling your own? If using pre-built, just give us the build number of the download ("latest" is no good, because that changes at least twice a day), if you're building your own, we'd need you to post the entire executable. Then of course the crashdump file itself. *Or* if you can do the autopsy yourself, as described in the thread, that would be immensely helpful.

I can I know the build number?
There is something strange in my MCServer build,the player folder was missing
The build number is reported in the server log when you start the server.
The players folder gets created when needed - the server loads or saves the first player.
(10-03-2014, 03:04 AM)xoft Wrote: [ -> ]The build number is reported in the server log when you start the server.
The players folder gets created when needed - the server loads or saves the first player.

The server is not creating any player files because when I join it it stops...
(10-03-2014, 03:04 AM)xoft Wrote: [ -> ]The build number is reported in the server log when you start the server.
The players folder gets created when needed - the server loads or saves the first player.

I can't see the build number, here is what i've got :
pi@raspberrypi ~/MCServer $ ./MCServer
[19:13:17] --- Started Log ---

[19:13:17] Creating new server instance...
[19:13:17] Reading server config...
[19:13:17] Starting server...
[19:13:17] 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, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.7.2, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.8
[19:13:17] Compatible protocol versions 29, 39, 47, 49, 51, 60, 61, 73, 74, 77, 78, 4, 5
[19:13:17] Client IPv4: Port 25565 is open for connections
[19:13:19] WebServer: The server is running in unsecured HTTP mode.
[19:13:19] Put a valid HTTPS certificate in file 'webadmin/httpscert.crt' and its corresponding private key to 'webadmin/httpskey.pem' (without any password) to enable HTTPS support
[19:13:19] WebServer IPv4: Port 8080 is open for connections
[19:13:19] Loaded 392 crafting recipes
[19:13:19] Loaded 18 furnace recipes and 36 fuels
[19:13:19] -- Loading Plugins --
[19:13:20] Initialised Core v.14
[19:13:20] Initialized TransAPI v.1
[19:13:20] Initialized ChatLog v.3
[19:13:20] -- Loaded 3 Plugins --
[19:13:20] Preparing spawn area in world "world", 20 x 20 chunks, total 400 chunks...
[19:13:20] 397 chunks to load, 0 chunks to generate
[19:13:22] 328 chunks to load, 0 chunks to generate
[19:13:24] 262 chunks to load, 0 chunks to generate
[19:13:26] 184 chunks to load, 0 chunks to generate
[19:13:29] 111 chunks to load, 0 chunks to generate
[19:13:31] 45 chunks to load, 0 chunks to generate
[19:13:33] Lighting spawn area in world "world"...
[19:13:33] 352 chunks remaining to light
[19:13:35] 344 chunks remaining to light
[19:13:37] 337 chunks remaining to light
[19:13:39] 330 chunks remaining to light
[19:13:41] 322 chunks remaining to light
[19:13:43] 315 chunks remaining to light
[19:13:45] 308 chunks remaining to light
[19:13:47] 301 chunks remaining to light
[19:13:49] 284 chunks remaining to light
[19:13:51] 264 chunks remaining to light
[19:13:53] 243 chunks remaining to light
[19:13:55] 221 chunks remaining to light
[19:13:57] 198 chunks remaining to light
[19:13:59] 175 chunks remaining to light
[19:14:01] 152 chunks remaining to light
[19:14:03] 130 chunks remaining to light
[19:14:05] 108 chunks remaining to light
[19:14:07] 86 chunks remaining to light
[19:14:09] 64 chunks remaining to light
[19:14:11] 42 chunks remaining to light
[19:14:13] 20 chunks remaining to light
[19:14:15] 4 chunks remaining to light
[19:14:15] Startup complete, took 58580 ms!
[19:21:10] User xxxxxxxxx authenticated with UUID xxxxxxxxxxxxxxxxxxxxxxxx
[19:21:10] Player data file not found for xxxxxxxxxxx(xxxxxxxxxxxxx, offline xxxxxxxxxxxxxxxx (unused)), will be reset to defaults.
[19:21:10] Player xxxxxxxxx has joined the game
[19:21:10] D: | MCServer has encountered an error and needs to close
[19:21:10] Details | SIGSEGV: Segmentation fault
[19:21:10] D: | MCServer has encountered an error and needs to close
[19:21:10] Details | SIGABRT: Server self-terminated due to an internal fault
Abandon
pi@raspberrypi ~/MCServer $
The build number should also be in a file called buildinfo. See if it's in there.
(10-03-2014, 03:39 AM)bearbin Wrote: [ -> ]The build number should also be in a file called buildinfo. See if it's in there.

I have nothing named buildinfo.
Ah. Try downloading a new build and see if it's there.
I think my server is crashing because it says
Player data file not found
But is the server supposed to create it or did I miss something. I am supposed to put a file in the players file?
Can you try downloading a new build, see if it still crashes, and provide the build ID please.
Pages: 1 2 3 4