Cuberite Forum
Random crashs: Deadlock detected - 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: Random crashs: Deadlock detected (/thread-1815.html)

Pages: 1 2


Random crashs: Deadlock detected - Floh - 03-02-2015

Hello,
I have some problems with MCServer on my mobile with an armv7 processor.
I'm running a real Debian system on my mobile (with the app Linux Deploy, 0.8 GB RAM)
When someone is on my server, sometimes MC Server crashs.
It happens while generating chunks (Chunkworx) and in the game modes survival and adventure. I builded Mc-Server from source myself, at this moment it's the source version from 1st March 3 pm.
       
.txt   mcserver crash_1.3.15.txt (Size: 26.08 KB / Downloads: 280)
Edit: link removed because some idiots joined my server and overloaded it.


RE: Random crashs: Deadlock detected - xoft - 03-02-2015

The log says that the deadlock has occurred after two minutes of "doing nothing", this looks suspicious. If only there was a way to debug the server directly on the device; I don't suppose GDB works there, does it?


RE: Random crashs: Deadlock detected - Seadragon91 - 03-02-2015

@xoft did you already looked at the error
Code:
argument #1 is 'cArrowEntity'; 'const cEntity' expected.

I tested this code in my test plugin
Code:
function OnSpawningEntity(World, Entity)
    if (not Entity:IsMob()) then -- Spawns the error above
        return false
    end
end

Thanks,
Seadragon91


RE: Random crashs: Deadlock detected - xoft - 03-02-2015

Although it is annoying, I don't think that's related.


RE: Random crashs: Deadlock detected - DiamondToaster - 03-02-2015

Looks like something to do with the LimitWorld plugin.


RE: Random crashs: Deadlock detected - Seadragon91 - 03-02-2015

(03-02-2015, 05:14 AM)DiamondToaster Wrote: Looks like something to do with the LimitWorld plugin.

I tested it and it looks like the bug is in mc server.


RE: Random crashs: Deadlock detected - DiamondToaster - 03-02-2015

Ah. Possibly.


RE: Random crashs: Deadlock detected - Floh - 03-02-2015

Well, I found out some other informations: Mc Server only crashs with player diggermat. I remembered he is playing minecraft on his Sony PlayStation. The other player (erik) plays Minecraft on PC, with him the server didn't crashed until yet (I changed some generator settings and deleted/regenerated all chunks)


RE: Random crashs: Deadlock detected - DiamondToaster - 03-02-2015

Wait, what? Playstation? That's possible? :O

They might be slightly different protocals or something that causes the server to crash.


RE: Random crashs: Deadlock detected - Floh - 03-03-2015

(03-02-2015, 07:27 AM)DiamondToaster Wrote: Wait, what? Playstation? That's possible? :O

They might be slightly different protocals or something that causes the server to crash.
*Update: He plays Minecraft also on his PC Wink
It's not possible to connect to a multiplayer server on PS3-Edition