ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK

Home Page:https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not start, 64 bit Ubuntu, libtcmalloc_minimal.so.4 issues

Jack7D1 opened this issue · comments

Hello, as of recent I have been able to run any sourcemod due to an error with Source SDK 2013.

The error is:

src/tcmalloc.cc:278] Attempt to free invalid pointer 0xa03dad0 $HOME/.local/share/Steam/steamapps/common/Source SDK Base 2013 Multiplayer/hl2.sh: line 72: 28161 Aborted (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

My first reaction was to verify the files, reinstall the SDK, restart steam etc. However there was no effect.

I have tried a few methods to fix this error, I tried replacing bin/libtcmalloc_minimal.s0.4 with the 64bit version from my package manager and installing it there, however I then get:

$HOME/.local/share/Steam/steamapps/common/Source SDK Base 2013 Multiplayer/hl2_linux: error while loading shared libraries: libtcmalloc_minimal.so.4: wrong ELF class: ELFCLASS64
Which makes sense, as the original is a 32 bit version.

So at that point I look up the 32 bit version, install it, and copy the 32 bit version of libtcmalloc_minimal into bin. But I am back to the same original error.

I can't find/think of anything else unfortunately, does anyone have any ideas?
Please let me know if you'd like any more info.

Found a temporary fix!
For Posterity:
You can download this SPECIFIC libtcmalloc_minimal.so.4 package, which seems to be a previous version that still works.
https://download.opensuse.org/repositories/home:/favogt:/symbolictw/standard/i586/libtcmalloc_minimal4-2.9.1-3.1.i586.rpm
Or attached:
libtcmalloc_minimal4-2.9.1-3.1.i586.rpm.txt (remove .txt)