Segmentation Fault upon loading map in Adrenaline Gamer.
Basically since I have no idea what is causing this here is as much info as I can give. Bot was a debug build compiled from d264ba0c9 Adrenaline Gamer was obtained from openag.pro. HL is latest steam version. I am running Ubuntu 18.04
I would like to note that this does not occur on vanilla HL. Full GDB backtrace
Edit: Just to be cautious do not connect to any VAC secured server on an instance of hl that has had gdb attached to it.
Edit 2: I just did some more testing, and it seems to be related to how the bot interacts with ag.so. I replaced ag.so with hl.so and the game did not segfault.
Please check the latest commit.
I replaced ag.so with hl.so
Ah... I forgot... parabot will try to load ag_i386.so instead of ag.so. It's my fault.
parabot will try to load ag_i386.so instead of ag.so
I renamed it when I realized this and it started segfaulting instead of crashing due to not finding ag_i386.so, hence why this issue exists.
Also, the latest commit did not fix this. It is still segfaulting at the same spot. gdb.txt