client: Maximum call stack size exceeded bursts during teleport loading; the report carried no stack (journal dedup)

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

Start in bug-report/journal.ts at recordError to see why the error event is missing from timeline.json, then check the dedup and export filter in archive.ts and the message-only listError in bug-report.ts. Reproduce by opening the Att.Grant window at the Donwhang blacksmith and scrolling with the magic-option-down control while watching the console for the stack. Done when the recursion is fixed with a test and a repeating error's first stack reaches the report.

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

説明

area: client bug priority: high

Report: https://discord.com/channels/1550530470430396426/1570495242120200334 (BR-261112-1747-51F8)

The report's "Recent client errors" field lists Uncaught RangeError: Maximum call stack size exceeded once at 12:54:01 and then about once a second from 12:55:09 to the report. The player was at the Donwhang blacksmith with the Att.Grant (avatar magic option) window open, scrolling its option list; the replay shows the window and the world working.

Gap: the report's timeline.json holds no error event at all, though the journal records errors with their stack (bug-report/journal.ts recordError) and the archive allows the error kind and stack field (archive.ts). So nothing tells us which code recursed. The embed's error list comes from bug-report.ts listError, which keeps only the message.

Next steps:

  1. Find out why the journal's error event is missing from the timeline: dedup by signature, the journal window, or the export filter dropping the event.
  2. Reproduce: open the blacksmith's Att.Grant with a dress inserted and scroll the option list (the magic-option-down control) with the browser console open, and capture the stack.
  3. Fix the recursion, and make sure a report always carries the first stack of a repeating error.

Done when the recursion is found and fixed with a test, and a report of a repeating error carries its stack.

主要言語
Go
スター
97
フォーク
61
平均マージ
4時間 14分
マージ済み PR(30日)
913

環境構築

はじめの一歩

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

opensro-dev/opensro のほかの issue

opensro-dev/opensro の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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