Stack overflow during NPC-portal loading screens

Offen
#3,684 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
frontend, game-dev

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Go
Sterne
97
Forks
61
Ø Merge
4 Std. 14 Min.
Gemergte PRs (30 T.)
913

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus opensro-dev/opensro

Alle Issues in opensro-dev/opensro

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.