protonscr

Spurious error "fork without exec" cluttering logs and output

steamopen overlay
ValveSoftware/steam-for-linux#9241 · opened 2023-02-26 by silarsis · updated 2024-01-01 · 1 comments · github
1 matching comments, n / p to jump
Ssilarsis 2023-02-26 github

Your system information

  • Steam client version (build number or date): 1677204767
  • Distribution (e.g. Ubuntu): SteamOS Holo
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

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

JJRodall 2024-01-01 github

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