操作
バグ #1259
完了特定の URI 文字列を含むツイートを表示すると落ちる
プラグイン名:
クラッシュする:
はい
説明
以下のツイート
https://twitter.com/neta__/status/1003680831829766150
を mikutter で表示すると以下の現象になるようです。
https://twitter.com/neta__/status/1003680831829766150
を mikutter で表示すると以下の現象になるようです。
- ツイート表示が error 画像になる
- その error 表示のツイート部分をクリックすると mikutter がクラッシュする or ハングする
クラレポは以下
Addressable::URI::InvalidURIError Invalid character in host: 'www\.apple' /usr/pkg/lib/ruby/gems/2.4.0/gems/addressable-2.5.2/lib/addressable/uri.rb:2438:in `validate' /usr/pkg/lib/ruby/gems/2.4.0/gems/addressable-2.5.2/lib/addressable/uri.rb:2357:in `defer_validation' /usr/pkg/lib/ruby/gems/2.4.0/gems/addressable-2.5.2/lib/addressable/uri.rb:796:in `initialize' /usr/pkg/lib/ruby/gems/2.4.0/gems/addressable-2.5.2/lib/addressable/uri.rb:136:in `new' /usr/pkg/lib/ruby/gems/2.4.0/gems/addressable-2.5.2/lib/addressable/uri.rb:136:in `parse' /usr/pkg/lib/ruby/gems/2.4.0/gems/diva-0.3.2/lib/diva/uri.rb:123:in `rescue in generate_uri_by_string' /usr/pkg/lib/ruby/gems/2.4.0/gems/diva-0.3.2/lib/diva/uri.rb:120:in `generate_uri_by_string' /usr/pkg/lib/ruby/gems/2.4.0/gems/diva-0.3.2/lib/diva/uri.rb:113:in `generate_uri' /usr/pkg/lib/ruby/gems/2.4.0/gems/diva-0.3.2/lib/diva/uri.rb:75:in `to_uri' /usr/pkg/lib/ruby/gems/2.4.0/gems/diva-0.3.2/lib/diva/uri.rb:104:in `method_missing' {MIKUTTER_DIR}/core/plugin/search/model/search.rb:13:in `block in <class:Search>' {MIKUTTER_DIR}/core/lib/diva_hacks/model.rb:100:in `block (2 levels) in handle' /usr/pkg/lib/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/filter.rb:28:in `filtering' /usr/pkg/lib/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:59:in `block (2 levels) in filtering' /usr/pkg/lib/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:58:in `each' /usr/pkg/lib/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:58:in `reduce' /usr/pkg/lib/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:58:in `block in filtering' /usr/pkg/lib/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:57:in `catch' /usr/pkg/lib/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:57:in `filtering' /usr/pkg/lib/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/plugin.rb:63:in `filtering' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:35:in `block (2 levels) in initialize' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:38:in `each' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:38:in `each' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:38:in `each' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:38:in `each' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:38:in `each' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:38:in `find' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:38:in `block in initialize' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:33:in `map' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_quote.rb:33:in `initialize' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_helper.rb:21:in `new' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_helper.rb:21:in `block in subparts' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_helper.rb:21:in `map' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_helper.rb:21:in `subparts' {MIKUTTER_DIR}/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_helper.rb:41:in `_subparts_height' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_helper.rb:34:in `subparts_height' {MIKUTTER_DIR}/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class' {MIKUTTER_DIR}/core/mui/cairo_coordinate_module.rb:48:in `height' {MIKUTTER_DIR}/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class' {MIKUTTER_DIR}/core/mui/cairo_coordinate_module.rb:53:in `mainpart_height' {MIKUTTER_DIR}/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class' {MIKUTTER_DIR}/core/mui/cairo_sub_parts_voter.rb:18:in `block in initialize' {MIKUTTER_DIR}/core/mui/gtk_extension.rb:35:in `block in safety_signal_connect' {MIKUTTER_DIR}/core/lib/uithreadonly.rb:22:in `signal_emit' {MIKUTTER_DIR}/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class' {MIKUTTER_DIR}/core/mui/cairo_miracle_painter.rb:152:in `clicked' {MIKUTTER_DIR}/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class' {MIKUTTER_DIR}/core/mui/cairo_cell_renderer_message.rb:160:in `block in event_hooks' {MIKUTTER_DIR}/core/mui/gtk_extension.rb:35:in `block in safety_signal_connect' {MIKUTTER_DIR}/core/mui/cairo_cell_renderer_message.rb:97:in `signal_emit' {MIKUTTER_DIR}/core/mui/cairo_cell_renderer_message.rb:97:in `block in tree=' {MIKUTTER_DIR}/core/mui/gtk_extension.rb:35:in `block in safety_signal_connect' {MIKUTTER_DIR}/core/plugin/gtk/mainloop.rb:10:in `main' {MIKUTTER_DIR}/core/plugin/gtk/mainloop.rb:10:in `mainloop' {MIKUTTER_DIR}/mikutter.rb:66:in `boot!' {MIKUTTER_DIR}/mikutter.rb:102:in `<main>'
apple\.com という文字列が addressable の秘孔を突いている感じ?
addressable のバージョンは (pkgsrc 環境の) 2.5.2 です。
ファイル
操作