Steam Randomly Crashes

Steam keeps crashing randomly. Seems completely random, I can start Steam and not touch my computer and sometimes it will crash in a minute, sometimes it will crash in ten minutes or longer.

System - Solus OS with Gnome 3.28.2, i5-4460, Nvidia GT-1030

I have tried WINE 3.0 i386 and 3.9-staging x86_64 with it set as XP, 7 and 10.

Starting Steam shows this:

wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
[0605/] Crash reporting enabled for process: browser
[0605/] WSALookupServiceBegin failed with: 8
[0605/] Lost UI shared context.

When it crashes it shows this:

WARNING  2018-06-05 20:03:16,997 [thread]:Thread aborting now
WARNING  2018-06-05 20:03:19,417 [wine]:Some wine processes are still running: 3212
ERROR    2018-06-05 20:03:19,848 [system]:Could not kill process 3458

Anyone know what’s going on?

Update: Looks like Disabling process monitor fixes the issue for me.

In System Options when you configure your runner, put Steam.exe under Include processes section and see if that makes a difference.

This resolved the random closing of steam for me.

Can you explain how you are launching Steam?

It’s not crashing, it’s being killed by Lutris because no game is running.

If Steam is launched from the sidebar, it shouldn’t exit.

@TheRiddick @strider Thanks, it all makes more sense now.
I thought Lutris was timing steam out somehow, due to the lack of errors when I checked the debug dump.
I have several ‘steam’ bottles all running with different configurations for different games. All of my windows games are installed manually as that is just how I like to do things.
I learned a while ago whilst attempting to get Elite Dangerous working with POL, that installing some windows components can actually mess some games up, that is why I have a generic steam prefix with a lot of games on it and some seperate prefixes for games that I am testing and are known to be more troublesome under wine.

I installed steam manually in the wine tab. I’m not home to try, but I don’t know if launching from the sidebar works in this case?

I think that running Steam as if it were a game is the only scenario I can think of where Steam would get killed automatically by Lutris.

In that case, the solution given by @TheRiddick would be the proper one.

@TheRiddick 's solution didn’t work for me. Disabling the process monitor seems to be working so far, but I haven’t tested it for long.