fortressforever-2013 / fortressforever

The game files for the SDK 2013 port of Fortress Forever.
10 stars 4 forks source link

libtcmalloc_minimal.so.4 crashes game on launch. #9

Open jyetcv opened 1 week ago

jyetcv commented 1 week ago

If I try to launch the game on Linux, I receive the error src/tcmalloc.cc:278] Attempt to free invalid pointer 0x9eee010 This happens in some other Source engine games, and for some games I can replace it with a 32 bit version of jemalloc and those games work, so I tried it with Fortress Forever, but when I select my class in Fortress Forever, the game closes. I'm not sure if it is related to jemalloc or something else. Since libtcmalloc is part of sdk2013, I would think it is a Valve issue, but I don't think they'll ever fix it.

jyetcv commented 1 week ago

I think the launch crash is unrelated to the in game crash. I replaced the broken libtcmalloc copy with a working one and it still closes the game when I select a class or spectator.

azzyr commented 1 week ago

The class selection crash is unrelated to this crash. We'll be able to ship a newer version of libtcmalloc soon, thank you

jyetcv commented 1 week ago

Awesome. Also I wanted to say I really appreciate everything all of you have done.

YoYo178 commented 1 week ago

Does the class selection crash occur on any map? Or is it a specific map? Because the map ff_sonic has the exact same issue where if you switch to spectator or select a class, the game crashes.

jyetcv commented 1 week ago

It happens on every map, from what I can tell, even the training. The game doesn't freeze up. It just immediately closes.

YoYo178 commented 1 week ago

Got it, will continue on this on a separate issue.