Server crashing (dump)

Could someone give me some insight into why this server crash keeps happening? The crash dump is attached. It happened on build 4269, 4275 and 4276. Thanks.

https://drive.google.com/file/d/1TwhiH318MG0R_bnIay1vjp9g-vc4Lq9w/view?usp=sharing

have you tried using the latest recommended 4162?

Assuming the dump is accurate, it captures quite well what I have been trying to repro (to ensure my fix is valid).

For reference:

00007FFFD056E2D4 48 8B 06    mov rax,qword ptr [rsi]
00007FFFD056E2D7 48 8B CE    mov rcx,rsi
00007FFFD056E2DA FF 50 08    call qword ptr [rax+8] // Crash point

Registers:

RCX/RSI=0x000001FCDF85C180
    RAX=0x000001FCAA4D6230 // Should be 0x00007fffcff... for the fx::AnyHolder __vfptr.

Memory:

0x000001FCDF85C180  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Within m_userData:

first   "playerEntity"  const std::string
second  shared_ptr {m_data=0x00042e1c } [0x00000001 strong ref] [{_Storage={_Value={m_data=0x00042e1c } } }]    std::shared_ptr<fx::AnyBase>
    [ptr]   0x000001fcdf85c630 {m_data=0x00042e1c } fx::AnyBase * {citizen-server-state-fivesv.dll!fx::AnyHolder<unsigned int>}

Other dumps I have been looking at were more weird because RCX/RSI were pointing to a valid fx::AnyBase*, however, RAX was another a weird address. … I should also note how many fx::AnyBase shared_ptr’s will be created and destroyed by client->SetData("playerEntity", ...).

Here’s 2 more set of dumps from crashes last night: Dumps – Google Drive

I tried looking at them but I couldn’t find the same cause between the two at a glance. Maybe you’ll gleam more from them.

Same issue. :frowning:

https://drive.google.com/drive/folders/1pinNWOBxzcmLu-WmqUqbhjmS1jUh0U8L
Another one on 4278, called it 7_30-15_45.rar

Yoo Been trying to join your server but it says your discord code is invalid or expired