ValveSoftware / steam-for-linux

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

Spurious error "fork without exec" cluttering logs and output #9241

Open silarsis opened 1 year ago

silarsis commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

gameoverlayrenderer.so outputs an error message "skipping destruction (fork without exec?)". This error appears to be output when a process exits but wasn't actually exec'ed. This leads to two things:

1) a lot of logs and an error message that misdirects people (if you google this error you'll see people getting distracted by it for other issues) 2) when running eg. konsole direct from steam in non-desktop mode, spurious errors when eg. tabbing for auto-complete

If there's a way to suppress this error via env variable, that would be great - otherwise, requesting to consider removing this error :)

Steps for reproducing this issue:

  1. Steam Deck in standard mode (ie. not desktop)
  2. Created a launchable "game" that runs konsole (launch options are LD_PRELOAD=${LD_PRELOAD/_32/_64} QT_SCALE_FACTOR=1.25 %command% --fullscreen --nontransparency --new-tab --hide-menubar --qwindowgeometry 1024x640)
  3. Run the game, type "cat ttt"

When tab-completing on something that doesn't exist, a number of errors will be output by gameoverlayrenderer.so to console

JRodall commented 9 months ago

I'm having similar issue on steam deck with games crashing . Using PROTON_LOG Enabeled on command launch, as the game crashes (Lies of P in this instance) the log records "pid 6998 != 6997, skipping destruction (fork without exec?) " on final log