Stack overflow during NPC-portal loading screens

Aperta
#3,684 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend, game-dev

Direzione di ricerca

Start from follow-up #3426, then reproduce an NPC-portal loading screen with pause-on-exceptions enabled. Inspect the .push( ...array ) spreads in runtime/renderer/characters/characters.ts at lines 1156, 1686, 2466, 2886 and 3147, and verify whether any array exceeds V8's argument limit or whether another function is recursing. Done means the recursing function is identified, the root cause is confirmed, and a tested fix is in place.

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

Descrizione

area: client bug priority: high

Follow-up from #3426

The actual cause of the "Maximum call stack size exceeded" errors during NPC-portal loading screens is not yet identified. Candidates (unverified): the .push( ...array ) spreads in runtime/renderer/characters/characters.ts (lines 1156, 1686, 2466, 2886, 3147). A spread past V8's argument limit (~120k) throws exactly this RangeError.

Done when

  • The recursing function is identified via pause-on-exceptions during NPC teleport loading
  • Root cause is confirmed (spread overflow vs other recursion)
  • Fix is implemented and tested
Lingua principale
Go
Stelle
97
Fork
61
Merge medio
4h 14m
PR unite (30g)
913

Preparare l'ambiente

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 opensro-dev/opensro

Tutte le issue di opensro-dev/opensro

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.