Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

[SOLVED] TF2: tcmalloc.cc attempt to free invalid pointer

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
esmailelbob
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sat Jun 04, 2022 11:16 pm
Location: Egypt
Contact:
Contact esmailelbob
Website

[SOLVED] TF2: tcmalloc.cc attempt to free invalid pointer

  • Quote

Post by esmailelbob » Sun Jul 16, 2023 6:34 pm

Hello, After recent updates from gentoo I'm unable to run TF2. all other source games like CS:GO runs fine but not TF2. I looked up online and found that I can use VK_LOADER_DRIVERS_SELECT=radeon* %command% (https://github.com/ValveSoftware/Dota-2 ... 1565150938) as launch option but did not work and now I'm confused about what to do.

Full log:

Code: Select all

[2023-07-16 19:50:08] Background update loop checking for update. . .
GameAction [AppID 440, ActionID 2] : LaunchApp changed task to UpdatingAppInfo with ""
[2023-07-16 19:50:08] Checking for available updates...
[2023-07-16 19:50:08] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12?t=1212870164
[2023-07-16 19:50:08] Manifest download: send request
[2023-07-16 19:50:08] Manifest download: waiting for download to finish
GameAction [AppID 440, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 440, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 440, ActionID 2] : LaunchApp changed task to SynchronizingControllerConfig with ""
[2023-07-16 19:50:09] Manifest download: finished
[2023-07-16 19:50:09] Download skipped: /steam_client_ubuntu12?t=1212870164 version 1689034492, installed version 1689034492, existing pending version 0
[2023-07-16 19:50:09] Nothing to do
Loaded Config for Local Selection Path for App ID 440, Controller 0: /home/esmailelbob/.local/share/Steam/steamapps/workshop/content/241100/1172518660/863988467869565742_legacy.bin
Loaded Config for Local Selection Path for App ID 440, Controller 1: /home/esmailelbob/.local/share/Steam/steamapps/workshop/content/241100/1172518660/863988467869565742_legacy.bin
Loaded Config for Local Override Path for App ID 440, Controller 0: /home/esmailelbob/.local/share/Steam//controller_base/empty.vdf
Loaded Config for Local Override Path for App ID 440, Controller 1: /home/esmailelbob/.local/share/Steam//controller_base/empty.vdf
GameAction [AppID 440, ActionID 2] : LaunchApp changed task to ProcessingShaderCache with ""
GameAction [AppID 440, ActionID 2] : LaunchApp waiting for user response to ProcessingShaderCache ""
Fossilize INFO: Setting autogroup scheduling.
GameAction [AppID 440, ActionID 2] : LaunchApp continues with user response "skip"
GameAction [AppID 440, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 440, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 440, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 440, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0WINE_FULLSCREEN_FSR=1 /home/esmailelbob/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=440 -- /home/esmailelbob/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/esmailelbob/MY FILES/GAMES/STEAM/steamapps/common/Team Fortress 2/hl2.sh' -game tf -steam\0
Game process added : AppID 440 "WINE_FULLSCREEN_FSR=1 /home/esmailelbob/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=440 -- /home/esmailelbob/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/esmailelbob/MY FILES/GAMES/STEAM/steamapps/common/Team Fortress 2/hl2.sh' -game tf -steam", ProcID 13114, IP 0.0.0.0:0
chdir "/home/esmailelbob/MY FILES/GAMES/STEAM/steamapps/common/Team Fortress 2"
ERROR: ld.so: object '/home/esmailelbob/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/esmailelbob/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/esmailelbob/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/esmailelbob/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 13116 != 13115, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/esmailelbob/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/esmailelbob/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Loaded Config for Local Selection Path for App ID 440, Controller 0: /home/esmailelbob/.local/share/Steam/steamapps/workshop/content/241100/1172518660/863988467869565742_legacy.bin
Loaded Config for Local Selection Path for App ID 440, Controller 1: /home/esmailelbob/.local/share/Steam/steamapps/workshop/content/241100/1172518660/863988467869565742_legacy.bin
Loaded Config for Local Override Path for App ID 440, Controller 0: /home/esmailelbob/.local/share/Steam//controller_base/empty.vdf
Loaded Config for Local Override Path for App ID 440, Controller 1: /home/esmailelbob/.local/share/Steam//controller_base/empty.vdf
GameAction [AppID 440, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
src/tcmalloc.cc:278] Attempt to free invalid pointer 0xa74fad0 
/home/esmailelbob/MY FILES/GAMES/STEAM/steamapps/common/Team Fortress 2/hl2.sh: line 72: 13118 Aborted                 ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
GameAction [AppID 440, ActionID 2] : LaunchApp changed task to Completed with ""
Game process removed: AppID 440 "WINE_FULLSCREEN_FSR=1 /home/esmailelbob/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=440 -- /home/esmailelbob/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/esmailelbob/MY FILES/GAMES/STEAM/steamapps/common/Team Fortress 2/hl2.sh' -game tf -steam", ProcID 13114 
ThreadGetProcessExitCode: no such process 13118
ThreadGetProcessExitCode: no such process 13117
ThreadGetProcessExitCode: no such process 13115
Uploaded AppInterfaceStats to Steam
SOLVED
I downloaded this RPM https://www.reddit.com/r/linux_gaming/c ... d/jg8djmo/ and extracted libtcmalloc_minimal.so.4.5.9 and then went to where tf2 located and went into bin folder and renamed it to libtcmalloc_minimal.so.4 (thanks to: https://www.reddit.com/r/linux_gaming/c ... &context=3)
Linux is only free if your time has no value.
Top
RayOfLight
Tux's lil' helper
Tux's lil' helper
Posts: 109
Joined: Tue Aug 27, 2013 3:49 pm
Location: Catalunya

  • Quote

Post by RayOfLight » Mon Jul 17, 2023 12:12 pm

I solved it by renaming the file to .old

I have a bug where I can't crouch jump and fire a rocket without +attack1 getting stuck firing.

I replaced the file with my own compiled gperftools file, I did not need to download any rpm.

I still have the bug though.

Regards,
Top
esmailelbob
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sat Jun 04, 2022 11:16 pm
Location: Egypt
Contact:
Contact esmailelbob
Website

  • Quote

Post by esmailelbob » Mon Jul 17, 2023 6:02 pm

RayOfLight wrote:I solved it by renaming the file to .old

I have a bug where I can't crouch jump and fire a rocket without +attack1 getting stuck firing.

I replaced the file with my own compiled gperftools file, I did not need to download any rpm.

I still have the bug though.

Regards,
Hmm, weird. for me I downloaded it and swapped it but I went into compatibility and forced linux run time
Linux is only free if your time has no value.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic