iw4x / iw4x-client

GNU General Public License v3.0
113 stars 35 forks source link

C++ Exception in menu code #100

Open diamante0018 opened 6 months ago

diamante0018 commented 6 months ago

What are you trying to do? Unknown, random user reported this issue

What problem are you having? C++ Exception in the function iw4x!Components::Menus::IsMenuVisible+0x63 Minidump: https://discord.com/channels/1110531063161299074/1145458108190163014/1216765600928501913

What have you tried so far? None

What version of IW4x are you using? r4500

Anything else we should know? No

Rackover commented 2 months ago

Some menus in the menu list end up having a NULLPTR name, maybe because they're getting freed twice or used after free. I dont like this at all :( The bug can be reproduced, sometimes, by map restarting a few times. but not always. I'm not sure what triggers it deeply and dunno how to debug it except by printing every single menu alloc & free until the end of times