portal2 icon indicating copy to clipboard operation
portal2 copied to clipboard

Crash on launch using vulkan (src/tcmalloc.cc:289] Attempt to free invalid pointer 0x5b1623c0)

Open shoober420 opened this issue 3 years ago • 4 comments

When adding the "-vulkan" launch parameter to Portal 2, the game will crash. It launches fine using OpenGL, without the "-vulkan" flag. Left 4 Dead 2 also launches fine using "-vulkan". Here is suspicious terminal output when Portal 2 is launching. Full log included.

Fossilize INFO: Overriding serialization path: "/home/lokiju420_-/.local/share/Steam/steamapps/shadercache/620/fozpipelinesv5/steamapprun_pipeline_cache".
info:  DXVK: Read 0 valid state cache entries
info:  DXVK: Using 2 compiler threads
src/tcmalloc.cc:289] Attempt to free invalid pointer 0x5b1623c0

portal2vulkanterminal.log

shoober420 avatar Aug 11 '21 13:08 shoober420

Here's my system information from Steam.

https://github.com/shoober420/rootscripts/blob/main/home/shoober420/sysinfoamd

shoober420 avatar Aug 12 '21 10:08 shoober420

Same for me just diffirent pointer

Manasx100 avatar Nov 29 '21 18:11 Manasx100

There is the same behavior when launching CSGO now with the vulkan update.

https://github.com/ValveSoftware/csgo-osx-linux/issues/2895

shoober420 avatar Dec 16 '21 11:12 shoober420

Using the fix from this CSGO issue thread fixed the for me.

https://github.com/ValveSoftware/csgo-osx-linux/issues/2887

Delete the current libtcmalloc_minimal.so file in the "Portal 2/bin/linux32" directory and then copy the 32bit version of libtcmalloc_minimal.so from the /usr/lib directory into the "Portal 2/bin/linux32" directory.

shoober420 avatar Dec 16 '21 12:12 shoober420