SegmentationFault - Raspberry Pi
#21
(10-03-2014, 06:09 AM)bearbin Wrote: Can you try downloading a new build, see if it still crashes, and provide the build ID please.

I downloaded a new build : MCServer Linux armhf #46
Will try tomorrow if the new build is working, so there is probably nothing to fix... I mean tomorrow because I live in France, so it's not the same hours.
Reply
Thanks given by:
#22
Actually most of us are europeans Smile
Reply
Thanks given by: NiLSPACE , tonibm19
#23
(10-03-2014, 03:27 PM)xoft Wrote: Actually most of us are europeans Smile

Oh. I thought you were not because of the posting hour of MCServer.
Reply
Thanks given by:
#24
(10-03-2014, 03:27 PM)xoft Wrote: Actually most of us are europeans Smile

My build is working but I can't put the server in survival for all players by default using the web interface.
Also there is no animal and monsters doesn't seems to see me/aren't moving fluently.
The far map is also loading and I can see the lava and threes are loading.
Reply
Thanks given by:
#25
Monsters and animal weirdness is normal, and we're working on fixing it.
Reply
Thanks given by:
#26
(10-04-2014, 02:03 AM)bearbin Wrote: Monsters and animal weirdness is normal, and we're working on fixing it.

Oh ok.
But for the creative activated by default I can't change it by the web interface, what do I need to put in settings.ini to enable the survival mode?
Reply
Thanks given by:
#27
The gamemode is set on a per-world basis, so you need to edit the world.ini of the world for which you want to set the gamemode.
Reply
Thanks given by:
#28
Sad 
(04-06-2014, 07:54 PM)native Wrote: I am also experiencing a segmentation fault on a Model B Raspberry Pi with Raspbpian (MC server hardfloat). However, it occurs immediately when someone logs in. If no one logs in, the server runs fine.

I tried compiling by following the Linux instructions exactly, however that failed at the cmake step at 23%. I will post my exact compilation issue in a new thread.

I'm having a similar problem with both the precompiled server on my Pi model B+ (512Mb) and a server compiled on my Pi. The server appears to start up OK and I can command "help" and get a list of MCServer commands, but as soon as I join the server from Minecraft 1.8.3 running on my Mac, the server quits with a segmentation error.

I first used raspi-config to reduce the Pi graphics memory to 16 Mb. I then followed the Wiki instructions for compiling MCServer on my Pi, first issuing the Raspberry Pi commands and then the Linux commands. There were a number of "not found" messages during the "make" process but it appeared to work. I am running RASPBIAN (Debian Wheezy) on my Pi on a 16GB SD card. I am new to both Minecraft and Raspberry Pi so I wonder if there is some configuration issue on the Pi or on Minecraft on my Mac that I am missing. Shouldn't this work?

I have started the server twice and had apparently the same result. The first time I started the server I got many more messages than I got the second time. The messages I got the second time, and the errors I got after trying to join the server, follow. I also included a directory listing after the errors:

pi@brewpi:~/minecraft/src/MCServer/MCServer$ ./MCServer
[11:43:09] --- Started Log ---

[11:43:09] Creating new server instance...
[11:43:09] Reading server config...
[11:43:09] Starting server...
[11:43:10] Compatible clients: 1.7.x, 1.8
[11:43:10] Compatible protocol versions 4, 5, 47
[11:43:11] WebServer: The server is running in unsecured HTTP mode.
[11:43:11] 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
[11:43:11] Loaded 391 crafting recipes
[11:43:11] Loaded 19 furnace recipes and 55 fuels
[11:43:11] -- Loading Plugins --
[11:43:12] Initialised Core v.14
[11:43:12] Initialized TransAPI v.1
[11:43:12] Initialized ChatLog v.3
[11:43:12] -- Loaded 3 Plugins --
[11:43:13] Preparing spawn (world): 3.50% (14/400; 13.86 chunks/s)
[11:43:14] Preparing spawn (world): 12.00% (48/400; 33.70 chunks/s)
[11:43:15] Preparing spawn (world): 23.00% (92/400; 43.74 chunks/s)
[11:43:16] Preparing spawn (world): 34.00% (136/400; 43.65 chunks/s)
[11:43:17] Preparing spawn (world): 44.75% (179/400; 42.20 chunks/s)
[11:43:18] Preparing spawn (world): 55.25% (221/400; 39.77 chunks/s)
[11:43:19] Preparing spawn (world): 66.00% (264/400; 42.49 chunks/s)
[11:43:20] Preparing spawn (world): 77.00% (308/400; 43.52 chunks/s)
[11:43:21] Preparing spawn (world): 88.00% (352/400; 43.48 chunks/s)
[11:43:22] Preparing spawn (world): 99.25% (397/400; 44.55 chunks/s)
[11:43:22] Startup complete, took 12880ms!
[11:47:34] D: | MCServer has encountered an error and needs to close
[11:47:34] Details | SIGSEGV: Segmentation fault
./MCServer(_Z15PrintStackTracev+0x14)[0x1cd048]
./MCServer(_Z14NonCtrlHandleri+0x7c)[0x1c60c4]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0xb6d03b20]
[11:47:34] D: | MCServer has encountered an error and needs to close
[11:47:34] Details | SIGABRT: Server self-terminated due to an internal fault
./MCServer(_Z15PrintStackTracev+0x14)[0x1cd048]
./MCServer(_Z14NonCtrlHandleri+0xa0)[0x1c60e8]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0xb6d03b20]
/lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x40)[0xb6d028dc]
Aborted
pi@brewpi:~/minecraft/src/MCServer/MCServer$ ls -la
total 7808
drwxr-xr-x 7 pi pi 4096 Mar 6 23:50 .
drwxr-xr-x 12 pi pi 4096 Mar 6 20:14 ..
-rw-r--r-- 1 pi pi 3072 Mar 6 23:50 banlist.sqlite
-rw-r--r-- 1 pi pi 28345 Mar 6 17:59 crafting.txt
-rw-r--r-- 1 pi pi 9265 Mar 6 17:59 favicon.png
-rw-r--r-- 1 pi pi 3782 Mar 6 17:59 furnace.txt
-rw-r--r-- 1 pi pi 396 Mar 6 17:59 .gitignore
-rwxr-xr-x 1 pi pi 315 Mar 6 17:59 hg
-rw-r--r-- 1 pi pi 583 Mar 6 17:59 hg.supp
-rw-r--r-- 1 pi pi 622 Mar 6 23:50 itemblacklist
-rw-r--r-- 1 pi pi 15152 Mar 6 17:59 items.ini
drwxr-xr-x 2 pi pi 4096 Mar 6 17:59 lang
drwxr-xr-x 2 pi pi 4096 Mar 7 11:43 logs
-rwxr-xr-x 1 pi pi 7825591 Mar 6 23:47 MCServer
-rw-r--r-- 1 pi pi 3072 Mar 6 23:50 MojangAPI.sqlite
-rw-r--r-- 1 pi pi 2754 Mar 6 17:59 monsters.ini
-rw-r--r-- 1 pi pi 96 Mar 6 23:50 motd.txt
drwxr-xr-x 16 pi pi 4096 Mar 6 17:59 Plugins
-rw-r--r-- 1 pi pi 2808 Mar 6 17:59 profile_run.cmd
-rw-r--r-- 1 pi pi 162 Mar 6 17:59 profile_run_debug.cmd
-rw-r--r-- 1 pi pi 149 Mar 6 17:59 profile_run_x64.cmd
-rw-r--r-- 1 pi pi 7168 Mar 6 23:50 Ranks.sqlite
-rw-r--r-- 1 pi pi 730 Mar 6 17:59 README.txt
-rw-r--r-- 1 pi pi 534 Mar 6 17:59 settings_apidump.ini
-rw-r--r-- 1 pi pi 1075 Mar 7 11:43 settings.ini
-rwxr-xr-x 1 pi pi 375 Mar 6 17:59 vg
-rw-r--r-- 1 pi pi 0 Mar 6 17:59 vg.supp
drwxr-xr-x 3 pi pi 4096 Mar 6 17:59 webadmin
-rw-r--r-- 1 pi pi 220 Mar 7 11:43 webadmin.ini
-rw-r--r-- 1 pi pi 4096 Mar 6 23:50 whitelist.sqlite
drwxr-xr-x 4 pi pi 4096 Mar 6 23:50 world
Reply
Thanks given by:
#29
That looks like a genuine crash. Could you follow this guide to provide as much information as possible? https://forum.cuberite.org/showthread.php?tid=631
Thanks.
Reply
Thanks given by:
#30
(03-08-2015, 06:31 AM)xoft Wrote: That looks like a genuine crash. Could you follow this guide to provide as much information as possible? https://forum.cuberite.org/showthread.php?tid=631
Thanks.

Thanks for responding. I followed the reporting guide as much as I could and attached file mc_issues.tar with the info I collected. I didn't have a core dump file so I tried the "Live Analysis" and included the gdb.txt file (the crash.txt didn't get created).

I then tried to start the server in the usual way from the shell prompt. It started up OK. I then joined the server from Minecraft running on my Mac... and it worked! I was able to move around, fly, blow up TNT and it didn't crash! I quit the game and then rejoined the server without problems. Could running gdb in the "Live Analysis" have fixed it?

Thanks again.Smile

P.S.
I tried to attach the mc_issues.tar file but the forum server gave an error saying that the file was too large (larger than 1024 kB). The MCServer file I included is 7.5 MB so it didn't work.
Reply
Thanks given by:




Users browsing this thread: 6 Guest(s)