protonscr

Steam not shutting down when desktop logs off

steamclosed reviewedSteam client
ValveSoftware/steam-for-linux#2725 · opened 2013-07-22 by jpleau · updated 2019-07-18 · 9 comments · github
Jjpleau 2013-07-22 github

Whenever I logoff from either xfce(4.10), Steam doesn't exit.
There aren't any relevant error messages in the console, except this one:

Installing breakpad exception handler for appid(steam)/version(1374006490_client)

This causes desktop logging off / reboot / shutdown annoying because I have to go back to a TTY to kill it (since Steam doesn't fully exit), or I have to manually close steam before shutting down the desktop. (xfce hangs after closing xfwm4 if steam is running)

Maybe it's related or not, but when playing DoD:S, sometimes (I can't reproduce it all the time) when exiting the game, it will hang in the same way. I have to kill the hl2_linux processes via a command line. I notice those errors while playing the game:

(hl2_linux:30135): Gdk-WARNING **: XID collision, trouble ahead

I'm not sure if it's relevant or not, but this is what I managed to catch from the console.

This wasn't an issue until earlier this week, I can't tell if it was because of a steam update or an update from my package manager (pacman).

Here's my system information:

Processor Information:
    Vendor:  GenuineIntel
    Speed: 3800 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    "Arch Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.9.9-1-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11402000
    X Window Manager:  Xfwm4
    Steam Runtime Version:  steam-runtime-release-i386_2013-06-28

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 570/PCIe/SSE2

    Driver Version:  4.3.0 NVIDIA 319.32
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0x1086
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3840 x 1080
    Primary Display Size: 20.51" x 11.54"  (23.50" diag)
                                            52.1cm x 29.3cm  (59.7cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 1280 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC892

Memory:
    RAM:  16020 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  285320 Mb
    Largest Free Hard Disk Block:  207852 Mb

Installed software:

Recent Failure Reports:
    Mon Jul 22 15:27:40 2013 GMT: file ''/tmp/dumps/crash_20130722112731_17.dmp'', upload yes: ''CrashID=bp-c3457681-8943-4fa6-abd8-c15e42130722''
    Mon Jul 22 15:34:09 2013 GMT: file ''/tmp/dumps/assert_20130722113359_16.dmp'', upload yes: ''CrashID=bp-9a151e81-1a7a-49e9-8b53-77bf62130722''
    Mon Jul 22 15:52:06 2013 GMT: file ''/tmp/dumps/assert_20130722115159_15.dmp'', upload yes: ''CrashID=bp-c795f7ad-3d9b-4c68-9a7d-76aae2130722''
    Mon Jul 22 16:02:31 2013 GMT: file ''/tmp/dumps/assert_20130722120218_15.dmp'', upload yes: ''CrashID=bp-54935500-4686-4abc-840b-bb7432130722''
Ggdrewb-valve maintainer 2013-07-25 github

Do you get a new failure report every time you try this, or are those unrelated?

Jjpleau 2013-07-25 github

Those are most likely unrelated, I pasted what was in Steam's System Information panel. Those dumps were probably created when I was testing using native libraries instead of steam's shipped runtime. To be clear, the bug I reported happens with using the shipped runtime, the ones that comes with Steam.

I tried shutting down my desktop environment again, and after verification there was no created file in /tmp/dumps/.

Ggdrewb-valve maintainer 2013-07-25 github

That'll make it more difficult to figure out what's going on as we'll have to recreate your environment here and try to repro. Thanks for checking.

Jjpleau 2013-07-25 github

Is there something I can do to provide more information about the bug? I understand this is probably not a high priority bug, but if a game and steam itself refuse to exit correctly, it probably means there's something wrong and it could potentially lead to more severe problems. I'll continue to investigate on my own and update if I find something. Thanks for taking the time to check this :)

Ggdrewb-valve maintainer 2013-07-25 github

It's hard to say what other info might be useful as I don't even have a theory as to what is going on. I think we'll have to reproduce the problem here to investigate further.

I assume Steam shuts down normally when you close it directly?

Jjpleau 2013-07-25 github

Yes it does shut down when I exit it either via the Exit button or killing the process (or ctrl-c if I start it in CLI to view the output).

I'll do some work on my side and track down system updates from last week, since it was working fine then. I'll downgrade each package one at a time (if possible, most packages depends on other packages current version), see if it works. I realize that Archlinux is not a supported distribution for you, and there are a lot of updates everyday that could potentially cause problems. I'll help in any way I can, and I don't have any problem with you marking this one as a low priority bug.

Jjjkinas 2015-03-04 github

I have this bug as well , Ubuntu-Mate , I must close steam before shutting down or it hangs for like 1 minute while steam does not close with the rest of the desktop.

Kkisak-valve maintainer 2017-08-25 github

Hello @jpleau, @jjkinas, are either of you still experiencing this issue with an up to date system?

Kkisak-valve maintainer 2017-09-25 github

Closing pending feedback.

Nothing extracted yet.