Team Fortress 2 crashes on startup
After updating mesa to the latest version (commit a7877289), several older source games fail to launch in native mode (Steam runtime) with this error:
src/tcmalloc.cc:278] Attempt to free invalid pointer 0x9183ad0
./hl2.sh: line 72: 7117 Aborted ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
This error also occurs in Half-Life 2 Deathmatch and source mods (like Entropy: Zero 2), yet it doesn't occur in HL2 (all episodes), L4D2 and CS: GO.
- CPU AMD Ryzen 5 2600X
- GPU AMD RX 6700 XT
- Mesa 23.0.x (built from commit a7877289)
- Linux 6.2.8