ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
462 stars 38 forks source link

Dota 2 core dumps #2616

Open amitavmohanty01 opened 7 months ago

amitavmohanty01 commented 7 months ago

Your system information

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large pastes as a Github Gist.

I am starting the game and I am getting a core dump.

Nov 22 22:30:00 clown.man.machine systemd-coredump[6774]: [🡕] Process 6748 (dota2) of user 1000 dumped core.

                                                          Stack trace of thread 6748:
                                                          #0  0x00007fe16ef1f6d0 n/a (/run/host/usr/lib/libc.so.6 + 0x1586d0)
                                                          #1  0x00007fe16cf31a7e n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libtier0.so + 0x131a7e)
                                                          #2  0x00007fe16cf749c8 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libtier0.so + 0x1749c8)
                                                          #3  0x00007fe15b749636 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x149636)
                                                          #4  0x00007fe15b74aeec n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x14aeec)
                                                          #5  0x00007fe15b795fba n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x195fba)
                                                          #6  0x00007fe15b76c878 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x16c878)
                                                          #7  0x00007fe16b85ca85 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so + 0x25ca85)
                                                          #8  0x00007fe15b76fe42 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x16fe42)
                                                          #9  0x00007fe16ba28dda n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so + 0x428dda)
                                                          #10 0x00007fe16ba29c7d n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so + 0x429c7d)
                                                          #11 0x00007fe16b85d382 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so + 0x25d382)
                                                          #12 0x00007fe16b85d810 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so + 0x25d810)
                                                          #13 0x00007fe16b792427 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so + 0x192427)
                                                          #14 0x00007fe16b7928bf n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so + 0x1928bf)
                                                          #15 0x000055fd353b5e30 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/dota2 + 0x3e30)
                                                          #16 0x000055fd353b5903 n/a (/home/dknight/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/dota2 + 0x3903)
                                                          #17 0x00007fe16edeecd0 n/a (/run/host/usr/lib/libc.so.6 + 0x27cd0)
                                                          ELF object binary architecture: AMD x86-64
stendall-the-one commented 7 months ago

Same here. I been suffering segfaults in dota for some years now.

Just in one sessión today: [ 5030.009983] VKRenderThread[15583]: segfault at 7fd397af3caa ip 00007fd397af3caa sp 00007fd3236ef7e0 error 14 in radiancem-ultralight.otf[7fd39831f000+1000] likely on CPU 15 (core 7, socket 0) [15136.122984] GlobPool/6[36421]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f55621fe580 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 14 (core 6, socket 0) [15136.201535] GlobPool/5[36420]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f5562efc580 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 13 (core 5, socket 0) [15136.279798] GlobPool/1[36416]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f55663fe580 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 1 (core 1, socket 0) [15136.356783] GlobPool/2[36417]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f5563ce8220 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 10 (core 2, socket 0) [15136.435019] GlobPool/6[36421]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f55621fe580 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 14 (core 6, socket 0) [15136.512972] GlobPool/1[36416]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f55663fe580 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 1 (core 1, socket 0) [15136.592265] GlobPool/5[36420]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f5562efc580 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 13 (core 5, socket 0) [15136.669657] GlobPool/2[36417]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f5563ce8220 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 10 (core 2, socket 0) [15136.747912] GlobPool/6[36421]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f55621fe580 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 6 (core 6, socket 0) [15136.825567] GlobPool/1[36416]: segfault at 55c1f8b5eb3e ip 00007f54bb9cbea0 sp 00007f55663fe580 error 4 in libparticles.so[7f54bb976000+43b000] likely on CPU 1 (core 1, socket 0) [15591.546658] GlobPool/4[39816]: segfault at 800000000 ip 00007f8a5118fa84 sp 00007f8ae797c700 error 4 in libscenesystem.so[7f8a510b8000+476000] likely on CPU 4 (core 4, socket 0) [17101.672614] VKRenderThread[40990]: segfault at 7fa2140f3caa ip 00007fa2140f3caa sp 00007fa19fcef7e0 error 14 in radiancem-bold.otf[7fa21491f000+1000] likely on CPU 14 (core 6, socket 0) [26445.387245] GlobPool/4[62463]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff6476fc5e0 error 15 likely on CPU 12 (core 4, socket 0) [26445.490468] GlobPool/0[62459]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff65c1fe750 error 15 likely on CPU 8 (core 0, socket 0) [26445.593575] GlobPool/1[62460]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff64e5fe5e0 error 15 likely on CPU 9 (core 1, socket 0) [26445.697808] GlobPool/6[62465]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff64697a280 error 15 likely on CPU 14 (core 6, socket 0) [26445.801357] GlobPool/0[62459]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff65c1fe750 error 15 likely on CPU 8 (core 0, socket 0) [26445.904519] GlobPool/3[62462]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff64777d5e0 error 15 likely on CPU 3 (core 3, socket 0) [26446.008056] GlobPool/4[62463]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff6476fc5e0 error 15 likely on CPU 12 (core 4, socket 0) [26446.110876] GlobPool/0[62459]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff65c1fe750 error 15 likely on CPU 8 (core 0, socket 0) [26446.214140] GlobPool/1[62460]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff64e5fe5e0 error 15 likely on CPU 9 (core 1, socket 0) [26446.318658] GlobPool/6[62465]: segfault at 7ff585ee354c ip 00007ff585ee354c sp 00007ff64697a280 error 15 likely on CPU 14 (core 6, socket 0) [26904.833850] traps: dota2[63829] trap invalid opcode ip:7f3e386f7706 sp:7ffda546d788 error:0 in libvphysics2.so[7f3e386a9000+3d7000] [28280.705445] VKRenderThread[65261]: segfault at 7fd13c09acaa ip 00007fd13c09acaa sp 00007fd0bdcb97e0 error 14 likely on CPU 15 (core 7, socket 0)

Memory checked thoroughly (2 hours test), all files in Fedora verified against their packages hashes, all Dota files verified many times, shader cache cleaned, selinux contexts relabeled, filesystems checked, happens with every single Fedora vanilla kernel (no extra params) but also happened with Liquorix and others, happened with fedora 37, 38 and 39 that I recall (maybe more), happens with all amdgpu and mesa drivers, even changed the GPU from Nvidia to AMD because this, the whole system it's cool all the time, voltages are fine, happens with aco, llvm, radv, uninstalled, cleaned and installed, and so on.

I don't have this problem with any other game or application. Native GLX/OpenGL, Vulkan, DXVK, VKD3D, Wine, Proton, game engine. No matter what gpu layer and engine technology other games use or how demanding they are. The only game that cannot play 2 matches without having segfaults it's Dota. It's the same if I use MangoHud or not, Gamemode or not, Steam Linux Runtime or not, tested multiple sound card rates, Xfce, Plasma, Gnome, Openbox, Xorg, Xwayland and many more desktop environments and window managers.

No other application or game do this in my PC and I don't have any other issues in the system logs. None. I'm becoming paranoid with this issue.

k1llerk3ks commented 6 months ago

unsure if related, i am experiencing a pretty similiar Error with CS2. No Idea how to fix this, this always happends - wayland ,X11 doesn't matter

Dez 16 14:55:35 asdf666 systemd-coredump[510330]: [🡕] Process 509771 (cs2) of user 1000 dumped core.

                                                      Stack trace of thread 509771:
                                                      #0  0x00007f84d7b5d6f0 n/a (/run/host/usr/lib/libc.so.6 + 0x1586f0)
                                                      #1  0x00007f84d5c055d6 n/a (libtier0.so + 0x1315d6)
                                                      #2  0x00007f84d5c482f8 _Z7LoadKV3P10KeyValues3P10CUtlStringP10CUtlBufferRK7KV3ID_tPKc (libtier0.so + 0x1742f8)
                                                      #3  0x00007f84c140e906 n/a (librendersystemvulkan.so + 0x149906)
                                                      #4  0x00007f84c1410174 n/a (librendersystemvulkan.so + 0x14b174)
                                                      #5  0x00007f84c145b252 n/a (librendersystemvulkan.so + 0x196252)
                                                      #6  0x00007f84c1431ec8 n/a (librendersystemvulkan.so + 0x16cec8)
                                                      #7  0x00007f84d4505d05 n/a (libengine2.so + 0x268d05)
                                                      #8  0x00007f84c1435462 n/a (librendersystemvulkan.so + 0x170462)
                                                      #9  0x00007f84d46d03fa n/a (libengine2.so + 0x4333fa)
                                                      #10 0x00007f84d46d0f3c n/a (libengine2.so + 0x433f3c)
                                                      #11 0x00007f84d4506602 n/a (libengine2.so + 0x269602)
                                                      #12 0x00007f84d45069c0 n/a (libengine2.so + 0x2699c0)
                                                      #13 0x00007f84d443ab97 n/a (libengine2.so + 0x19db97)
                                                      #14 0x00007f84d443b02f Source2Main (libengine2.so + 0x19e02f)
                                                      #15 0x00005606aa09de80 n/a (cs2 + 0x3e80)
                                                      #16 0x00005606aa09d91c n/a (cs2 + 0x391c)
                                                      #17 0x00007f84d7a2ccd0 n/a (/run/host/usr/lib/libc.so.6 + 0x27cd0)
                                                      ELF object binary architecture: AMD x86-64
k1llerk3ks commented 6 months ago

Possible Fix:

valgrind -v /path/to/steamapps/common/Counter-Strike\ Global\ Offensive/game/bin/linuxsteamrt64/cs2

This strangely fixed my issue on cs2. you can try to adapt it to the dota start script/binary? No idea why and how this works. The command failed eventually, but after starting cs2 in steam as always it downloaded some stuff and just worked perfectly.

See: https://steamcommunity.com/app/730/discussions/0/3881597531962830650/?ctp=2