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
469 stars 38 forks source link

[Linux] Game does not close #793

Open gear4s opened 8 years ago

gear4s commented 8 years ago

I've had this problem before but not sure if to reopen. DotA seems to almost always never stop running (always stuck on the "Do you want to quit?" prompt)

It went away for a while and it recently came back after the 100-ish mb update. Ran it multiple time to be 100% sure.

This is my sytem information (intalled packages and sys info)

This is Xorg logs and dmesg output

Thanks!

(note that I have this same issue on Ubuntu 14.04.4)

gdrewb-valve commented 8 years ago

No repro for me, we'll have to see if we can figure out what's happening on your machine. Are you familiar with gdb at all?

gear4s commented 8 years ago

yea I can use GDB. what do you need ? I'm just hoping it's not one of those problems that automatically solve itself when running in gdb :8ball:

gdrewb-valve commented 8 years ago

For now just a quick look at the stack of thread 0. It may or may not be interesting, but there will be a lot of threads so before we look at them all we'll see if thread 0 is anywhere useful.

gear4s commented 8 years ago

thread 0 ? it starts at thread 1

gdrewb-valve commented 8 years ago

Sorry, yes thread 1.

gear4s commented 8 years ago

yea, tried 12 times, 5 after watching part of game, 5 during watching game, and 2 after playing, can't reproduce in gdb

gdrewb-valve commented 8 years ago

Those all worked properly?

gear4s commented 8 years ago

yes

gdrewb-valve commented 8 years ago

We'll leave this open and see if it repros.

gear4s commented 8 years ago

ok thanks :) I'll let you know asap if it does it more then 5 times

gear4s commented 8 years ago

ok, it's been doing it for a while again, since new update

gdrewb-valve commented 8 years ago

Can you get the thread 1 stack in gdb?

NikitaPuzyryov commented 8 years ago

Hereʼs something systemd-coredump generated upon dota receiving SIGQUIT from me when it was hang:

            Stack trace of thread 28765:
            #0  0x00007f243be6068d pthread_join (libpthread.so.0)
            #1  0x00007f24317a506e n/a (libSDL2-2.0.so.0)
            #2  0x00007f243174878b n/a (libSDL2-2.0.so.0)
            #3  0x00007f2431749538 n/a (libSDL2-2.0.so.0)
            #4  0x00007f24212e6f71 n/a (libsoundsystem.so)
            #5  0x00007f242126df1e n/a (libsoundsystem.so)
            #6  0x00007f242124520e n/a (libsoundsystem.so)
            #7  0x00007f24212767b1 n/a (libsoundsystem.so)
            #8  0x00007f2436c7ba4d n/a (libengine2.so)
            #9  0x00007f2436c7c31f n/a (libengine2.so)
            #10 0x00007f2436914660 n/a (libengine2.so)
            #11 0x00007f2436914b07 Source2Main (libengine2.so)
            #12 0x0000557526bf3101 n/a (dota2)
            #13 0x00007f243c095710 __libc_start_main (libc.so.6)
            #14 0x0000557526bf3219 _start (dota2)

I can send the whole coredump if you point to a secure place where I can submit it.

gdrewb-valve commented 8 years ago

I'll check with the SDL devs and we'll see where things go.

NikitaPuzyryov commented 8 years ago

I must add that Iʼm running Arch Linux and forcing dota to use system libs if possible.

gear4s commented 8 years ago

here's my gdb output

using Arch Linux too, just as Nikita

gdrewb-valve commented 8 years ago

Thanks, that looks like the same SDL issue. I haven't heard anything back from the SDL devs yet.

aeosynth commented 8 years ago

happened to me on osx too

SHOTbyGUN commented 8 years ago

Issue happens constantly if game had been running 1+ hours, but does not happen on fresh start.

gdrewb-valve commented 8 years ago

Is this still happening after the May 16 update? I'm assigning an SDL dev to look.

gear4s commented 8 years ago

Ill play a few games and see if its fixed. Thanks for the quick responses On 17 May 2016 03:26, "Drew Bliss" notifications@github.com wrote:

Is this still happening after the May 16 update? I'm assigning an SDL dev to look.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ValveSoftware/Dota-2/issues/793#issuecomment-219595608

NikitaPuzyryov commented 8 years ago

Just happened to me with pretty much the same stack trace.

samidhtalsania commented 8 years ago

Happened to me on ubuntu 16.04. Been happening since the 6.87 update.

DKrepsky commented 8 years ago

Same problem here. Ubuntu 16.04 and 15.10.

gear4s commented 8 years ago

thread list, it happens way more now, 4-5 times a day, and constant disconnecting as well as crashing (crashing on Windows only though so)

gdrewb-valve commented 8 years ago

As a quick check does adding -nosound to your launch options avoid the problem? This is just to add more confirmation that it's a sound-related issue, not a suggestion that you try to play without sound.

gear4s commented 8 years ago

I'l have to check later today.

420git commented 8 years ago

This happens with me too. If I start dota then i try to quit it quits. But if I play many games and I want to quit it gets stuck at the do you want to quit prompt and I have to end the process to close it.

gear4s commented 8 years ago

considering this has been happening since the middle of the month and hasn't been fixed, I'll assume the Valve developers are incompetent and can't locate a small bug in their programming.

this is almost as bad as the bug that used to completely lock up my system last year.

leodutra commented 8 years ago

Happening on Ubuntu 16.04 GTX 560.

qbproger commented 8 years ago

Here too.

Ubuntu 16.04 GeForce 9800 GT/PCIe/SSE2

JJAYL commented 8 years ago

Reporting the same issue here. It seems to happen after a single game or replay.

leodutra commented 8 years ago

@JJAYL Same here.

Olosinsk-commits commented 8 years ago

This has been happening for me every time. Ubuntu 16.04 LTS

gear4s commented 7 years ago

This is still not fixed, and I complained about it in March already.

When the fuck are you going to do something about it ?

420git commented 7 years ago

Well I recently reinstalled steam and all its dependencies after purging it from my system due to cpu overload with dota since about 5 months which turned out to be due to fan problem. After the fresh install this hasnt happened again, been using it for about week. Try purge and reinstall might be some outdated lib still stuck in the system OS:Arch linux using native libs Edited: removed reinstalled dota i didnt actually its just steam that i reinstalled, dota was only updated

leodutra commented 7 years ago

I changed from Ubuntu to Arch. Did a total reinstall and am using Steam Native. Bug did not occur today.

Using Gnome 3 with Arch. I have a subtle feeling the problem was Ubuntu specific but non-native Steam.

I'll certify.

xksteven commented 5 years ago

So I'm on Ubuntu 18.04 with Radeon R9 290X graphics card. This bug is happening to me now.

crnisamuraj commented 2 years ago

I have this issue on both of my computers, one running Manjaro and other one running Ubuntu 20.04. Nvidia GPUs. It's very annoying. Why is it so hard to make quit game work? :D

edmael commented 2 years ago

Same here: NVIDIA-SMI 495.46 Driver Version: 495.46

The only way to close the game is to kill steam.

pilak commented 2 years ago

same as @edmael

Sat Jan 22 11:23:05 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.46       Driver Version: 495.46       CUDA Version: 11.5     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   45C    P8     5W /  N/A |    103MiB /  3019MiB |     26%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1063      G   /usr/lib/xorg/Xorg                 55MiB |
|    0   N/A  N/A      5156    C+G   .../bin/linuxsteamrt64/dota2       43MiB |
+-----------------------------------------------------------------------------+

Dota still quitting after 5 minutes, I will kill the process now :)

(Also have connection loss while on optic fiber + ethernet but not with optic fiber + WiFi seems like Dota does not like so much good ping :-) )

kisak-valve commented 2 years ago

Hello @crnisamuraj, @edmael, @pilak, your issue is being tracked at #1992, not this much older issue report. If you're using NVIDIA's 495 series video driver, please read that issue report.