[BUG] SteamVR Home stack overflow on cyclic Workshop dependencies (2289310332 ↔ 3149046643)

オープン
#1,074 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux
領域
backend

調査の方向性

The report identifies unbounded recursion in the Workshop dependency walker in libclient.so, but does not identify its source file or the query that triggers it. Start by examining the uploaded crash report and locating the walker in the available SteamVR code; then reproduce the dependency cycle if possible. Done means Home can handle cyclic Workshop dependencies without unbounded recursion and launches successfully.

索引モデルが issue の本文から書いたものです。

説明

Describe the bug
SteamVR Home (steamtours) crashes about one frame after launch. All eight captured cores show the same main-thread SIGSEGV caused by unbounded recursion in the Workshop dependency walker in libclient.so.

These public Workshop items form a dependency cycle:

In the analyzed core, the recursive walker repeats for 8,998 frames at 112 bytes per frame. The 64-bit Workshop item key alternates between these two IDs, with 4,499 occurrences of each.

Neither item is subscribed or referenced in the local Workshop manifest/configuration. Encountering the cycle through a Workshop query is an inference; I have not established the query that triggers it.

The stack pointer is 0x10 bytes below the 1 MiB stack mapping. The shipped steamtours.sh launcher sets ulimit -S -s 1024.

Normalized top of stack:

#0 __printf_buffer       (libc.so.6 + 0x68d0d)
#1 __vsnprintf_internal  (libc.so.6 + 0x905ed)
#2 __snprintf_chk        (libc.so.6 + 0x13192c)
#3 steamclient.so + 0x26fd615
#4 steamclient.so + 0x179973c
#5 steamclient.so + 0x14283ce
#6 libclient.so + 0x524205
#7 libclient.so + 0x52443a
#8 libclient.so + 0x52443a
... repeated recursive frames

To Reproduce

  1. Start SteamVR with Home enabled.
  2. Allow SteamVR Home to launch.
  3. Home crashes almost immediately.

Expected behavior
Home launches and handles cyclic Workshop dependencies without unbounded recursion.

System Information (please complete the following information):

  • Steam client version (build number or date): 1788652215
  • SteamVR version: 2.18.2 beta; app build ID 25664061 (Home Breakpad version 9981207)
  • Distribution (e.g. Ubuntu): NixOS 26.11; Linux 6.18.39 x86_64; glibc 2.42-67; NVIDIA GeForce RTX 2080, driver 595.84
  • Minidumps: uploaded crash report bp-c3a6d390-6cf2-4cb1-9cf9-3506d2261005

Additional context
Disabling Home with steamvr.enableHomeApp=false in steamvr.vrsettings is the current workaround.

主要言語
Shell
スター
1.2k
フォーク
58
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ValveSoftware/SteamVR-for-Linux のほかの issue

ValveSoftware/SteamVR-for-Linux の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。