Server crashes if I try to connect
#1
Hi,
I have a little problem with my minecraft server.

The webadmin works fine but every time I try to connect so the game server the whole thing crashes.

Code:
[10:03:24] --- Started Log ---
[10:03:24] Cuberite Jenkins gcc armhf Release (master) build id: #763
[10:03:24] from commit id: 0e1649a0f15a23717c72d7984a0b5d44ac29a769 built at: Wed 21 Jun 07:05:17 UTC 2017
[10:03:24] Creating new server instance...
[10:03:24] Reading server config...
[10:03:24] Starting server...
[10:03:24] Compatible clients: 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12
[10:03:24] Compatible protocol versions 47, 107, 108, 109, 110, 210, 315, 316, 335
[10:03:24] WebServer: The server will run in unsecured HTTP mode.
[10:03:24] 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
[10:03:24] Loaded 726 crafting recipes
[10:03:24] Loaded 52 furnace recipes and 66 fuels
[10:03:24] Loaded 88 brewing recipes
[10:03:24] -- Loading Plugins --
[10:03:24] Initialised Core v.15
[10:03:24] Initialized ChatLog v.3
[10:03:24] -- Loaded 2 Plugins --
[10:03:25] Preparing spawn (standard): 50.25% (201/400; 195.15 chunks / sec)
[10:03:27] Preparing spawn (world_nether): 38.00% (152/400; 117.92 chunks / sec)
[10:03:29] Preparing spawn (world_the_end): 65.00% (260/400; 258.45 chunks / sec)
[10:03:29] Did not find an acceptable spawnpoint. Generated a random spawnpoint position at {0.00, 168.00, 0.00}
[10:03:29] WebAdmin is running on port(s) 8080
[10:03:29] Startup complete, took 5201ms!
[10:03:35] User BalloS_Twok authenticated with UUID 8ca5c064ea1744a7bf28845556da3202
[10:03:35] Player data file not found for BalloS_Twok (8ca5c064ea1744a7bf28845556da3202, offline 148aaac7db97386280a8a96f038af80e (unused)), will be reset to defaults.
[10:03:35]   D:    | Cuberite has encountered an error and needs to close
[10:03:35] Details | SIGSEGV: Segmentation fault
[10:03:35] Cuberite Jenkins gcc armhf Release (master) build id: #763
[10:03:35] from commit id: 0e1649a0f15a23717c72d7984a0b5d44ac29a769 built at: Wed 21 Jun 07:05:17 UTC 2017
./Cuberite(_Z15PrintStackTracev+0x14)[0x212e94]
./Cuberite[0x201684]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76c66180]
./Cuberite(_ZN7cPlayer15SetCapabilitiesEv+0x164)[0x432d08]
./Cuberite(_ZN13cClientHandle12AuthenticateERKSsS1_RKN4Json5ValueE+0x43c)[0x17a718]
./Cuberite(_ZN7cServer16AuthenticateUserEiRKSsS1_RKN4Json5ValueE+0x80)[0x1d561c]
./Cuberite(_ZN14cAuthenticator7ExecuteEv+0x1bc)[0x31cfc8]
/usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0xa5348)[0x76eed348]
[10:03:35]   D:    | Cuberite has encountered an error and needs to close
[10:03:35] Details | SIGABRT: Server self-terminated due to an internal fault
[10:03:35] Cuberite Jenkins gcc armhf Release (master) build id: #763
[10:03:35] from commit id: 0e1649a0f15a23717c72d7984a0b5d44ac29a769 built at: Wed 21 Jun 07:05:17 UTC 2017
./Cuberite(_Z15PrintStackTracev+0x14)[0x212e94]
./Cuberite[0x201684]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76c66180]
/lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x38)[0x76c64f70]
Abgebrochen
Is there anything I can do about it ?
Thanks for your help
with best regards
BalloS
Reply
Thanks given by:
#2
Really strange. Can you test if it works with authentication switched off? In file settings.ini change Authenticate=1 to Authenticate=0
Reply
Thanks given by:
#3
Hello, welcome to the forum.
Is this on a Raspberry Pi, or another piece of semi-exotic hardware?
Reply
Thanks given by:
#4
Hi,

this is on a Raspberry Pi 3 Model B Rev 1.2. I think all is up to date.
I installed it with this tutorial: https://jankarres.de/2014/01/raspberry-p...tallieren/

With authentication off I get this log

Code:
[10:35:52] --- Started Log ---
[10:35:52] Cuberite Jenkins gcc armhf Release (master) build id: #763
[10:35:52] from commit id: 0e1649a0f15a23717c72d7984a0b5d44ac29a769 built at: Wed 21 Jun 07:05:17 UTC 2017
[10:35:52] Creating new server instance...
[10:35:52] Reading server config...
[10:35:52] Starting server...
[10:35:52] Compatible clients: 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12
[10:35:52] Compatible protocol versions 47, 107, 108, 109, 110, 210, 315, 316, 335
[10:35:52] WebServer: The server will run in unsecured HTTP mode.
[10:35:52] 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
[10:35:52] Loaded 726 crafting recipes
[10:35:52] Loaded 52 furnace recipes and 66 fuels
[10:35:52] Loaded 88 brewing recipes
[10:35:52] -- Loading Plugins --
[10:35:52] Initialised Core v.15
[10:35:52] Initialized ChatLog v.3
[10:35:52] -- Loaded 2 Plugins --
[10:35:53] Preparing spawn (standard): 64.25% (257/400; 257.00 chunks / sec)
[10:35:55] Preparing spawn (world_nether): 27.75% (111/400; 97.54 chunks / sec)
[10:35:58] Preparing spawn (world_the_end): 62.00% (248/400; 248.00 chunks / sec)
[10:35:58] Did not find an acceptable spawnpoint. Generated a random spawnpoint position at {0.00, 168.00, 0.00}
[10:35:58] WebAdmin is running on port(s) 8080
[10:35:58] Startup complete, took 6791ms!
[10:37:28] Player data file not found for BalloS_Twok (148aaac7db97386280a8a96f038af80e, offline 148aaac7db97386280a8a96f038af80e (unused)), will be reset to defaults.
[10:37:28]   D:    | Cuberite has encountered an error and needs to close
[10:37:28] Details | SIGSEGV: Segmentation fault
[10:37:28] Cuberite Jenkins gcc armhf Release (master) build id: #763
[10:37:28] from commit id: 0e1649a0f15a23717c72d7984a0b5d44ac29a769 built at: Wed 21 Jun 07:05:17 UTC 2017
./Cuberite(_Z15PrintStackTracev+0x14)[0x212e94]
./Cuberite[0x201684]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76ca9180]
./Cuberite(_ZN7cPlayer15SetCapabilitiesEv+0x164)[0x432d08]
./Cuberite(_ZN13cClientHandle12AuthenticateERKSsS1_RKN4Json5ValueE+0x43c)[0x17a718]
./Cuberite(_ZN7cServer16AuthenticateUserEiRKSsS1_RKN4Json5ValueE+0x80)[0x1d561c]
./Cuberite(_ZN14cAuthenticator12AuthenticateEiRKSsS1_+0x60)[0x31d92c]
./Cuberite(_ZN13cClientHandle11HandleLoginERKSs+0xb0)[0x175c64]
./Cuberite(_ZN15cProtocol_1_9_022HandlePacketLoginStartER11cByteBuffer+0x160)[0x341b7c]
./Cuberite(_ZN14cProtocol_1_1212HandlePacketER11cByteBufferj+0x154)[0x3551c4]
./Cuberite(_ZN15cProtocol_1_9_015AddReceivedDataEPKcj+0xfc)[0x342d94]
./Cuberite(_ZN15cProtocol_1_9_012DataReceivedEPKcj+0x74)[0x343570]
./Cuberite(_ZN19cProtocolRecognizer12DataReceivedEPKcj+0x17c)[0x34a660]
./Cuberite(_ZN13cClientHandle20ProcessProtocolInOutEv+0x54)[0x17a058]
./Cuberite(_ZN13cClientHandle10ServerTickEf+0x10)[0x17cf08]
./Cuberite(_ZN7cServer11TickClientsEf+0xf0)[0x1d7578]
./Cuberite(_ZN7cServer11cTickThread7ExecuteEv+0xcc)[0x1d7a88]
/usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0xa5348)[0x76f30348]
[10:37:28]   D:    | Cuberite has encountered an error and needs to close
[10:37:28] Details | SIGABRT: Server self-terminated due to an internal fault
[10:37:28] Cuberite Jenkins gcc armhf Release (master) build id: #763
[10:37:28] from commit id: 0e1649a0f15a23717c72d7984a0b5d44ac29a769 built at: Wed 21 Jun 07:05:17 UTC 2017
./Cuberite(_Z15PrintStackTracev+0x14)[0x212e94]
./Cuberite[0x201684]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76ca9180]
/lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x38)[0x76ca7f70]
Abgebrochen

I have to say that I tried to import a existing world from a windows java Server on this.
At first I get a lot of errors with mismatch of some items like in this thread : https://forum.cuberite.org/thread-2977.html

But with the new version #763 there were no errors but the crashes.
Reply
Thanks given by:
#5
I think I've seen a crash at this code location, but never found out what the cause was.

There's a "How to report crashes" thread in this forum that would help guide you through steps to provide us with much more information; but it can take quite some time. If you are willing to help us (which we would really appreciate), have a look and try it out: https://forum.cuberite.org/thread-631.html
Reply
Thanks given by:
#6
I found the other report: https://github.com/cuberite/cuberite/issues/2845
Reply
Thanks given by:
#7
I tried my best Smile

I'm not so familiar with linux but I hope I get all you need.
You can download the package here: http://www.share-online.biz/download.php?id=MIZSBWROOXB


If I can help with more tests or something let me know.

Thanks for the help and I hope you find the bug

with best regards
BalloS
Reply
Thanks given by:
#8
Sorry better would be a stack trace from a debug build, as it would contains the line numbers. Could you try the debug build from build server?
https://builds.cuberite.org/job/Cuberite...ter-debug/
Reply
Thanks given by:
#9
(06-22-2017, 12:24 AM)Seadragon91 Wrote: Sorry better would be a stack trace from a debug build, as it would contains the line numbers. Could you try the debug build from build server?
https://builds.cuberite.org/job/Cuberite...ter-debug/

Which files do you need ?
Or all again ?
Reply
Thanks given by:
#10
Well only the crash.txt. That is created by gdb.
Reply
Thanks given by:




Users browsing this thread: 5 Guest(s)