ValveSoftware / steam-for-linux

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

steamwebhelper: TypeError: Cannot read properties of undefined (reading 'RegisterForComputerActiveStateChange') #10813

Open ipr opened 3 weeks ago

ipr commented 3 weeks ago

Your system information

Please describe your issue in as much detail as possible:

Steamwebhelper crashes during starting Steam-client. This happens only on first time, after exiting client and starting again crash does not occur. (Dialog window about crash).

In the steamwebhelper.log you can find following line that is not there when starting successfully:

[0421/032815.223212:INFO:CONSOLE(1)] "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'RegisterForComputerActiveStateChange')", source: https://steamloopback.host/libraries/libraries~2dcc5aaf7.js?contenthash=70f7a0ba36a9cc2fc8ba (1)

Soon after TypeError line there are further errors which might be caused by it:

[0421/032833.419463:WARNING:connection.cc(41)] X error received.  Request: Shm::PutImageRequest, Error: DrawableError{.sequence = 1184, .bad_value = 31457287, .minor_opcode = 3, .major_opcode = 130}
[0421/032833.421516:WARNING:connection.cc(41)] X error received.  Request: SendEventRequest, Error: WindowError{.sequence = 2278, .bad_value = 31457339, .minor_opcode = 0, .major_opcode = 25}

Steps for reproducing this issue:

  1. Reboot computer
  2. Start Steam-client
  3. Observe crash dialog

steamwebhelper.log

Logs from stable: steamwebhelper.log-stable.txt

ipr commented 3 weeks ago

Another bit from system logs that might be related (since TypeError points to a script):

huhti 28 12:24:40 Amaranthea plasmashell[9502]: src/steamUI/steamuisharedjscontroller.cpp (545) : Failed creating offscreen shared JS context
huhti 28 12:24:40 Amaranthea plasmashell[9502]: src/steamUI/steamuisharedjscontroller.cpp (545) : Failed creating offscreen shared JS context
ipr commented 3 weeks ago

Logs from current beta version: Steam Beta Branch: Steam Beta Update Steam Version: 1714160074 Steam Client Build Date: Fri, Apr 26 22:10 UTC -08:00 Steam Web Build Date: Fri, Apr 26 22:13 UTC -08:00 Steam API Version: SteamClient021

cef_log.txt

steamwebhelper.log

ipr commented 1 week ago

Problem still there, no change.

Steam Beta Branch: Steam Beta Update Steam Version: 1714854927 Steam Client Build Date: Sat, May 4 02:11 UTC -08:00 Steam Web Build Date: Sat, May 4 23:14 UTC -08:00 Steam API Version: SteamClient021