(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