protonscr

New Steam Chat Crashes on Hover Popup

steamclosed Steam clientDistro Family: UbuntuWeb Component
ValveSoftware/steam-for-linux#5595 · opened 2018-07-28 by robobenklein · updated 2019-07-18 · 7 comments · github
Rrobobenklein 2018-07-28 github

Your system information

  • Steam client version (build number or date): Jul 24 2018 18:27:28 API v018
  • Distribution: Ubuntu 18.04 (Gnome Shell)
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

New friends chat GUI crashes when it should display a pop-up on hovering over a player's icon.

(Repeated errors trimmed:)

Assert( CClientPipe::BWriteAndReadResult: BWaitResult failed, disconnected ):../common/pipes.cpp:766

No minidump written, nothing to upload.
[0728/002642.114550:WARNING:crash_reporting.cc(254)] Failed to set crash key: UserID with value: 0
[0728/002642.138925:ERROR:nss_util.cc(83)] Failed to create /home/robo/.pki/nssdb directory.
[0728/002642.139910:WARNING:crash_reporting.cc(254)] Failed to set crash key: UserID with value: 7656------------0
[0728/002642.139985:WARNING:crash_reporting.cc(254)] Failed to set crash key: BuildID with value: 1532458786
[0728/002642.140022:WARNING:crash_reporting.cc(254)] Failed to set crash key: SteamUniverse with value: Public
[0728/002642.140417:WARNING:crash_reporting.cc(254)] Failed to set crash key: Version with value: 20180724182755
[0728/002642.140482:WARNING:crash_reporting.cc(254)] Failed to set crash key: ProductName with value: cefwebhelper
[0728/002642.140496:WARNING:crash_reporting.cc(254)] Failed to set crash key: Vendor with value: Valve
[0728/002643.122265:INFO:chrome_scheme_handler.cc(537)] Reguest for unknown chrome resource: chrome://blank/?createflags=18&minwidth=226&minheight=400
[0728/002643.285387:WARNING:x11_util.cc(1362)] X error received: serial 62, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0728/002644.141701:ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization
Setting breakpad minidump AppID = 769
Steam_SetMinidumpSteamID:  Caching Steam ID:  7656------------0 [API loaded no]
[0728/002647.240255:WARNING:crash_reporting.cc(254)] Failed to set crash key: SteamUniverse with value: Public
[0728/002648.142864:ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization

Other graphical popups (like menus) also get stuck or bugged.

[0728/003913.811149:WARNING:x11_util.cc(1362)] X error received: serial 83, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0728/003913.846003:WARNING:x11_util.cc(1362)] X error received: serial 87, error_code 3 (BadWindow (invalid Window parameter)), request_code 155, minor_code 31 (X_GLXCreateWindow)
[0728/003913.846562:WARNING:x11_util.cc(1362)] X error received: serial 88, error_code 182 (GLXBadWindow), request_code 155, minor_code 32 (X_GLXDestroyWindow)
[0728/003913.846594:WARNING:x11_util.cc(1362)] X error received: serial 89, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)

Steps for reproducing this issue:

  1. Open Steam
  2. Wait for friends GUI to show up automatically
  3. Hover mouse over a friend
  4. New friends GUI crashes, cannot load steam://friends or steam://open/friends URIs.
Rrobobenklein 2018-07-28 github

Just checked and the issue is still present on the Client Beta for Jul 28 2018 01:51:35

Kkisak-valve maintainer 2018-07-28 github

Hello @robobenklein, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

Rrobobenklein 2018-07-29 github

This issue has changed behaviour, although it still does not work as intended.

Now instead of crashing the whole friends panel/window, the on-hover popups are not displayed whatsoever.

The only error that I get that seems to be related is this:

[0729/023209.598161:WARNING:x11_util.cc(1362)] X error received: serial 477, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
Installing breakpad exception handler for appid(steam)/version(1532458786)
[0729/023423.724225:ERROR:gl_surface_glx.cc(574)] XGetWindowAttributes failed for window 123731990.
[0729/023423.724308:ERROR:gles2_command_buffer_stub.cc(226)] ContextResult::kFatalFailure: Failed to create surface.
[0729/023423.724379:WARNING:x11_util.cc(1362)] X error received: serial 425, error_code 3 (BadWindow (invalid Window parameter)), request_code 3, minor_code 0 (X_GetWindowAttributes)
[0729/023423.724512:ERROR:gpu_process_transport_factory.cc(1029)] Lost UI shared context.
[0729/023423.830900:ERROR:command_buffer_proxy_impl.cc(114)] ContextResult::kFatalFailure: Shared memory handle is not valid
Rrobobenklein 2018-07-29 github

Interesting, Steam Chat just crashed when I opened a game. More information:

Assert( CClientPipe::BWriteAndReadResult: BWaitResult failed, disconnected ):../common/pipes.cpp:766
...
[0729/031323.419341:ERROR:nss_util.cc(83)] Failed to create /home/robo/.pki/nssdb directory.
...
[0729/031324.605563:INFO:chrome_scheme_handler.cc(537)] Reguest for unknown chrome resource: chrome://blank/?createflags=18&minwidth=226&minheight=400&restoredetails=1&x=275&y=114&w=542&h=777

Not really sure which of those errors might be causing the problem...

Rrobobenklein 2018-08-07 github

Another note: when the new UI does crash, steam pins the CPU at max until quitting steam, which then exits with a SIGSEGV.

  1. Launch Steam
  2. Friends UI crashes
  3. One CPU thread gets pinned at 100% by the steam process
  4. Exit steam and relaunch to fix issue (until the Friends UI crashes again)
/home/robo/.local/share/Steam/steam.sh: line 876:   193 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
/home/robo/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 5:   330 Segmentation fault      (core dumped) ./steamwebhelper "$@"
Rrobobenklein 2018-08-23 github

Seems to be resolved on latest Steam Beta, still getting a bunch of similar errors though:

[0822/224627.936086:WARNING:x11_util.cc(1362)] X error received: serial 356, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0822/224629.681081:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[0822/224629.681364:ERROR:gles2_cmd_decoder.cc(4508)]   GLES2DecoderImpl: Context lost during MakeCurrent.
[0822/224629.682449:WARNING:x11_util.cc(1362)] X error received: serial 758, error_code 182 (GLXBadWindow), request_code 155, minor_code 26 (X_GLXMakeContextCurrent)
[0822/224629.683016:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[0822/224629.686239:WARNING:x11_util.cc(1362)] X error received: serial 792, error_code 182 (GLXBadWindow), request_code 155, minor_code 26 (X_GLXMakeContextCurrent)
[0822/224629.686301:WARNING:x11_util.cc(1362)] X error received: serial 795, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0822/224629.690889:WARNING:x11_util.cc(1362)] X error received: serial 695, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
Game update: AppID 459820 "", ProcID 530, IP 0.0.0.0:0
Installing breakpad exception handler for appid(steam)/version(1534892652)
[0822/224636.184380:WARNING:x11_util.cc(1362)] X error received: serial 860, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
Segmentation fault (core dumped)

Nothing extracted yet.