Project

General

Profile

バグ #255

WindowsでURLリンクをクリックするとクラッシュする

Added by toshi_a 初音 over 9 years ago. Updated almost 9 years ago.

Status:
終了
Priority:
通常
Target version:
プラグイン名:
ブランチ:
クラッシュする:

Description

バックトレースがとどいたよ
報告6249

C:/ruby/mikutter/core/utils.rb:427:in `spawn': No such file or directory - /etc/alternatives/x-www-browser
     from C:/ruby/mikutter/core/utils.rb:427:in `bg_system'
     from C:/ruby/mikutter/core/mui/gtk_extension.rb:190:in `openurl'
     from C:/ruby/mikutter/core/mui/gtk_timeline_utils.rb:32:in `block in wayofopenlink'
     from C:/ruby/mikutter/core/mui/gtk_timeline_utils.rb:49:in `call'
     from C:/ruby/mikutter/core/mui/gtk_timeline_utils.rb:49:in `block (2 levels) in gen_openurl_proc'
     from C:/ruby/mikutter/core/miku/cons.rb:34:in `call'
     from C:/ruby/mikutter/core/miku/cons.rb:34:in `each'
     from C:/ruby/mikutter/core/miku/cons.rb:35:in `each'
     from C:/ruby/mikutter/core/miku/cons.rb:35:in `each'
     from C:/ruby/mikutter/core/miku/cons.rb:35:in `each'
     from C:/ruby/mikutter/core/miku/cons.rb:35:in `each'
     from C:/ruby/mikutter/core/miku/cons.rb:35:in `each'
     from C:/ruby/mikutter/core/miku/cons.rb:35:in `each'
     from C:/ruby/mikutter/core/miku/cons.rb:35:in `each'
     from C:/ruby/mikutter/core/miku/cons.rb:35:in `each'
     from C:/ruby/mikutter/core/miku/cons.rb:35:in `each'
     from C:/ruby/mikutter/core/mui/gtk_timeline_utils.rb:46:in `each_with_index'
     from C:/ruby/mikutter/core/mui/gtk_timeline_utils.rb:46:in `block in gen_openurl_proc'
     from C:/ruby/mikutter/core/mui/gtk_timeline_utils.rb:40:in `call'
     from C:/ruby/mikutter/core/mui/gtk_timeline_utils.rb:40:in `openurl'
     from C:/ruby/mikutter/core/mui/gtk_intelligent_textview.rb:40:in `openurl'
     from C:/ruby/mikutter/core/mui/gtk_intelligent_textview.rb:17:in `block in <class:IntelligentTextview>'
     from C:/ruby/mikutter/core/mui/gtk_intelligent_textview.rb:125:in `call'
     from C:/ruby/mikutter/core/mui/gtk_intelligent_textview.rb:125:in `block in create_tag_ifnecessary'
     from C:/ruby/mikutter/core/addon/change_account.rb:72:in `call'
     from C:/ruby/mikutter/core/addon/change_account.rb:72:in `main'
     from C:/ruby/mikutter/core/addon/change_account.rb:72:in `_popup'
     from C:/ruby/mikutter/core/addon/change_account.rb:23:in `block in popup'
     from C:/ruby/mikutter/core/delayer.rb:38:in `call'
     from C:/ruby/mikutter/core/delayer.rb:38:in `run'
     from C:/ruby/mikutter/core/delayer.rb:60:in `block (2 levels) in run'
     from C:/ruby/mikutter/core/delayer.rb:58:in `each'
     from C:/ruby/mikutter/core/delayer.rb:58:in `block in run'
     from C:/ruby/mikutter/core/delayer.rb:54:in `times'
     from C:/ruby/mikutter/core/delayer.rb:54:in `run'
     from mikutter/mikutter.rb:159:in `block in main'
     from mikutter/mikutter.rb:164:in `call'
     from mikutter/mikutter.rb:164:in `main'
     from mikutter/mikutter.rb:164:in `main'
     from mikutter/mikutter.rb:84:in `boot'
     from mikutter/mikutter.rb:202:in `<main>'

notify.rbからサウンド関連を切り出したときに、win32 API関連のライブラリをロードしなくなってしまったので、その影響っぽい
gtk_extension.rbでロードするようにしたら解決かなー?

#1

Updated by toshi_a 初音 over 9 years ago

プラットフォーム名

i386-mingw32

仮説が正しいとすると俺がgithub上に置いてるWindows用サウンドプラグイン入れたらリンクも開けることになってしまう

#2

Updated by toshi_a 初音 over 9 years ago

  • Target version set to 0.0.3
#3

Updated by toshi_a 初音 almost 9 years ago

  • Status changed from 新規 to 実装待ち

最新版ではそもそもすぐにクラッシュするけれど、とりあえずチケットを閉じるためにライブラリのロードだけは書いておきます。検証も、現在のmikutterはWindowsで起動できないので、とくにしません。またなにか問題になったら対策をしましょう。

#4

Updated by Anonymous almost 9 years ago

  • Status changed from 実装待ち to 終了
  • % Done changed from 0 to 100

更新履歴 r612 で適用されました。

Also available in: Atom PDF