Dota-2 icon indicating copy to clipboard operation
Dota-2 copied to clipboard

Linux: invalid opcode in libengine2.so when open settings menu with Phenom II X6

Open AngryPenguinPL opened this issue 6 months ago • 1 comments

I have a game crash when I enter the game settings menu.

I know that there are crashes related to SDL and Wayland and the fix is ​​to change to SDL_VIDEO_DRIVER=x11 %command% but in my case it doesn't help. I mean it helps but only for crashes in the game or in the menu. As for the crash after entering the settings it is always present, both on wayland and x11. So I think it is not related to bug #3225

System info here Runtime info here

Crash log:

maj 26 01:55:04 openmandriva-cooker steam[17981]: ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
maj 26 01:55:04 openmandriva-cooker steam[17981]: ERROR: ld.so: object '/home/x/.steam/bin32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
maj 26 01:55:04 openmandriva-cooker steam[17981]: ERROR: ld.so: object '/tmp/pressure-vessel-libs-7S3362/${LIB}/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
maj 26 01:55:04 openmandriva-cooker steam[17981]: crash_20250526015504_2.dmp[65074]: Uploading dump (out-of-process)
maj 26 01:55:04 openmandriva-cooker steam[17981]: /tmp/dumps/crash_20250526015504_2.dmp
maj 26 01:55:04 openmandriva-cooker kernel: traps: SDLAudioC22[65071] trap invalid opcode ip:7ff742b2d08e sp:7ff6f0446650 error:0 in libengine2.so[7ff742a26000+4f5000]
maj 26 01:55:04 openmandriva-cooker systemd-coredump[65075]: Process 64965 (dota2) of user 1001 terminated abnormally with signal 4/ILL, processing...
maj 26 01:55:04 openmandriva-cooker systemd[1]: Started [email protected] - Process Core Dump (PID 65075/UID 0).

maj 26 01:55:06 openmandriva-cooker steam[17981]: crash_20250526015504_2.dmp[65074]: Finished uploading minidump (out-of-process): success = yes
maj 26 01:55:06 openmandriva-cooker steam[17981]: crash_20250526015504_2.dmp[65074]: response: CrashID=bp-721314f7-cbd8-42ca-9ea8-263f42250525
maj 26 01:55:06 openmandriva-cooker steam[17981]: crash_20250526015504_2.dmp[65074]: file ''/tmp/dumps/crash_20250526015504_2.dmp'', upload yes: ''CrashID=bp-721314f7-cbd8-42ca-9ea8-263f42250525''
maj 26 01:55:36 openmandriva-cooker (sd-parse-elf)[65099]: Could not parse number of program headers from core file: invalid `Elf' handle
maj 26 01:55:36 openmandriva-cooker (sd-parse-elf)[65099]: Could not parse number of program headers from core file: invalid `Elf' handle
maj 26 01:55:36 openmandriva-cooker systemd-coredump[65077]: [🡕] Process 64965 (dota2) of user 1001 dumped core.
                                                             
                                                             Module /run/host/usr/lib64/libm.so.6 without build-id.
                                                             Module /run/host/usr/lib64/libm.so.6
                                                             Module /run/host/usr/lib64/librt.so.1 without build-id.
                                                             Module /run/host/usr/lib64/libc.so.6 without build-id.
                                                             Module /run/host/usr/lib64/libc.so.6
                                                             Module /run/host/usr/lib64/libpthread.so.0 without build-id.
                                                             Module /run/host/usr/lib64/libdl.so.2 without build-id.
                                                             Stack trace of thread 65071:
                                                             #0  0x00007ff742b2d08e opus_encode_native (libengine2.so + 0x32d08e)
                                                             #1  0x00007ff742b30ca4 opus_encode_float (libengine2.so + 0x330ca4)
                                                             #2  0x00007ff742edfa74 n/a (libengine2.so + 0x6dfa74)
                                                             #3  0x00007ff742d4e539 n/a (libengine2.so + 0x54e539)
                                                             #4  0x00007ff6daf15cf8 n/a (libsoundsystem.so + 0x315cf8)
                                                             #5  0x00007ff73e844fba n/a (libSDL3.so.0 + 0x44fba)
                                                             #6  0x00007ff73e84508e n/a (libSDL3.so.0 + 0x4508e)
                                                             #7  0x00007ff73e83eca2 n/a (libSDL3.so.0 + 0x3eca2)
                                                             #8  0x00007ff6fc0a0af8 n/a (/usr/lib/x86_64-linux-gnu/libpipewire-0.3.so.0.365.0 + 0x8faf8)
                                                             ELF object binary architecture: AMD x86-64
maj 26 01:55:36 openmandriva-cooker systemd[1]: [email protected]: Deactivated successfully.
maj 26 01:55:36 openmandriva-cooker systemd[1]: [email protected]: Consumed 25.538s CPU time, 3.7G memory peak.
maj 26 01:55:36 openmandriva-cooker steam[17981]: /media/x/5afea239-9232-4445-a98e-4e892b1c4e262/steam/steamapps/common/dota 2 beta/game/dota.sh: line 108: 64965 Illegal instruction     (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

Here is a crash from /tmp/

crash_20250526015504_2.dmp.txt

AngryPenguinPL avatar May 26 '25 00:05 AngryPenguinPL

I have this too! I have almost this exact same error log. 100% FREEZE every time i open the settings; i've tried a few different kernels, verifying files, re-getting shaders and clearing DL cache etc. i tried the dota 2 launch option; -sdlaudiodriver pipewire and -sdlaudiodriver pulse Neither changed anything... i guess i'll try a few other kernels and maybe fiddling with the audio driver next? i ran valgrind and gdb a couple times but to no avail really; i need a fresh crash core and some more time then i can post the trace and logs (which look almost exactly like the ones above btw).

7.39 will open the settings (from anywhere, main menu, demo mode, bots game, normal game, spectating game etc) and then immediately freeze before i can do anything else.

Usually making me task out to end the process if i don't want to wait a couple minutes (or forever) for it to realize it needs to close.

OS: (Arch) Linux Garuda Broadwing XFCE I've tested it in Xubuntu 22 as well. Instead of a freeze, Dota 2 has a hard CTD... just 'poof'; back to desktop. Kernel(s): Linux-LTS, but i have zen1, cachyOS, and cachyos-LTS installed and will test them and some others like maybe Linux-LTS 6 or something in a bit Graphics: nvidia GTX660 Ti 2gb legacy driver 470xx and otherwise decent system which ran dota 2 fine on windows and when it isnt freeze/ctd works fine on Linux. Btw dota2 is the ONLY game my nvidia driver has problems with -_- (before 7.39 i had some other freezes at random once per 1-2 hours or half the time when hitting the end-game-score screens or changing menus).

Dracosophy avatar May 28 '25 23:05 Dracosophy