Hey there, after testing my stuff on the pre patch, I've been playing since it hit but I wasn't doing any crazy traceline checks. Once I started to use them a lot more, I noticed that occasionally I would hit a crash here:
Code:
.text:0000000142A8B675 mov [rsp+48h+arg_10], r15
.text:0000000142A8B67A mov r15, 7FFFFFFFFFFFFFFFh
.text:0000000142A8B684 mov r10, [rbx+10h]
rbx in that case is 0 there which causes the crash. This function can be found following the certain chain:
Traceline (1415CEC80) -> 141622F90 -> 141621E50 -> 142A8B650 (crashing here)
It appears to be a part of a check with M2. I can call traceline many times without issues and have it work as expected, but hitting this random crash with it occasionally.
Has anyone else seen this? I'm wondering if this is something wrong with a change blizzard did in their code. I feel that they did changes with this area as the strings in that function have changed from previous patches.
One way I test without fail on the crash is just iterate the whole object manager, and call traceline between every unit and my player. It'll crash on one of them. When I look at the game dump, the args are all correct, the distances aren't far from each other etc.
Edit: Apparently after testing, the crash happens when I use a test including the 0x100000 check. Again, this isn't a 100% crash, but if I just loop every single unit with that included I will crash