Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immediate segfault in libSDL2-2.0.so.0 and engine_client.so #1842

Closed
ampleyfly opened this issue Oct 7, 2018 · 5 comments
Closed

Immediate segfault in libSDL2-2.0.so.0 and engine_client.so #1842

ampleyfly opened this issue Oct 7, 2018 · 5 comments
Labels

Comments

@ampleyfly
Copy link

Your system information

Please describe your issue in as much detail as possible:

Starting CSGO yields a black screen for a short while, before the game crashes.
dmesg shows segfaults in libSDL2-2.0.so.0 and engine_client.so:

[248033.401121] csgo_linux64[31631]: segfault at 58 ip 00007f6e7961658b sp 00007fff293365d0 error 4 in libSDL2-2.0.so.0[7f6e7955f000+f8000]
[248033.401135] Code: 83 c0 28 4c 39 c8 75 cf 48 8b ac 24 60 04 00 00 48 8b 9c 24 80 00 00 00 48 8b 7d 08 48 85 ff 0f 84 02 0c 00 00 e8 e5 35 ff ff <48> 8b 40 58 48 8b 55 08 8b 00 4c 8b a2 c0 00 00 00 89 84 24 88 00 
[248033.465819] csgo_linux64[31609]: segfault at 0 ip 00007f6e7355cc6d sp 00007fff29336e40 error 6 in engine_client.so[7f6e73046000+b1f000]
[248033.465823] Code: cd ff 84 c0 0f 85 75 ff ff ff 0f 1f 00 e8 3b be cd ff 48 8d 35 df b8 41 00 48 8b 10 48 89 c7 ff 52 58 85 c0 0f 85 55 ff ff ff <c7> 04 25 00 00 00 00 ef be ad de e9 45 ff ff ff 0f 1f 00 48 8b 05

Steps for reproducing this issue:

Run CSGO on Debian buster.

@kisak-valve
Copy link
Member

Hello @ampleyfly, there's a good chance you're seeing #1757. Please add -nojoy to the game's launch options and check if that works around the issue.

@ampleyfly
Copy link
Author

Hi @kisak-valve. I should have mentioned that I have tried with -nojoy, and also with -novid, to no avail.

@kisak-valve
Copy link
Member

Can you check #1801 and see if that is the same issue?

@ampleyfly
Copy link
Author

Yes. After inspecting the dump, I noticed the same message as in #1801 about libpng. The solution from #1801 (comment) worked for me, with slightly altered paths.

@Spacefish
Copy link

Spacefish commented Oct 19, 2021

I have the same problem, debugged via GDB this is the stacktrace i got (see below)
Ubuntu 21.10, having the issue since some weeks (i used 21.10 since it was forked).

Seems to be something in the csgo bundled libSDL2.. But no symbols for the first call really strange.. maybe the stack is corrupted after all?

[Thread 0x7fffe14b5640 (LWP 103563) exited]
[Attaching after Thread 0x7ffff77f1b80 (LWP 103528) fork to child process 103578]
[New inferior 2 (process 103578)]
[Detaching after fork from parent process 103528]
[Inferior 1 (process 103528) detached]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Thread 2.1 "csgo_linux64" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff77f1b80 (LWP 103578)]
0x00007ffff64bb492 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0
(gdb) bt
#0  0x00007ffff64bb492 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0
#1  0x00007ffff64bc7d2 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0
#2  0x00007ffff649199d in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0
#3  0x00007fffdc4ac959 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#4  0x00007fffdc4aca92 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#5  0x00007fffdc4acba3 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#6  0x00007fffdc4ae132 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#7  0x00007ffff734e4b0 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libtier0_client.so
#8  0x00007ffff734e365 in LoggingSystem_Log () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libtier0_client.so
#9  0x00007fffd1e429d1 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_text_pango_client.so
#10 0x00007fffd1e43566 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_text_pango_client.so
#11 0x00007fffd1e4418b in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_text_pango_client.so
#12 0x00007fffd1e47e4d in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_text_pango_client.so
#13 0x00007fffd2b95580 in CreatePanoramaUIEngineInternal () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so
#14 0x00007fffd2d64341 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so
#15 0x00007fffd5907243 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panoramauiclient_client.so
#16 0x00007fffdc50ae2d in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#17 0x00007fffdc42b090 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#18 0x00007fffdc4ad570 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#19 0x00007fffdc4b2bc4 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#20 0x00007fffdc4af5bc in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#21 0x00007fffdc6a3809 in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#22 0x00007fffdc4b115c in ?? () from /data/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#23 0x00007ffff75b25f9 in ?? () from bin/linux64/launcher_client.so
#24 0x00007ffff75b25f9 in ?? () from bin/linux64/launcher_client.so
#25 0x00007ffff7589a5b in LauncherMain () from bin/linux64/launcher_client.so
#26 0x00007ffff7b3efd0 in __libc_start_call_main (main=main@entry=0x4006f0 <main>, argc=argc@entry=4, argv=argv@entry=0x7fffffffda08) at ../sysdeps/nptl/libc_start_call_main.h:58
#27 0x00007ffff7b3f07d in __libc_start_main_impl (main=0x4006f0 <main>, argc=4, argv=0x7fffffffda08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd9f8)
    at ../csu/libc-start.c:409
#28 0x000000000040079d in _start ()
(gdb) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants