操作
バグ #1430
完了起動時にクラッシュする
プラグイン名:
クラッシュする:
はい
説明
現在のdevelopブランチ 3b7f02d6 で起動するとクラッシュします。
/home/toshi/.cache/bundle/mikutter-cli/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:30:in `>=': stack level too deep (SystemStackError) from /home/toshi/.cache/bundle/mikutter-cli/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:30:in `add' from /home/toshi/.cache/bundle/mikutter-cli/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:31:in `add' from /home/toshi/.cache/bundle/mikutter-cli/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:31:in `add' from /home/toshi/.cache/bundle/mikutter-cli/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:31:in `add' from /home/toshi/.cache/bundle/mikutter-cli/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:31:in `add' from /home/toshi/.cache/bundle/mikutter-cli/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:31:in `add' from /home/toshi/.cache/bundle/mikutter-cli/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:31:in `add' from /home/toshi/.cache/bundle/mikutter-cli/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:31:in `add' ... 9351 levels... from /home/toshi/Project/mikutter/plugin/gtk/mainloop.rb:10:in `catch' from /home/toshi/Project/mikutter/plugin/gtk/mainloop.rb:10:in `mainloop' from /home/toshi/Project/mikutter/mikutter.rb:81:in `boot!' from /home/toshi/Project/mikutter/mikutter.rb:117:in `<main>'
再現手順
- 起動する
- クラッシュする
Shibafu Midorino さんがほぼ5年前に更新
スタックの浅いところでgtk pluginがDelayerを呼んでいるようですが、さて…
/home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:39:in `add' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:31:in `add' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:39:in `add' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/extend.rb:169:in `block in reserve' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/extend.rb:167:in `synchronize' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/extend.rb:167:in `reserve' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/delayed_procedure.rb:21:in `initialize' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/extend.rb:28:in `new' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/extend.rb:28:in `initialize' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer.rb:37:in `new' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer.rb:37:in `method_missing' /home/shibafu/git/mikutter/plugin/gtk/gtk.rb:440:in `block (2 levels) in <top (required)>' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/pluggaloid-1.3.1/lib/pluggaloid/listener.rb:25:in `call' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/pluggaloid-1.3.1/lib/pluggaloid/event.rb:159:in `block (2 levels) in call_all_listeners' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/pluggaloid-1.3.1/lib/pluggaloid/event.rb:158:in `each' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/pluggaloid-1.3.1/lib/pluggaloid/event.rb:158:in `block in call_all_listeners' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/pluggaloid-1.3.1/lib/pluggaloid/event.rb:157:in `catch' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/pluggaloid-1.3.1/lib/pluggaloid/event.rb:157:in `call_all_listeners' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/pluggaloid-1.3.1/lib/pluggaloid/event.rb:43:in `block in call' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/procedure.rb:26:in `run' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer/extend.rb:102:in `run_once' /home/shibafu/git/mikutter/vendor/bundle/ruby/2.7.0/gems/delayer-1.1.1/lib/delayer.rb:37:in `method_missing' /home/shibafu/git/mikutter/plugin/gtk/mainloop.rb:23:in `block (2 levels) in mainloop' /home/shibafu/git/mikutter/plugin/gtk/mainloop.rb:12:in `loop' /home/shibafu/git/mikutter/plugin/gtk/mainloop.rb:12:in `block in mainloop' /home/shibafu/git/mikutter/plugin/gtk/mainloop.rb:10:in `catch' /home/shibafu/git/mikutter/plugin/gtk/mainloop.rb:10:in `mainloop' mikutter.rb:81:in `boot!' mikutter.rb:117:in `<main>'
toshi_a 初音 さんがほぼ5年前に更新
- ステータス を 実装待ち から レビュー待ち に変更
- 担当者 を toshi_a 初音 から Shibafu Midorino に変更
- ブランチ を topic/1430-delayer-1.1.2 にセット
修正した。他の人の環境でも動くか知りたいのでお願いします
Shibafu Midorino さんがほぼ5年前に更新
- ステータス を レビュー待ち から マージ待ち に変更
3b7f02d6 の環境で、delayerを最新版に更新した状態で、rbenvから入れた下記バージョンのRubyで正常起動できることを確認しました。
- ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
- ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
Shibafu Midorino さんがほぼ5年前に更新
はて、 #note-4 は何を寝ぼけたことを言っているんでしょうね……!
ちゃんと指定ブランチをチェックアウトして再確認しました。OKです。
操作