Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jack7D1 opened this issue Oct 18, 2023 · 1 comment
Open

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

Jack7D1 opened this issue Oct 18, 2023 · 1 comment

Comments

@Jack7D1
Copy link

Jack7D1 commented Oct 18, 2023

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.

@Jack7D1
Copy link
Author

Jack7D1 commented Oct 18, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant