bedrock-dev / BedrockOptimizer

Some bug fixes and minor performance optimizations for BDS
18 stars 4 forks source link

掉落物品过多导致崩服 #1

Closed Chlna6666 closed 2 years ago

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

[StackTrace] Function GameEventMovementTrackingSystem::_trackMovement at 0x7FF616CD19D0  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF616CD1A2D  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function ??$each@P6AXAEAV?$ViewedEntityContextT@VEntityContext@@V?$FlagComponent@UActorTickedFlag@@@@V?$FlagComponent@UActorFlag@@@@VGameEventMovementTrackingComponent@@@@@Z$$V@?$View@$00VEntityContext@@VEntityRegistry@@U?$type_list@$$V@entt@@V?$FlagComponent@UActorTickedFlag@@@@V?$FlagComponent@UActorFlag@@@@VGameEventMovementTrackingComponent@@@EntityRegistryBase@@QEAAXP6AXAEAV?$ViewedEntityContextT@VEntityContext@@V?$FlagComponent@UActorTickedFlag@@@@V?$FlagComponent@UActorFlag@@@@VGameEventMovementTrackingComponent@@@@@Z@Z at 0x7FF616CD1170  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF616CD1333  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function GameEventMovementTrackingSystem::tick at 0x7FF616CD20D0  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF616CD20EA  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function std::_Func_impl_no_alloc<<lambda_32d13dfb866b2b1150b222173a507f00>,void,ITickingSystem &,TickingSystemId>::_Do_call at 0x7FF616C0C7C0  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF616C0C7D9  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function `anonymous namespace'::DefaultEntitySystemsCollection::foreachTickingSystem at 0x7FF617037EF0  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF617038217  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function EntitySystems::tick at 0x7FF616C0D060  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF616C0D103  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function <lambda_b44508b61f37969cf480280e06e54415>::operator() at 0x7FF617A4E290  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF617A4E3E4  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function Level::tickEntitySystems at 0x7FF617A62E40  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF617A62E7A  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function Level::tick at 0x7FF617A61F30  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF617A62408  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function ServerLevel::tick at 0x7FF6172CF0A0  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF6172CF0E9  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function ???????? at 0x7FFAE8B929B1  [LiteLoader.Js.dll<2.5.1.2665>]
[StackTrace] Function ???????? at 0x7FFAE8567E05  [LiteLoader.Lua.dll<2.5.1.2665>]
[StackTrace] Function Schedule::nextTick at 0x7FFAEB1B13A0  [LiteLoader.dll<2.5.1.2665>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FFAEB1B15AA  [LiteLoader.dll<2.5.1.2665>]
[StackTrace] Function GameSession::tick at 0x7FF6173CB680  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF6173CB6B8  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function Minecraft::update at 0x7FF6170BC130  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF6170BCB90  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function ServerInstance::_update at 0x7FF6170D8240  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF6170D833D  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function <lambda_09545ac3fb7d475932bfc25c15253480>::operator() at 0x7FF6170D6820  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF6170D6C92  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function std::thread::_Invoke<std::tuple<<lambda_09545ac3fb7d475932bfc25c15253480> >,0> at 0x7FF6170D3B80  [bedrock_server_mod.exe<1.19.20.02>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FF6170D3B8E  [bedrock_server_mod.exe<1.19.20.02>]
[StackTrace] Function o_exp at 0x7FFB14A52630  [ucrtbase.dll<6.2.17763.1490>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FFB14A5268A  [ucrtbase.dll<6.2.17763.1490>]
[StackTrace] Function BaseThreadInitThunk at 0x7FFB16E97960  [KERNEL32.DLL<6.2.17763.3287>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FFB16E97974  [KERNEL32.DLL<6.2.17763.3287>]
[StackTrace] Function RtlUserThreadStart at 0x7FFB1795A2D0  [ntdll.dll<6.2.17763.3232>]
-- At File (null) : Line 0 
[StackTrace] Function ???????? at 0x7FFB1795A2F1  [ntdll.dll<6.2.17763.3232>]
Chlna6666 commented 2 years ago

BedrockOptimizer删掉就没事 复现方法: 掉落物

??$each@P6AXAEAV?$ViewedEntityContextT@VEntityContext@@V?$FlagComponent@UActorTickedFlag@@@@V?$FlagComponent@UActorFlag@@@@VGameEventMovementTrackingComponent@@@@@Z$$V@?$View@$00VEntityContext@@VEntityRegistry@@U?$type_list@$$V@entt@@V?$FlagComponent@UActorTickedFlag@@@@V?$FlagComponent@UActorFlag@@@@VGameEventMovementTrackingComponent@@@EntityRegistryBase@@QEAAXP6AXAEAV?$ViewedEntityContextT@VEntityContext@@V?$FlagComponent@UActorTickedFlag@@@@V?$FlagComponent@UActorFlag@@@@VGameEventMovementTrackingComponent@@@@@Z@Z at 0x7FF616CD1170 [bedrock_server_mod.exe<1.19.20.02>] -- At File (null) : Line 0

Chlna6666 commented 2 years ago

昨天用的到今天一共崩了六次 tr已经删除照样崩 ll2.5.1 1.19.20 winser19

hhhxiao commented 2 years ago

emmm,收到我去测试下

Chlna6666 commented 2 years ago

emmm,收到我去测试下

刚刚服务器又崩溃了,基本错误一样 但是只是三天才崩一次 也有可能是,所以主要问题可能是加载器 或者是bds

Chlna6666 commented 2 years ago

GameEventMovementTrackingSystem::_trackMovement 主要就是这个问题 我也没有加这一类的插件 还是服务端内部的问题 不过用了本插件之后就是两个小时崩溃一次

dreamguxiang commented 2 years ago

bds问题,不用反馈这了,空指针了 明天或者后天会发布一个针对BDS各种漏判空导致崩服的修复插件(修复了大概4-5种)

hhhxiao commented 2 years ago

bds问题,不用反馈这了,空指针了 明天或者后天会发布一个针对BDS各种漏判空导致崩服的修复插件(修复了大概4-5种)

你做的好啊