Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] TF2: tcmalloc.cc attempt to free invalid pointer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Sun Jul 16, 2023 6:34 pm    Post subject: [SOLVED] TF2: tcmalloc.cc attempt to free invalid pointer Reply with quote

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/issues/2285#issuecomment-1565150938) as launch option but did not work and now I'm confused about what to do.

Full log:
Code:

[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/comments/12lr72b/team_fortress_2_does_not_load/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/comments/151b3di/comment/js8o6hf/?utm_source=share&utm_medium=web2x&context=3)
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
RayOfLight
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2013
Posts: 108
Location: Catalunya

PostPosted: Mon Jul 17, 2023 12:12 pm    Post subject: Reply with quote

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,
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Mon Jul 17, 2023 6:02 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum