ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
775 stars 69 forks source link

CS-GO on Ubuntu 16.04.5 LTS - crashes on startup due to new panorama UI #1789

Closed kisak-valve closed 6 years ago

kisak-valve commented 6 years ago

Issue transferred from https://github.com/ValveSoftware/steam-for-linux/issues/5628. @dpdpkpcom posted on 2018-08-19T14:19:15:

Your system information

Please describe your issue in as much detail as possible:

From any part of the Steam UI, initiated launch of CS-GO. Before the latest update, it launched fine with the -scaleform switch (bypassing Panorama UI). Without that switch I could get into the game approx 25% of the time through Panorama UI, but the remaining 75% of the time I got a "Segmentation Fault". Since the update last week, the -scaleform launch option doesn't seem to work and instead the game tries to load, the screen goes black for a few seconds and the console reports "Segmentation Fault" before the screen returns to desktop.

By adding the switch -legacyscaleformui as a launch option in the Steam UI, the game launches seamlessly in the old UI (NOT Panorama), which is fine by me.

Without the switch, it segfaults....

Dmesg reports - csgo_linux64[11896] general protection ip:7f89c84b7cf3 sp:7ffdfcd25d50 error:0 in libSDL2-2.0.so.0[7f89c8468000+f8000]

GDB backtrace reports -

#0 0x00007ffff5a09cf3 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0
#1 0x00007fffe46abace in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so
#2 0x00007fffe46ad82b in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so
#3 0x00007fffe4697549 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so
#4 0x00007fffe4759403 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so
#5 0x00007fffe45e4220 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so
#6 0x00007fffee123c4a in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#7 0x00007fffee123d4d in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#8 0x00007fffede38d92 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#9 0x00007fffede391cd in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#10 0x00007fffedf17100 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#11 0x00007fffee044d84 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#12 0x00007fffee046b55 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#13 0x00007fffee054b25 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#14 0x00007fffee054fd4 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#15 0x00007fffee0ccd52 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#16 0x00007fffee0c8c62 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#17 0x00007fffee0c8d8a in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#18 0x00007fffee2bb469 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#19 0x00007fffee0ca94c in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so
#20 0x00007ffff68c2499 in ?? () from bin/linux64/launcher_client.so
#21 0x00007ffff68c2499 in ?? () from bin/linux64/launcher_client.so
#22 0x00007ffff68998f9 in LauncherMain () from bin/linux64/launcher_client.so
#23 0x00007ffff75dd830 in __libc_start_main (main=0x4006f0 <main>, argc=3, argv=0x7fffffffdb88, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, 
stack_end=0x7fffffffdb78) at ../csu/libc-start.c:291
#24 0x000000000040079d in _start ()

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist I expected the game to launch, not segfault.

Steps for reproducing this issue:

  1. Launch CS-GO

If you need any more info, please shout.....

dpdpkpcom commented 6 years ago

I think I've done that by apt-get install libsdl2-dev, but the backtrace seems the same :- Thread 1 "csgo_linux64" received signal SIGSEGV, Segmentation fault. 0x00007ffff5a09cf3 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0 (gdb) bt

0 0x00007ffff5a09cf3 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0

1 0x00007fffe46baace in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

2 0x00007fffe46bc82b in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

3 0x00007fffe46a6549 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

4 0x00007fffe4768403 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

5 0x00007fffe45f3220 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

6 0x00007fffee136c4a in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

7 0x00007fffee136d4d in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

8 0x00007fffede4bd92 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

9 0x00007fffede4c1cd in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

10 0x00007fffedf2a100 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

11 0x00007fffee057d84 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

12 0x00007fffee059b55 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

13 0x00007fffee067b25 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

14 0x00007fffee067fd4 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

15 0x00007fffee0dfd52 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

16 0x00007fffee0dbc62 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

17 0x00007fffee0dbd8a in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

18 0x00007fffee2ce469 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

19 0x00007fffee0dd94c in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

20 0x00007ffff68c2499 in ?? () from bin/linux64/launcher_client.so

21 0x00007ffff68c2499 in ?? () from bin/linux64/launcher_client.so

22 0x00007ffff68998f9 in LauncherMain () from

bin/linux64/launcher_client.so

23 0x00007ffff75dd830 in __libc_start_main (main=0x4006f0
, argc=3,

argv=0x7fffffffdb88, init=, fini=, rtld_fini=, stack_end=0x7fffffffdb78) at ../csu/libc-start.c:291

24 0x000000000040079d in _start ()

I've not debugged anything before so if you can point me in the right direction.

I'm assuming I don't need to reboot after the install of libsdl2-dev ?

Thanks

dp

On Sun, 19 Aug 2018 at 18:13 kiroma notifications@github.com wrote:

Can you install debug symbols for SDL2 to see what's crashing in it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/1789#issuecomment-414141675, or mute the thread https://github.com/notifications/unsubscribe-auth/APHyWzZBIru3yh-u2hxEKOW6Yjc_q-Feks5uSZyrgaJpZM4WDCF0 .

dpdpkpcom commented 6 years ago

I've found a libsdl2-dbg package, but running "DEBUGGER=gdb ./csgo.sh" shows nothing different ?

dp

On Mon, 20 Aug 2018 at 09:18 David Pollard dp@david-pollard.com wrote:

I think I've done that by apt-get install libsdl2-dev, but the backtrace seems the same :- Thread 1 "csgo_linux64" received signal SIGSEGV, Segmentation fault. 0x00007ffff5a09cf3 in ?? () from /home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0 (gdb) bt

0 0x00007ffff5a09cf3 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0

1 0x00007fffe46baace in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

2 0x00007fffe46bc82b in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

3 0x00007fffe46a6549 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

4 0x00007fffe4768403 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

5 0x00007fffe45f3220 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/panorama_client.so

6 0x00007fffee136c4a in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

7 0x00007fffee136d4d in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

8 0x00007fffede4bd92 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

9 0x00007fffede4c1cd in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

10 0x00007fffedf2a100 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

11 0x00007fffee057d84 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

12 0x00007fffee059b55 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

13 0x00007fffee067b25 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

14 0x00007fffee067fd4 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

15 0x00007fffee0dfd52 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

16 0x00007fffee0dbc62 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

17 0x00007fffee0dbd8a in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

18 0x00007fffee2ce469 in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

19 0x00007fffee0dd94c in ?? () from

/home/dp/bigssd/Steam2/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so

20 0x00007ffff68c2499 in ?? () from bin/linux64/launcher_client.so

21 0x00007ffff68c2499 in ?? () from bin/linux64/launcher_client.so

22 0x00007ffff68998f9 in LauncherMain () from

bin/linux64/launcher_client.so

23 0x00007ffff75dd830 in __libc_start_main (main=0x4006f0
, argc=3,

argv=0x7fffffffdb88, init=, fini=, rtld_fini=, stack_end=0x7fffffffdb78) at ../csu/libc-start.c:291

24 0x000000000040079d in _start ()

I've not debugged anything before so if you can point me in the right direction.

I'm assuming I don't need to reboot after the install of libsdl2-dev ?

Thanks

dp

On Sun, 19 Aug 2018 at 18:13 kiroma notifications@github.com wrote:

Can you install debug symbols for SDL2 to see what's crashing in it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/1789#issuecomment-414141675, or mute the thread https://github.com/notifications/unsubscribe-auth/APHyWzZBIru3yh-u2hxEKOW6Yjc_q-Feks5uSZyrgaJpZM4WDCF0 .

d1ll0n commented 6 years ago

I'm able to boot using -scaleform option, but only if I switch to beta 1.36.47 (did not try 46). -legacyscaleformui does work with the normal version. Does Valve just not run any tests whatsoever before pushing changes to one of their largest games?

bmlzootown commented 6 years ago

May/may not pertain to the issue you all described (didn't check the output from my own failed attempts at getting the game to start since panorama was introduced, although it would run with the old ui using the flags you all mentioned), but I had my 360 controller connected when attempting to start the game... Set the -nojoy flag, now it loads just fine.

Seems starting the game with a controller/certain keyboards/mice plugged in causes the game to crash (latest version and beta).

dpdpkpcom commented 6 years ago

I can confirm bmizootown's suggestion of adding the -nojoy switch allows me to enter cs-go with the panorama ui.

So, I think he/she is right !

Hope this helps...

dp

kisak-valve commented 6 years ago

Thanks @bmlzootown, @dpdpkpcom, since the gamepad issue is already being tracked at #1757, I'm going to go ahead an close this in favor of the earlier issue report.