LandSandBoat / server

:sailboat: LandSandBoat - a server emulator for Final Fantasy XI
https://landsandboat.github.io/server/
GNU General Public License v3.0
289 stars 573 forks source link

Maybe it's a crash caused by Trusts! #1244

Open Freetate opened 2 years ago

Freetate commented 2 years ago

Additional Information (Steps to reproduce/Expected behavior) :

I don't know how I got the player to trigger this bug, causing the server game to crash directly

Below is the log of this crash:

[02/04/22 18:20:26:020][map][info][info] parse: 00C | 0003 0002 06 from user: Flygirl (parse:632)
[02/04/22 18:20:26:021][map][info][info] parse: 061 | 0003 0002 04 from user: Flygirl (parse:632)
[02/04/22 18:20:26:025][map][info][info] parse: 118 | 0003 0002 04 from user: Flygirl (parse:632)
[02/04/22 18:20:26:025][map][info][info] parse: 11B | 0003 0002 04 from user: Flygirl (parse:632)
[02/04/22 18:20:26:026][map][info][info] parse: 053 | 0003 0002 44 from user: Flygirl (parse:632)
[02/04/22 18:20:26:026][map][info][info] parse: 01A | 0003 0002 0E from user: Flygirl (parse:632)
[02/04/22 18:20:26:027][map][info][action] CLIENT Flygirl PERFORMING ACTION 14 (SmallPacket0x01A:1047)
[02/04/22 18:20:26:027][map][info][info] parse: 0E0 | 0003 0002 4C from user: Flygirl (parse:632)
[02/04/22 18:20:26:028][map][info][info] parse: 00F | 0003 0002 12 from user: Flygirl (parse:632)
[02/04/22 18:20:26:029][map][info][info] parse: 0DB | 0003 0002 14 from user: Flygirl (parse:632)
[02/04/22 18:20:26:029][map][info][info] parse: 112 | 0003 0002 04 from user: Flygirl (parse:632)
[02/04/22 18:20:26:029][map][info][info] parse: 05A | 0003 0002 02 from user: Flygirl (parse:632)
[02/04/22 18:20:28:339][map][info][info] parse: 05B | 0032 0031 0A from user: Miss (parse:632)
[02/04/22 18:20:29:460][map][info][info] parse: 03A | 02D7 02D6 04 from user: Xoomt (parse:632)
[02/04/22 18:20:31:337][map][info][info] parse: 05E | 0022 0021 0C from user: Xoodd (parse:632)
[02/04/22 18:20:31:337][map][info][info] Zoning from zone 160 to zone 159: Xoodd (SmallPacket0x05E:3462)
[02/04/22 18:20:31:759][map][info][info] parse: 00D | 0023 0022 04 from user: Xoodd (parse:632)
[02/04/22 18:20:31:761][map][debug][debug] CZone:: Den_of_Rancor DecreaseZoneCounter <0> Xoodd (CZoneEntities::DecreaseZoneCounter:432)
[02/04/22 18:20:32:217][map][debug][debug] Message: Received message 9 from message server (message::parse:74)
[02/04/22 18:20:33:610][map][info][info] parse: 016 | 003F 003E 04 from user: Miss (parse:632)
[02/04/22 18:20:33:875][topaz_game_64.exe][critical][fatalerror] Exception STATUS_ACCESS_VIOLATION (0XC0000005) occured!
[02/04/22 18:20:35:002][topaz_game_64.exe][critical][stacktrace]    at CCharEntity::ForPartyWithTrusts<<lambda_ecfb9f562abc64743ea66a2b93958994> > in C:\server\src\map\entities\charentity.h: line: 260: address: 0x7FF637312920
[02/04/22 18:20:35:012][topaz_game_64.exe][critical][stacktrace]    at battleutils::HandleEnspell in C:\server\src\map\utils\battleutils.cpp: line: 1113: address: 0x7FF6372FD9C0
[02/04/22 18:20:35:034][topaz_game_64.exe][critical][stacktrace]    at CBattleEntity::OnAttack in C:\server\src\map\entities\battleentity.cpp: line: 1827: address: 0x7FF636F5C0E0
[02/04/22 18:20:35:048][topaz_game_64.exe][critical][stacktrace]    at CCharEntity::OnAttack in C:\server\src\map\entities\charentity.cpp: line: 758: address: 0x7FF636F6B470
[02/04/22 18:20:35:061][topaz_game_64.exe][critical][stacktrace]    at CAttackState::Update in C:\server\src\map\ai\states\attack_state.cpp: line: 66: address: 0x7FF637375AB0
[02/04/22 18:20:35:071][topaz_game_64.exe][critical][stacktrace]    at CState::DoUpdate in C:\server\src\map\ai\states\state.cpp: line: 89: address: 0x7FF637375850
[02/04/22 18:20:35:086][topaz_game_64.exe][critical][stacktrace]    at CAIContainer::Tick in C:\server\src\map\ai\ai_container.cpp: line: 382: address: 0x7FF636F42E30
[02/04/22 18:20:35:104][topaz_game_64.exe][critical][stacktrace]    at CZoneEntities::ZoneServer in C:\server\src\map\zone_entities.cpp: line: 1198: address: 0x7FF636F115D0
[02/04/22 18:20:35:112][topaz_game_64.exe][critical][stacktrace]    at CZone::ZoneServer in C:\server\src\map\zone.cpp: line: 818: address: 0x7FF636F1BF60
[02/04/22 18:20:35:115][topaz_game_64.exe][critical][stacktrace]    at zone_server in C:\server\src\map\zone.cpp: line: 85: address: 0x7FF636F19720
[02/04/22 18:20:35:131][topaz_game_64.exe][critical][stacktrace]    at CTaskMgr::DoTimer in C:\server\src\common\taskmgr.cpp: line: 91: address: 0x7FF636F24DB0
[02/04/22 18:20:35:140][topaz_game_64.exe][critical][stacktrace]    at main in C:\server\src\common\kernel.cpp: line: 494: address: 0x7FF636F314A0
[02/04/22 18:20:35:148][topaz_game_64.exe][critical][stacktrace]    at invoke_main in d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl: line: 79: address: 0x7FF6373885B0
[02/04/22 18:20:35:148][topaz_game_64.exe][critical][stacktrace]    at __scrt_common_main_seh in d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl: line: 288: address: 0x7FF637388410
[02/04/22 18:20:35:148][topaz_game_64.exe][critical][stacktrace]    at __scrt_common_main in d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl: line: 331: address: 0x7FF6373883F0
[02/04/22 18:20:35:152][topaz_game_64.exe][critical][stacktrace]    at mainCRTStartup in d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp: line: 17: address: 0x7FF637388650
[02/04/22 18:20:35:152][topaz_game_64.exe][critical][stacktrace]    at BaseThreadInitThunk, address 0x7FFF656B7960.
[02/04/22 18:20:35:153][topaz_game_64.exe][critical][stacktrace] in C:\Windows\System32\KERNEL32.DLL
[02/04/22 18:20:35:153][topaz_game_64.exe][critical][stacktrace]    at RtlUserThreadStart, address 0x7FFF668CA2D0.
[02/04/22 18:20:35:153][topaz_game_64.exe][critical][stacktrace] in C:\Windows\SYSTEM32\ntdll.dll

It may be triggered 1-2 times a day, I try to find the reason, but can't find it

I'm sure I haven't changed any files about it, pretty sure

Freetate commented 2 years ago

I've updated to my server and it's currently in beta

Freetate commented 2 years ago

Today, this bug has been triggered again, and the previous modification seems to have no effect

WinterSolstice8 commented 2 years ago

Does this still happen?