LiteLDev / LeviLamina

A lightweight, modular and versatile mod loader for Minecraft Bedrock Edition, formerly known as LiteLoaderBDS
https://levimc.org/software/levilamina
GNU Lesser General Public License v3.0
1.13k stars 115 forks source link

server crashes when stopping #428

Closed paladyumm closed 2 years ago

paladyumm commented 2 years ago

Exceptions module 异常模块

Core 核心

Operating System 操作系统

Windows Server 2016

LiteLoader version LiteLoader版本

2.2.5

BDS version BDS版本

1.18.33.02

What happened? 发生了什么问题?

It crashes when i use "stop" command on the console. Its not always happens.

Steps to reproduce? 复现此问题的步骤

1.The server will be up for a while

  1. Use stop command to stop server.
  2. And it crashes.

Relevant log output 有关的日志/输出

[Crashed!]
-- Unhandled Exception in -> bedrock_server_mod.exe
-- Exception Code: 0xC0000005
-- C++ STL Exception detected!

[StackTrace] Function `anonymous namespace'::getCodeBuilderMessenger at 0x7FF708953A50  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708953AE5  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function MinecraftEventing::fireEventPlayerTransform at 0x7FF708933CD0  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708933CE7  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function ServerPlayer::checkMovementStats at 0x7FF709010AA0  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF709010AF7  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function Player::_travel at 0x7FF709020B20  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF709020D51  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function Player::travel at 0x7FF709033BD0  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF709033C6E  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function Mob::_updateMobTravel at 0x7FF70905C8C0  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF70905CC6F  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function `anonymous namespace'::_handlePlayerAuthInputPacket at 0x7FF708A84960  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708A85045  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function `anonymous namespace'::_tickPlayerMovement at 0x7FF708A85230  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708A852F3  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function ??$iterate@P6AXAEAV?$ViewedEntityContextT@VStrictEntityContext@@$$CBV?$FlagComponent@UActorMovementTickNeededFlag@@@@$$CBV?$FlagComponent@UPlayerComponentFlag@@@@$$CBUServerPlayerCurrentMovementComponent@@VActorOwnerComponent@@@@@Z$$V@?$ViewT@VStrictEntityContext@@VEntityRegistryBase@@$$CBV?$FlagComponent@UActorMovementTickNeededFlag@@@@$$CBV?$FlagComponent@UPlayerComponentFlag@@@@$$CBUServerPlayerCurrentMovementComponent@@VActorOwnerComponent@@@@AEAAXP6AXAEAV?$ViewedEntityContextT@VStrictEntityContext@@$$CBV?$FlagComponent@UActorMovementTickNeededFlag@@@@$$CBV?$FlagComponent@UPlayerComponentFlag@@@@$$CBUServerPlayerCurrentMovementComponent@@VActorOwnerComponent@@@@@Z@Z at 0x7FF708A83920  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708A83A94  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function StrictTickingSystemFunctionAdapter<&`anonymous namespace'::_tickServerPlayerMovementSystem>::tick at 0x7FF708A85410  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708A85447  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function ?tick@?$IStrictTickingSystem@V?$StrictExecutionContext@U?$Filter@$$V@@U?$Read@$$V@@U?$Write@VLevelComponent@@USoundEventRequestQueueComponent@@@@U?$AddRemove@$$V@@U?$GlobalRead@$$V@@U?$GlobalWrite@$$V@@U?$EntityFactoryT@$$V@@@@@@UEAAXAEAVEntityRegistry@@@Z at 0x7FF7086A4B80  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF7086A4BA8  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function `anonymous namespace'::DefaultEntitySystemsCollection::foreachTickingSystem at 0x7FF708B59970  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708B59C34  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function EntitySystems::tickMovementCatchup at 0x7FF7089CE4A0  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF7089CE51B  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function Minecraft::_tryCatchupMovementTicks at 0x7FF708F17DF0  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708F18160  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function Minecraft::update at 0x7FF708F193A0  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708F19FC7  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function ServerInstance::_update at 0x7FF708F1F510  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708F1F5F9  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function <lambda_6bba4b5f970ab4858c43a404f193fd38>::operator() at 0x7FF708F1DD60  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708F1E132  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function std::thread::_Invoke<std::tuple<<lambda_6bba4b5f970ab4858c43a404f193fd38> >,0> at 0x7FF708F1B040  [bedrock_server_mod.exe<1.18.33.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF708F1B04E  [bedrock_server_mod.exe<1.18.33.02>]
[StackTrace] Function o__realloc_base at 0x7FFAA32DFB20  [ucrtbase.dll<6.2.14393.3659>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FFAA32DFB80  [ucrtbase.dll<6.2.14393.3659>]
[StackTrace] Function BaseThreadInitThunk at 0x7FFAA65684C0  [KERNEL32.DLL<6.2.14393.4651>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FFAA65684D4  [KERNEL32.DLL<6.2.14393.4651>]
[StackTrace] Function RtlUserThreadStart at 0x7FFAA6E41770  [ntdll.dll<6.2.14393.5006>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FFAA6E41791  [ntdll.dll<6.2.14393.5006>]

Plugin list 插件列表

image StackTrace_20220601_13-01-49.log CrashDump_20220601_13-01-49.zip

dreamguxiang commented 2 years ago

BDS BUG