Open joekale opened 4 years ago
Can you give a bit more information:
I can’t remember exactly what I was doing when it cut out but it was only a couple minutes after joining the server. After I restarted the server and rejoined there were slime mobs frozen in the same area I had killed them before the server aborted. I did continue to play for a short time after killing it.
It only happens occasionally. Maybe 3 times since I started the server a couple weeks ago. All times were shortly after I joined the server as the only player.
I’m not sure what all logs can help but I can provide more if you let me know where to grab them from.
The first times were closer to my default spawn but I’ve moved locations and set home in a different location.
On Mar 7, 2020, at 3:40 PM, peterbell10 notifications@github.com wrote:
Can you give a bit more information:
Were you doing anything in-game when it aborted? Was the server running slow before it aborted or did it just suddenly die? Does it happen often or was it just a one off? Does it only happen in specific areas of your world? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I’m not sure what all logs can help but I can provide more if you let me know where to grab them from.
The logs should be a folder called "logs" in the server folder.
Here are the logs from today up to that crash. I had just updated the server this morning so my log is short iss4491_LOG_1583589549.txt
Yeah the log doesn't really help here. If you share the world folder it might help to reproduce the crash.
I have this happen with two different servers I run. Exactly as he describes. And life have nothing in them, and with VSC just in time debugging I can't figure it out either
It did just happen again to me. Shortly after a second player joined the server hit the same error and when we rejoined after restart we were put where we were when the player spawned. I can't attach the world folder as it is too large for github (~90MB)
I personally would not think the world files would have any help with that... i mean we are now talking four different servers/worlds that are reporting this "random" issue
There is a guide on the forum for reporting more details for a crash (or a deadlock): Linux: https://forum.cuberite.org/thread-631.html Windows: https://forum.cuberite.org/thread-400.html
One way to fix the deadlocks is "just" to purge direct, cross-thread access and delete the cWorld/cChunkMap locks. Unfortunately #3115 is stalled.
@Greaper88 I experienced the deadlock on the demo server you host, and saw your comment about debugging. Could you please post a stack trace of all threads at the time of the deadlock? I can't reproduce on my machine but this is clearly a serious issue :(
@tigerw The console dump (what was still available):
adIDHash = 4d25767f9dce13f5
[08:56:44] CS at 0x58a25f8, cLuaState plugin StaticMap-master: RecursionCount =
0, ThreadIDHash = 85c4d1c1238bc741
[08:56:44] CS at 0x58a27c8, cLuaState plugin TestLuaRocks: RecursionCount = 0, T
hreadIDHash = 4d25767f9dce13f5
[08:56:44] CS at 0x58a2998, cLuaState plugin TimedShutdown: RecursionCount = 0,
ThreadIDHash = da8aba9fb22cdba6
SymInit: Symbol-SearchPath: '.;C:\Cuberite;C:\Cuberite;C:\Windows;C:\Windows\sys
tem32;SRV*C:\websymbols*https://msdl.microsoft.com/download/symbols;', symOption
s: 530, UserName: 'Survival'
OS-Version: 6.1.7601 (Service Pack 1) 0x100-0x1
C:\Cuberite\Cuberite.exe:Cuberite.exe (000000013FAA0000), size: 6946816 (result:
0), SymType: '-exported-', PDB: 'C:\Cuberite\Cuberite.exe', fileVersion: 1.3.3.
7
C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (00000000777F0000), size: 1699840 (resul
t: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion:
6.1.7601.24545
C:\Windows\system32\kernel32.dll:kernel32.dll (00000000776D0000), size: 1175552
(result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\kernel32.dll', fil
eVersion: 6.1.7601.24545
C:\Windows\system32\KERNELBASE.dll:KERNELBASE.dll (000007FEFD390000), size: 4218
88 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNELBASE.dll'
, fileVersion: 6.1.7601.24545
C:\Windows\system32\PSAPI.DLL:PSAPI.DLL (0000000077990000), size: 28672 (result:
0), SymType: '-exported-', PDB: 'C:\Windows\system32\PSAPI.DLL', fileVersion: 6
.1.7600.16385
C:\Windows\system32\IPHLPAPI.DLL:IPHLPAPI.DLL (000007FEFAD70000), size: 159744 (
result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IPHLPAPI.DLL', file
Version: 6.1.7601.17514
C:\Windows\system32\msvcrt.dll:msvcrt.dll (000007FEFF3B0000), size: 651264 (resu
lt: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msvcrt.dll', fileVersio
n: 7.0.7601.17744
C:\Windows\system32\NSI.dll:NSI.dll (000007FEFD8A0000), size: 32768 (result: 0),
SymType: '-exported-', PDB: 'C:\Windows\system32\NSI.dll', fileVersion: 6.1.760
1.23889
C:\Windows\system32\WINNSI.DLL:WINNSI.DLL (000007FEFAD60000), size: 45056 (resul
t: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINNSI.DLL', fileVersion
: 6.1.7601.23889
C:\Windows\system32\RPCRT4.dll:RPCRT4.dll (000007FEFD700000), size: 1228800 (res
ult: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\RPCRT4.dll', fileVersi
on: 6.1.7601.24545
C:\Windows\system32\ADVAPI32.dll:ADVAPI32.dll (000007FEFEE20000), size: 897024 (
result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ADVAPI32.dll', file
Version: 6.1.7601.24545
C:\Windows\SYSTEM32\sechost.dll:sechost.dll (000007FEFF150000), size: 126976 (re
sult: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\sechost.dll', fileVer
sion: 6.1.7601.18869
C:\Windows\system32\WS2_32.dll:WS2_32.dll (000007FEFF2E0000), size: 315392 (resu
lt: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WS2_32.dll', fileVersio
n: 6.1.7601.23451
C:\Cuberite\lua51.dll:lua51.dll (000007FEF6900000), size: 503808 (result: 0), Sy
mType: '-exported-', PDB: 'C:\Cuberite\lua51.dll'
C:\Windows\system32\USER32.dll:USER32.dll (00000000775D0000), size: 1024000 (res
ult: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USER32.dll', fileVersi
on: 6.1.7601.24546
C:\Windows\system32\GDI32.dll:GDI32.dll (000007FEFD830000), size: 421888 (result
: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GDI32.dll', fileVersion:
6.1.7601.24540
C:\Windows\system32\LPK.dll:LPK.dll (000007FEFEE10000), size: 57344 (result: 0),
SymType: '-exported-', PDB: 'C:\Windows\system32\LPK.dll', fileVersion: 6.1.760
1.24537
C:\Windows\system32\USP10.dll:USP10.dll (000007FEFF210000), size: 831488 (result
: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USP10.dll', fileVersion:
1.626.7601.24535
C:\Windows\system32\VERSION.dll:VERSION.dll (000007FEFC350000), size: 49152 (res
ult: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\VERSION.dll', fileVers
ion: 6.1.7600.16385
C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL:api-ms-win-core-synch-l1-2-
0.DLL (000007FEFC3C0000), size: 12288 (result: 0), SymType: '-exported-', PDB: '
C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL', fileVersion: 10.0.14393.2
990
C:\Windows\system32\IMM32.DLL:IMM32.DLL (000007FEFDBF0000), size: 188416 (result
: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IMM32.DLL', fileVersion:
6.1.7600.16385
C:\Windows\system32\MSCTF.dll:MSCTF.dll (000007FEFF040000), size: 1093632 (resul
t: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSCTF.dll', fileVersion:
6.1.7601.24520
C:\Windows\system32\mswsock.dll:mswsock.dll (000007FEFCA80000), size: 348160 (re
sult: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\mswsock.dll', fileVer
sion: 6.1.7601.23451
C:\Windows\System32\wshtcpip.dll:wshtcpip.dll (000007FEFC290000), size: 28672 (r
esult: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\wshtcpip.dll', fileV
ersion: 6.1.7600.16385
C:\Windows\system32\CRYPTSP.dll:CRYPTSP.dll (000007FEFCAE0000), size: 98304 (res
ult: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPTSP.dll', fileVers
ion: 6.1.7601.24499
C:\Windows\system32\rsaenh.dll:rsaenh.dll (000007FEFC7E0000), size: 290816 (resu
lt: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rsaenh.dll', fileVersio
n: 6.1.7600.16385
C:\Windows\system32\CRYPTBASE.dll:CRYPTBASE.dll (000007FEFD1E0000), size: 61440
(result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPTBASE.dll', fi
leVersion: 6.1.7601.24545
C:\Windows\System32\wship6.dll:wship6.dll (000007FEFCA70000), size: 28672 (resul
t: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\wship6.dll', fileVersion
: 6.1.7600.16385
C:\Windows\system32\DNSAPI.dll:DNSAPI.dll (000007FEFC900000), size: 372736 (resu
lt: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DNSAPI.dll', fileVersio
n: 6.1.7601.24168
C:\Windows\system32\rasadhlp.dll:rasadhlp.dll (000007FEF7F80000), size: 32768 (r
esult: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rasadhlp.dll', fileV
ersion: 6.1.7600.16385
C:\Windows\System32\fwpuclnt.dll:fwpuclnt.dll (000007FEFAC20000), size: 339968 (
result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\fwpuclnt.dll', file
Version: 6.1.7601.24000
C:\Windows\system32\apphelp.dll:apphelp.dll (000007FEFD140000), size: 356352 (re
sult: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\apphelp.dll', fileVer
sion: 6.1.7601.19050
C:\Windows\system32\dbghelp.dll:dbghelp.dll (000007FEEB150000), size: 1200128 (r
esult: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dbghelp.dll', fileVe
rsion: 6.1.7601.17514
C:\Windows\system32\SspiCli.dll:SspiCli.dll (000007FEFD110000), size: 151552 (re
sult: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SspiCli.dll', fileVer
sion: 6.1.7601.24545
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 000000013FBB80CC)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FBB80CC)
000000013FBB80CC (Cuberite): (filename not available): (function-name not availa
ble)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 000000013FBC9843)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FBC9843)
000000013FBC9843 (Cuberite): (filename not available): (function-name not availa
ble)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 000000013FD223CD)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FD223CD)
000000013FD223CD (Cuberite): (filename not available): (function-name not availa
ble)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FF7A564)
000000013FF7A564 (Cuberite): (filename not available): luaopen_lsqlite3
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FF71750)
000000013FF71750 (Cuberite): (filename not available): luaopen_lsqlite3
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 000000013FDF1854)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FDF1854)
000000013FDF1854 (Cuberite): (filename not available): (function-name not availa
ble)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 000000013FDF3FC7)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FDF3FC7)
000000013FDF3FC7 (Cuberite): (filename not available): (function-name not availa
ble)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 000000013FDF172E)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FDF172E)
000000013FDF172E (Cuberite): (filename not available): (function-name not availa
ble)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 000000013FBC722D)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FBC722D)
000000013FBC722D (Cuberite): (filename not available): (function-name not availa
ble)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 000000013FBCA53F)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FBCA53F)
000000013FBCA53F (Cuberite): (filename not available): (function-name not availa
ble)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FF745F0)
000000013FF745F0 (Cuberite): (filename not available): luaopen_lsqlite3
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000776E556D)
00000000776E556D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007784372D)
000000007784372D (ntdll): (filename not available): RtlUserThreadStart
[08:56:44] Failure report:
:( | Cuberite has encountered an error and needs to close
| SIGABRT: Server self-terminated due to an internal fault
|
| Cuberite AppVeyor (id: 2325)
| from commit 8d10f1b26af6fc2e34a0c507285aca29cf542b64
And the log file:
[06:13:13] --- Started Log ---
[06:13:13] Cuberite AppVeyor (id: 2325)
[06:13:13] from commit 8d10f1b26af6fc2e34a0c507285aca29cf542b64 built at: 2021-04-08T11:52:43.0000000Z
[06:13:13] Creating new server instance...
[06:13:13] Reading server config...
[06:13:13] Starting server...
[06:13:13] cMojangAPI: Updating name-to-uuid cache for 2 names
Info [06:13:13] Compatible clients: 1.8.x-1.12.x
Warn [06:13:13] WebServer: The server will run in unsecured HTTP mode.
Info [06:13:13] 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
[06:13:13] Loaded 789 crafting recipes
[06:13:13] Loaded 1.12.2 380 recipe book
Warn [06:13:13] Cannot open file "Protocol/1.13/base.recipes.txt", no recipe book recipes will be available!
Warn [06:13:13] Cannot open file "Protocol/1.14.4/base.recipes.txt", no recipe book recipes will be available!
[06:13:13] Loaded 67 furnace recipes and 66 fuels
[06:13:13] Loaded 49 brewing recipes
[06:13:13] -- Loading Plugins --
[06:13:13] Initialised CoreAntiCheat v.1
[06:13:13] Initialised Core
[06:13:13] Initialized ChatLog v.3
[06:13:13] The server will shut down in 43200 seconds (12 hours), with a warning for 10 seconds.
[06:13:13] Initialised Essentials v.3
[06:13:13] Initialised keepInventory v.1
Info [06:13:13] - Static Map Loading -
[06:13:13] Detected Operating System: Windows
Warn [06:13:13] cPluginManager:AddHook(): bad parameters. Expected HOOK_TYPE and CallbackFunction, got table, number, nil. Hook not added.
Warn [06:13:13] Stack trace:
Warn [06:13:13] [C](-1): AddHook
Warn [06:13:13] Plugins\StaticMap-master/main.lua(69): (no name)
Warn [06:13:13] Stack trace end
Info [06:13:13] - Static Map Loaded -
[06:13:13] -- Loaded 7 Plugins --
[06:13:13] cMojangAPI: Updating uuid-to-profile cache for 2 uuids
Warn [06:13:14] World "world_the_end": Did not find an acceptable spawnpoint. Generated a random spawnpoint position at {0.00, 168.00, 0.00}
Warn [06:13:14] HTTP server error on port 8080: 10048 (Cannot bind IPv6 socket to port 8080: 10048 (Only one usage of each socket address (protocol/network address/port) is normally permitted.))
Info [06:13:14] WebAdmin is running on port(s)
[06:13:14] Startup complete, took 1221ms!
Info [07:10:54] User cheesedummy10 authenticated with UUID 91c40b1eb8954561a6aa735b05632cc9
Info [07:10:54] Player cheesedummy10 has joined the game
Warn [07:10:54] cChunkMap::AddEntity: Entity at 0xd397810 (cPlayer, ID 59) spawning in a non-existent chunk.
Info [07:11:01] Player cheesedummy10 has left the game
Info [07:11:03] User cheesedummy10 authenticated with UUID 91c40b1eb8954561a6aa735b05632cc9
Info [07:11:03] Player cheesedummy10 has joined the game
Info [07:11:06] Player cheesedummy10 has left the game
Info [07:11:08] User cheesedummy10 authenticated with UUID 91c40b1eb8954561a6aa735b05632cc9
Info [07:11:08] Player cheesedummy10 has joined the game
Info [07:11:10] Player cheesedummy10 has left the game
Info [07:11:12] User cheesedummy10 authenticated with UUID 91c40b1eb8954561a6aa735b05632cc9
Info [07:11:12] Player cheesedummy10 has joined the game
Info [07:11:15] Player cheesedummy10 has left the game
Info [07:11:17] User cheesedummy10 authenticated with UUID 91c40b1eb8954561a6aa735b05632cc9
Info [07:11:17] Player cheesedummy10 has joined the game
Err [07:11:40] Deadlock detected: world world has been stuck at age 741080870. Aborting the server.
[07:11:40] CS at 0x3d90770, World world chunkmap: RecursionCount = 1, ThreadIDHash = d58f01e3ad3ae96c
[07:11:40] CS at 0x44e2098, World world tasks: RecursionCount = 0, ThreadIDHash = d58f01e3ad3ae96c
[07:11:40] CS at 0x5100770, World world_nether chunkmap: RecursionCount = 0, ThreadIDHash = d5686a25a3d07e15
[07:11:40] CS at 0x5852098, World world_nether tasks: RecursionCount = 0, ThreadIDHash = d5686a25a3d07e15
[07:11:40] CS at 0x6a90770, World world_the_end chunkmap: RecursionCount = 0, ThreadIDHash = c10e28d78e6b320d
[07:11:40] CS at 0x71e2098, World world_the_end tasks: RecursionCount = 0, ThreadIDHash = c10e28d78e6b320d
[07:11:40] CS at 0x4885098, cLuaState plugin APIDump: RecursionCount = 0, ThreadIDHash = 4d25767f9dce13f5
[07:11:40] CS at 0x4884ec8, cLuaState plugin ChatLog: RecursionCount = 0, ThreadIDHash = c1eb57889fd51ba7
[07:11:40] CS at 0x4885608, cLuaState plugin Core: RecursionCount = 0, ThreadIDHash = d5686a25a3d07e15
[07:11:40] CS at 0x48857d8, cLuaState plugin CoreAntiCheat: RecursionCount = 2, ThreadIDHash = 761c192628f0dc9b
[07:11:40] CS at 0x48859a8, cLuaState plugin Debuggers: RecursionCount = 0, ThreadIDHash = 4d25767f9dce13f5
[07:11:40] CS at 0x4885b78, cLuaState plugin DumpInfo: RecursionCount = 0, ThreadIDHash = 4d25767f9dce13f5
[07:11:40] CS at 0x4885d48, cLuaState plugin Essentials-master: RecursionCount = 0, ThreadIDHash = d5686a25a3d07e15
[07:11:40] CS at 0x35f8498, cLuaState plugin HookNotify: RecursionCount = 0, ThreadIDHash = 4d25767f9dce13f5
[07:11:40] CS at 0x48e4c08, cLuaState plugin keepInventory-master: RecursionCount = 0, ThreadIDHash = d58f01e3ad3ae96c
[07:11:40] CS at 0x48e4dd8, cLuaState plugin NetworkTest: RecursionCount = 0, ThreadIDHash = 4d25767f9dce13f5
[07:11:40] CS at 0x48e4fa8, cLuaState plugin ProtectionAreas: RecursionCount = 0, ThreadIDHash = 4d25767f9dce13f5
[07:11:40] CS at 0x48e5178, cLuaState plugin StaticMap: RecursionCount = 0, ThreadIDHash = 4d25767f9dce13f5
[07:11:40] CS at 0x48e5348, cLuaState plugin StaticMap-master: RecursionCount = 0, ThreadIDHash = 761c192628f0dc9b
[07:11:40] CS at 0x48e5518, cLuaState plugin TestLuaRocks: RecursionCount = 0, ThreadIDHash = 4d25767f9dce13f5
[07:11:40] CS at 0x48e56e8, cLuaState plugin TimedShutdown: RecursionCount = 0, ThreadIDHash = c1eb57889fd51ba7
Err [07:11:40] Failure report:
:( | Cuberite has encountered an error and needs to close
| SIGABRT: Server self-terminated due to an internal fault
|
| Cuberite AppVeyor (id: 2325)
| from commit 8d10f1b26af6fc2e34a0c507285aca29cf542b64
I think the issue is the anti-cheat, let me disable that.
Hm, it seems better.
Client version: 1.12.2 Server OS: Linux (Ubuntu 18.04) Cuberite Commit id: f5af0e2e04317f75d2eef2427b1abe73c0f13d29
Server ends up in Deadlock situation then self aborts
Expected behavior
Don't end up deadlocked
Actual behavior
Deadlocked some short time following player entering server.
Steps to reproduce the behavior
Connect to Server.
Server log