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

[Linux] Game does not close

Open gear4s opened this issue 8 years ago • 42 comments

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)

gear4s avatar Mar 22 '16 19:03 gear4s

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?

gdrewb-valve avatar Mar 22 '16 19:03 gdrewb-valve

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:

gear4s avatar Mar 22 '16 19:03 gear4s

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.

gdrewb-valve avatar Mar 22 '16 20:03 gdrewb-valve

thread 0 ? it starts at thread 1

gear4s avatar Mar 22 '16 20:03 gear4s

Sorry, yes thread 1.

gdrewb-valve avatar Mar 22 '16 20:03 gdrewb-valve

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

gear4s avatar Mar 22 '16 20:03 gear4s

Those all worked properly?

gdrewb-valve avatar Mar 22 '16 20:03 gdrewb-valve

yes

gear4s avatar Mar 22 '16 20:03 gear4s

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

gdrewb-valve avatar Mar 22 '16 21:03 gdrewb-valve

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

gear4s avatar Mar 22 '16 21:03 gear4s

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

gear4s avatar Apr 22 '16 21:04 gear4s

Can you get the thread 1 stack in gdb?

gdrewb-valve avatar Apr 23 '16 07:04 gdrewb-valve

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.

NikitaPuzyryov avatar Apr 23 '16 09:04 NikitaPuzyryov

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

gdrewb-valve avatar Apr 23 '16 09:04 gdrewb-valve

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

NikitaPuzyryov avatar Apr 23 '16 09:04 NikitaPuzyryov

here's my gdb output

using Arch Linux too, just as Nikita

gear4s avatar Apr 28 '16 21:04 gear4s

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

gdrewb-valve avatar Apr 28 '16 22:04 gdrewb-valve

happened to me on osx too

aeosynth avatar May 09 '16 16:05 aeosynth

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

SHOTbyGUN avatar May 12 '16 12:05 SHOTbyGUN

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

gdrewb-valve avatar May 17 '16 01:05 gdrewb-valve

Ill play a few games and see if its fixed. Thanks for the quick responses On 17 May 2016 03:26, "Drew Bliss" [email protected] 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

gear4s avatar May 17 '16 08:05 gear4s

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

NikitaPuzyryov avatar May 19 '16 16:05 NikitaPuzyryov

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

samidhtalsania avatar May 27 '16 01:05 samidhtalsania

Same problem here. Ubuntu 16.04 and 15.10.

DKrepsky avatar May 28 '16 01:05 DKrepsky

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)

gear4s avatar May 30 '16 00:05 gear4s

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.

gdrewb-valve avatar May 30 '16 18:05 gdrewb-valve

I'l have to check later today.

gear4s avatar May 31 '16 05:05 gear4s

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.

420git avatar Jul 20 '16 03:07 420git

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.

gear4s avatar Aug 13 '16 20:08 gear4s

Happening on Ubuntu 16.04 GTX 560.

leodutra avatar Aug 17 '16 23:08 leodutra