Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Chrome hang with Capybara and RSpec

オープン
#336 コメント 13 件 リアクション 2 件 担当者 0 名 GitHub で見る

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ruby

調査の方向性

Start with the reproduction repository's README and the simplified gist, then run the Capybara/RSpec case under the default both fork mode and compare it with child and parent. Trace where the debugger interacts with the forked process and Chrome; done means the reproduction no longer hangs under both while the existing modes continue to work.

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

説明

Your environment

  • ruby -v: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
  • rdbg -v: rdbg 1.3.1 (f5ff7f7)
  • OS: macOS 11.6 20G165

Describe the bug

When running Capybara and RSpec with Chrome under a certain condition, Chrome hangs.
This never occurs with the child / parent fork mode. It occurs only with the both fork mode (default).

To Reproduce

I prepare a repository for reproduction. Please follow the instruction on the README:
https://github.com/ybiquitous/ruby-debug-with-capybara

https://user-images.githubusercontent.com/473530/138542439-59d77839-886b-4f6b-bf9b-37f05cd538f9.mov

Note: Here is a simplified version on Gist (thanks to @nishio-dens):
https://gist.github.com/nishio-dens/c64245eb143e9c3b22b9d7b9f93f25d2

Expected behavior

I think Chrome should not hang.

Additional context

None.

主要言語
Ruby
スター
1.3k
フォーク
146
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

ruby/debug のほかの issue

ruby/debug の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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