New segfault (RPi2)
#1
Quote:[22:56:10] User IceBlader authenticated with UUID 147c577d780e4f11b8656bc67f090b2e
[22:56:10] Player IceBlader has joined the game
[22:56:22] [IceBlader]: abend
[22:56:29] [DanderDark]: abend
[23:01:04] Player IceBlader has left the game
[23:12:16] Deadlock detected, aborting the server
[23:12:16] D: | Cuberite has encountered an error and needs to close
[23:12:16] Details | SIGABRT: Server self-terminated due to an internal fault
[23:12:16] Cuberite Jenkins gcc armhf Release (master) build id: #179
[23:12:16] from commit id: 4a8e7bddcc9565e3e89b718e428aba23c97acdfa built at: Mon 5 Oct 23:06:25 CEST 2015
./Cuberite(_Z15PrintStackTracev+0x14)[0x1eba04]
./Cuberite(_Z14NonCtrlHandleri+0xd0)[0x1d89ac]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76caab20]
/lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x40)[0x76ca98dc]
./start.sh: line 1: 3584 Aborted ./Cuberite

I honestly do not know what caused this crash. But maybe the output can help you? The version of Cuberite is a few days old build.

Quote:[23:13:19] Cuberite Jenkins gcc armhf Release (master) build id: #179
[23:13:19] from commit id: 4a8e7bddcc9565e3e89b718e428aba23c97acdfa built at: Mon 5 Oct 23:06:25 CEST 2015
Reply
Thanks given by:
#2
It was a deadlock (says so above the crash), it could be any of the known deadlocks, or a new one.
Reply
Thanks given by: Jammet
#3
New crash today. Out of nowhere. Sad

Quote:[17:54:26] Executing console command: "players"
[18:33:05] D: | Cuberite has encountered an error and needs to close
[18:33:05] Details | SIGSEGV: Segmentation fault
[18:33:05] Cuberite Jenkins gcc armhf Release (master) build id: #320
[18:33:05] from commit id: 6a22605fae80becb12318785389d07974a35cbbb built at: Fri 25 Dec 14:05:00 CET 2015
./Cuberite(_Z15PrintStackTracev+0x14)[0x1fc390]
./Cuberite(_Z14NonCtrlHandleri+0xd0)[0x1e9460]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76c5cb20]
./Cuberite(_ZN24cBlockingSslClientSocket10DisconnectEv+0x20)[0x42c714]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
[18:33:05] Shutting down server...
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
[18:33:05] D: | Cuberite has encountered an error and needs to close
[18:33:05] Details | SIGABRT: Server self-terminated due to an internal fault
[18:33:05] Cuberite Jenkins gcc armhf Release (master) build id: #320
[18:33:05] from commit id: 6a22605fae80becb12318785389d07974a35cbbb built at: Fri 25 Dec 14:05:00 CET 2015
./Cuberite(_Z15PrintStackTracev+0x14)[0x1fc390]
./Cuberite(_Z14NonCtrlHandleri+0xd0)[0x1e9460]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76c5cb20]
/lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x40)[0x76c5b8dc]
./start.sh: line 1: 16789 Aborted ./Cuberite
Reply
Thanks given by:
#4
Again. This is getting out of hand, quickly.

Quote:[18:33:10] --- Started Log ---
[18:33:10] Cuberite Jenkins gcc armhf Release (master) build id: #320
[18:33:10] from commit id: 6a22605fae80becb12318785389d07974a35cbbb built at: Fri 25 Dec 14:05:00 CET 2015
[18:33:10] Creating new server instance...
[18:33:10] Reading server config...
[18:33:10] Starting server...
[18:33:10] cMojangAPI: Updating name-to-uuid cache for 3 names
[18:33:10] Compatible clients: 1.7.x, 1.8.x
[18:33:10] Compatible protocol versions 4, 5, 47
[18:33:11] cMojangAPI: Updating uuid-to-profile cache for 3 uuids
[18:33:11] WebServer: The server is running in unsecured HTTP mode.
[18:33: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
[18:33:11] Loaded 448 crafting recipes
[18:33:11] Loaded 20 furnace recipes and 56 fuels
[18:33:11] Loaded 88 brewing recipes
[18:33:11] -- Loading Plugins --
[18:33:11] Initialized ChatLog v.3
[18:33:11] Initialised Core v.15
[18:33:11] Initialised Essentials v.0
[18:33:11] Initialized NoFireSpread v.1
[18:33:11] Initialized TransAPI v.1
[18:33:11] -- Loaded 8 Plugins --
[18:33:12] Preparing spawn (world): 21.50% (86/400; 84.73 chunks / sec)
[18:33:13] Preparing spawn (world): 52.00% (208/400; 121.88 chunks / sec)
[18:33:14] Preparing spawn (world): 83.50% (334/400; 124.88 chunks / sec)
[18:33:15] Startup complete, took 5118ms!
[20:33:12] cMojangAPI: Updating name-to-uuid cache for 1 names
[20:33:13] cMojangAPI: Updating uuid-to-profile cache for 1 uuids
[20:33:13] D: | Cuberite has encountered an error and needs to close
[20:33:13] Details | SIGSEGV: Segmentation fault
[20:33:13] Cuberite Jenkins gcc armhf Release (master) build id: #320
[20:33:13] from commit id: 6a22605fae80becb12318785389d07974a35cbbb built at: Fri 25 Dec 14:05:00 CET 2015
./Cuberite(_Z15PrintStackTracev+0x14)[0x1fc390]
./Cuberite(_Z14NonCtrlHandleri+0xd0)[0x1e9460]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76cd4b20]
./Cuberite(_ZN24cBlockingSslClientSocket10DisconnectEv+0x20)[0x42c714]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
./Cuberite(_ZN10cMojangAPI13SecureRequestERKSsS1_RSs+0x80)[0x2f5f2c]
[20:33:13] D: | Cuberite has encountered an error and needs to close
[20:33:13] Details | SIGABRT: Server self-terminated due to an internal fault
[20:33:13] Cuberite Jenkins gcc armhf Release (master) build id: #320
[20:33:13] from commit id: 6a22605fae80becb12318785389d07974a35cbbb built at: Fri 25 Dec 14:05:00 CET 2015
./Cuberite(_Z15PrintStackTracev+0x14)[0x1fc390]
./Cuberite(_Z14NonCtrlHandleri+0xd0)[0x1e9460]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76cd4b20]
/lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x40)[0x76cd38dc]
./start.sh: line 1: 6276 Aborted ./Cuberite
[20:33:18] --- Started Log ---
Reply
Thanks given by:
#5
We have 3 fresh auth related github issues. All of them are about crashes on login. (By me, @Jammet, and @gargaj).
Reply
Thanks given by:
#6
Something's gone seriously wrong with the code making a connection to Mojang for user profiles...
Reply
Thanks given by:
#7
I think I have a working fix, I need more people to verify if it indeed fixes the issue: https://github.com/cuberite/cuberite/pull/2831
Reply
Thanks given by: Seadragon91 , Jammet
#8
I'll update tonight and see what happens. Smile
Reply
Thanks given by:
#9
That seems to have done the job. However, just now, a new segfault presents itself when I tried changing the gamemode for a player.

Quote:[15:19:54] Player KaiSilvermane tried to execute forbidden command: "/gm"
gamemode
[15:20:06] Executing console command: "gamemode"
[15:20:06] Usage: gamemode <survival|creative|adventure|spectator> <player>
gamemode spectator KaiSilvermane
[15:20:20] Executing console command: "gamemode spectator KaiSilvermane"
[15:20:20] Gamemode of KaiSilvermane set to spectator by: console
gm creative kaisilvermane
[15:22:19] Executing console command: "gm creative kaisilvermane"
gamemode creative KaiSilvermane
players
[15:23:19] Deadlock detected, aborting the server
[15:23:19] D: | Cuberite has encountered an error and needs to close
[15:23:19] Details | SIGABRT: Server self-terminated due to an internal fault
[15:23:19] Cuberite Jenkins gcc armhf Release (master) build id: #333
[15:23:19] from commit id: 2b38b4e66ee0a0d36e234139b10c658e959a8cc5 built at: Wed 30 Dec 21:42:11 CET 2015
./Cuberite(_Z15PrintStackTracev+0x14)[0x1fc560]
./Cuberite(_Z14NonCtrlHandleri+0xd0)[0x1e9630]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0x76c7cb20]
/lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x40)[0x76c7b8dc]
./start.sh: line 1: 14735 Aborted ./Cuberite
Reply
Thanks given by:
#10
There's not much we can do about a deadlock unless we have a core dump etc. - we need to see what threads were actually blocking one another.
Reply
Thanks given by:




Users browsing this thread: 5 Guest(s)