armhf segmentation fault --inspect-brk and simple import statement
オープン
まだ誰も着手していません。
confirmed-bug
inspector
v8 engine
- 主要言語
- JavaScript
- スター
- 122k
- フォーク
- 37.3k
- 平均マージ
- 4日 2時間
- マージ済み PR(30日)
- 283
説明
Version
18.13.0, 18.17.0
Platform
6.1.0-10-armmp #1 SMP Debian 6.1.38-1 (2023-07-14) armv7l GNU/Linux
Subsystem
inspector
What steps will reproduce the bug?
Execute
node --inspect-brk main.js
with these files:
import './odd.js';
and
class A extends URL {
constructor(str) {
super(str);
}
toString() {
return super.toString();
}
}
console.log("fail")
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
Not fail
What do you see instead?
Segmentation fault
Additional information
Reproduced with the debian package AND the latest nodesource package node 18.x on debian bookworm.
Small changes to odd.js will stop crashing.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
報告された armv7l Debian 環境で、issue にある main.js と odd.js の例を使用して、まず node --inspect-brk main.js でクラッシュを再現します。inspector の起動パスを追跡し、同じ条件下で import が segmentation fault を引き起こさなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, linux, node.js
- 領域
- devtools, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100