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

Aperta
#1,074 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Shell
Stelle
1.2k
Fork
58
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ValveSoftware/SteamVR-for-Linux

Tutte le issue di ValveSoftware/SteamVR-for-Linux

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.