Cuberite Forum
Error and crash MCServer r1329 - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Error and crash MCServer r1329 (/thread-833.html)



Error and crash MCServer r1329 - tonibm19 - 03-31-2013

I'm using this build: http://ci.berboe.co.uk:8080/job/MCServer%20Linux-x86-64/272/
I'm using ubuntu server 10.04 64 bit.
After some minutes of playing, server crashes.
When I break a block, nothing ocurs, i don't get the block. Then, In the console I stop the server with "stop" and it takes me this error:
[19:37:48] Executing console command: "stop"
[19:37:49] Shutting down server...

and it don't stop, it don't save the world, It don't do nothing

Console:
[19:31:57] Loading MonsterConfig...
[19:31:57] Starting Authenticator...
[19:31:57] Starting worlds...
[19:31:57] Preparing spawn area in world "world"...
[19:31:57] 384 chunks to load, 0 chunks to generate
[19:31:59] 43 chunks to load, 0 chunks to generate
[19:31:59] Lighting spawn area in world "world"...
[19:31:59] 2 chunks remaining to light
[19:31:59] Starting server...
[19:31:59] Starting InputThread...
[19:31:59] ServerTickThread
[19:31:59] Initialization done, server running now.
[19:32:04] Client "88.15.5.7" connected!
[19:32:06] Client "88.15.5.7" connected!
[19:32:06] Player tonibm has permissions:
[19:32:06] core.build
[19:32:06] core.help
[19:32:06] core.playerlist
[19:32:06] core.pluginlist
[19:32:06] core.spawn
[19:32:12] tonibm19 returned to spawn.
[19:32:14] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:32:14] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:32:24] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:32:24] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:33:15] Path: /
[19:33:15] Path: /favicon.ico
[19:33:17] Path: /webadmin/
[19:33:32] Path: /webadmin/
[19:33:37] Path: /webadmin/Core/Manage_Plugins
[19:33:47] Path: /webadmin/Core/Playerlist
[19:33:51] Path: /webadmin/Core/Permissions
[19:34:00] Path: /webadmin/Core/Permissions
[19:34:14] Path: /webadmin/Core/Permissions
[19:34:23] Path: /webadmin/Core/Permissions
[19:35:01] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:04] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:05] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:05] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:15] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:24] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:24] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:33] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:33] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:45] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:45] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:48] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:35:52] ERROR: Entity deallocated without being destroyed 0 or unlinked 0
[19:37:00] Saving all chunks...
[19:37:13] Saved all chunks in world world
stop
[19:37:48] Executing console command: "stop"
[19:37:49] Shutting down server...


RE: Error and crash MCServer r1329 - NiLSPACE - 03-31-2013

yes this is a known bug. it also occurs in Windows and propably also in Mac. it might be this bug: http://www.mc-server.org/support/index.php?do=details&task_id=326&project=2&order=id&sort=desc


RE: Error and crash MCServer r1329 - tonibm19 - 03-31-2013

(03-31-2013, 05:54 AM)STR_Warrior Wrote: yes this is a known bug. it also occurs in Windows and propably also in Mac. it might be this bug: http://www.mc-server.org/support/index.php?do=details&task_id=326&project=2&order=id&sort=desc
Do you know how to fix it?
It happens every time that I run the server, It's imposible to play with this.


RE: Error and crash MCServer r1329 - NiLSPACE - 03-31-2013

no i have no idea how to fix it. but does it happen all the time? for me its only after like 30 minutes


RE: Error and crash MCServer r1329 - tonibm19 - 03-31-2013

(03-31-2013, 06:03 AM)STR_Warrior Wrote: no i have no idea how to fix it. but does it happen all the time? for me its only after like 30 minutes
For me after 5 minutes


RE: Error and crash MCServer r1329 - xoft - 03-31-2013

I have already fixed an error that displayed the same behavior on Linux. It is possible I missed a place where the same code was reused. As I've written to the bug tracker, please provide a stacktrace and I'll see if I can fix it.


RE: Error and crash MCServer r1329 - xoft - 04-02-2013

Found it, thanks to the VPS access provided by tonibm19. There is a deadlock between two threads, I'm analysing the information now.

Guess what, it is the same deadlock that has been already reported, between the loader thread and the tick thread. I guess it's more serious than I first thoughtTongue