ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

[ubuntu 13.10(64bit)][bug]steam client for linux unity desktop top-bar steam applet would not quit if game process killed #3126

Closed alexanderhou closed 6 years ago

alexanderhou commented 10 years ago

[ubuntu 13.10(64bit)][bug]steam client for linux unity desktop top-bar steam applet NOT quit if game process killed

platform: ubuntu 13.10 64bit linux steam client for linux latest ver.

game: left 4 dead 2 for linux.

how to reproduce the issue:

start left 4 dead 2 or other games on steam client for linux. in windowed mode.

then play the game, try your best to freeze the game, here is one method i found.

e.g. start left 4 dead 2 for linux, in the game, go campaign mode, -> play online, try to find some add-on campaign hosted by other players online.

then, if the game campaign add-on is from some famous websites, for instance, l4dmaps.com, or other similar, in the l4d2 for linux game, click the campaign game entry, the details of the map would show the download website of the map files.

click the link, and another detailed window in game would show, and clearly states the website link. click the link, in linux ver. of l4d2, it would not automatically redirect you through firefox or similar web-browser on linux, it just freezes the game. everything hang there!

and, force-quit/kill the game process in linux, then , the game process killed, and steam client itself still there. then, normally quit the steam client for linux.

you 'd found an interesting issue that, watch the up-right corner of default ubuntu 13.10, the top-bar of unity interface of ubuntu, steam applet icon still there, you can click the icon, choose quit steam, but, it would NOT work!

and even, sometimes, you can start the steam client for linux another time normally, and the up-right corner, would show 2 steam applet icons there!

obviously one is the dead one, another one is the correctly active one.

the dead steam icon for unity top-bar, the process is named "cipcserver::thr". it can be terminated in system monitor of ubuntu, or you just find the pid, and use "sudo kill" command to kill it.

linux users could work around it, but really annoying, because linux games on steam are becoming more and more, valve cannot guarantee everything on steam has no bug, so, crash, game freeze, could be seen by many steam linux users.

so, steam for linux, prepared for these issues?

personally, i think steam can be much better. hope the bug could be fixed soon.

thank you.

johndrinkwater commented 10 years ago

So the indicator persists after you close the client? Can you supply the output of ps fau, it may be waiting on a launcher process for system browser

alexanderhou commented 10 years ago

pretty sorry for my late reply, i got really high with the new update of dota2 linux ver.

-=-=-=-=-=-=-=-=-

yes, as you asked. here is the output i collected.

1st one, the output of ps fau command when the game l4d2 freezing.

http://pastebin.ubuntu.com/6856469/

-=-=-=-=-=-=-=-=-

2nd one, the output of ps fau command when i FORCE-QUIT the freezing game l4d2, but steam client still there.

http://pastebin.ubuntu.com/6856484/

-=-=-=-=-=-=-=-=-

3rd one, the output of ps fau command when steam client for linux quit, but some child process of steam still there. look like, recently you've made some update there, the new persisting child process is NOT named as " cipcserver::thr", now it is SteamChildMonit, which engaged 185MB memory after steam client for linux quit.

interesting, here is the output of ps fau command.

http://pastebin.ubuntu.com/6856507/

-=-=-=-=-=-=-=-=-

thx, and i am sorry for i cannot use some famous pastebin from north america, 'cause they are all banned in the place where i live. Tw_tter, F_ceb*k, LnkedIn, and some short link website,e.g.bitly , and some image gallery service website e.g. flickr, and some blog website, e.g. a lot of G**gle's websites, so i try my best to guess/find a website which we both can access, if you cannot see them, reply it, then i try my best to find a new one.

gdrewb-valve commented 10 years ago

Looks like the child monitor process is not correctly exiting when the game process goes away?

Plagman commented 10 years ago

It looks like it's correctly waiting for gvfs-open on that URL to exit. I wonder if that's blocking because the browser process is still running somehow..

Plagman commented 10 years ago

Here gvfs-open on an URL opens a tab in Firefox and exits immediately. What's the behavior if you run the gvfs-open command manually from a terminal, Alexander?

alexanderhou commented 10 years ago

if from gnome terminal of ubuntu 13.10 64bit,gvfs-open + url, or xdg-open + ' url ', they all work, they can trigger firefox 26 of ubuntu normally. but, sh -c xdg-open 'url blah blah blah', this does NOT work, it may report some error back.

in my poor memory, on linux, sh -c should write like this, sh -c 'xdg-open 'url blah blah blah'', the command string needs to be quoted. it should not be written as sh -c [command] + [string]....

brunonova commented 10 years ago

I have a similar problem (using Ubuntu 13.10, and Steam with all updates till now).

If I open Steam and then close it, it exits correctly. If I open Steam, start a game (like the demo of Half Life 2), exit and then close Steam, the panel indicator takes several seconds to disappear and some Steam processes are left running.

The processes that are left running include:

kisak-valve commented 6 years ago

Hello, @alexanderhou, @brunonova, are either of you still experiencing this issue on an up to date system?

kisak-valve commented 6 years ago

Closing pending feedback.