mojira.dev

Michal Brzek

Assigned

No issues.

Reported

MCPE-154808 Server randomly crashes Duplicate

Comments

I didn`t have time and I wasn't checking but today I can confirm that at 1.18.32.02 everything is working properly. Thank You

Hello,

I managed to run strace with my bedrock server and it seems that its stuck with nanosleep with 100% CPU usage eating more RAM then it crashes

 

mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f3e333fd000
mprotect(0x7f3e333fe000, 8388608, PROT_READ|PROT_WRITE) = 0
clone(child_stack=0x7f3e33bfcd70, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE                                                                                                                                                                                            _PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f3e33bfd9d0, tls=0x7f3e33bfd700, child_tidptr=0x7f3e33bfd9d0) = 23939
write(1, "[2022-04-26 10:50:02:539 INFO] S"..., 47) = 47
nanosleep({tv_sec=0, tv_nsec=49986596}, 0x7ffc36d0d470) = 0
nanosleep({tv_sec=0, tv_nsec=49979576}, 0x7ffc36d0d470) = 0
nanosleep({tv_sec=0, tv_nsec=49978578}, 0x7ffc36d0d470) = 0
nanosleep({tv_sec=0, tv_nsec=49976230}, 0x7ffc36d0d470) = 0
nanosleep({tv_sec=0, tv_nsec=49975400}, 0x7ffc36d0d470) = 0
[cut 1458 lines]
nanosleep({tv_sec=0, tv_nsec=49979189}, 0x7ffc36d0d470) = 0
nanosleep({tv_sec=0, tv_nsec=49983575}, 0x7ffc36d0d470) = 0
nanosleep({tv_sec=0, tv_nsec=49979432}, 0x7ffc36d0d470) = 0
nanosleep({tv_sec=0, tv_nsec=49954216},  <unfinished ...>) = ?
+++ exited with 1 +++

please close my issue as i found out its a duplicate for https://bugs.mojang.com/browse/BDS-16839

Same at my environment, my system was running fine before 1.18.30.04 update. Now it randomly hangs after i try to connect / reconnect to server.

screen -L -Logfile "_logs/$(date +%Y%m%d%H%M%S).log" -dmS $server_name /bin/bash -c "./bedrock_server"

[2022-04-26 08:29:18:931 INFO] Version 1.18.30.04
[2022-04-26 08:29:18:931 INFO] Session ID f978bad5-4cfc-4551-af1d-177169aba431
[2022-04-26 08:29:18:932 INFO] Level Name: #############
[2022-04-26 08:29:18:938 INFO] Game mode: 0 Survival
[2022-04-26 08:29:18:938 INFO] Difficulty: 1 EASY
[2022-04-26 08:29:19:806 INFO] Content logging enabled. Writing log to: ContentLog_{_}Tuesday{_}{_}2022_April_26{_}_08_29_19
[2022-04-26 08:29:19:806 INFO] Experiment(s) active: wld_, VE_{_}, ddi{_}, biom, ucft, gtst, mola, scpt
[2022-04-26 08:29:19:806 INFO] opening worlds/#############/db
[2022-04-26 08:29:23:493 INFO] Server started.
[2022-04-26 08:29:23:902 INFO] IPv4 supported, port: 40306
[2022-04-26 08:29:23:902 INFO] IPv6 supported, port: 49943
[2022-04-26 08:30:03:178 INFO] Player connected: #####, xuid: ################
[2022-04-26 08:30:15:991 INFO] Package: com.mojang.minecraft.dedicatedserver
Version: 1.18.30.04
OS: Linux
Server start: 2022-04-26 08:29:18 CEST
Dmp timestamp: 2022-04-26 08:30:15 CEST
Upload Date: 2022-04-26 08:30:15 CEST
Session ID: f978bad5-4cfc-4551-af1d-177169aba431
Commit hash: 49c247f9e920c88ad8f8aa0d338313c739e3d554
Build id: 9208238
CrashReporter Key: 8c4937c1-64cb-3532-a8dc-1deb28f67293

Crash
[2022-04-26 08:30:15:991 INFO]  at clone (UnknownFile:?)
Failed to open curl lib from binary, use libcurl.so instead

ContentLog_Tuesday2022_April_26{}_08_29_19 is empty

 

I tried to look at CPU / MEM usage and its same here

nothing peculiar in strace.log too