Subject: [sup-devel] [bug] two more different traces: RuntimeError from thread: poll after loading inbox

From: John Wyzer <[email-masked]>
Date: Sun, 13 Feb 2011 13:08:50 +0100

sup 0.12.1. I experienced two more different exceptions while indexing was
running in the background:

----------------------------------------------------------------
--- NoMethodError from thread: poll after loading inbox
undefined method `content_width' for nil:NilClass
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:921:in `from_width'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:840:in `text_for_thread_at'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/index.rb:537:in `each_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:839:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:839:in `each_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:839:in `text_for_thread_at'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:781:in `regen_text'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:444:in `map_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/index.rb:537:in `each_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:444:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:444:in `each_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:444:in `map_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:781:in `regen_text'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:242:in `update'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:717:in `add_or_unhide'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:196:in `handle_added_update'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `send'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `relay'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `relay'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:175:in `poll_from'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:106:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/hook.rb:128:in `each_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:105:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:105:in `each_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:105:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:90:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:90:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:155:in `poll_from'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:113:in `do_poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:103:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:103:in `do_poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:102:in `synchronize'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb

:102:in `do_poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/poll-mode.rb:15:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:49:in `poll_with_sources'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:68:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing'
/var/lib/gems/1.8/gems/sup-0.12.1/bin/sup:212
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:78:in `reporting_thread'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `initialize'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `new'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `reporting_thread'
/var/lib/gems/1.8/gems/sup-0.12.1/bin/sup:212
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:684:in `call'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:684
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:625:in `call'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:625:in `load_n_threads_background'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:78:in `reporting_thread'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `initialize'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `new'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `reporting_thread'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:623:in `load_n_threads_background'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:694:in `__unprotected_load_threads'
(eval):12:in `load_threads'
/var/lib/gems/1.8/gems/sup-0.12.1/bin/sup:212
/var/lib/gems/1.8/bin/sup:19:in `load'
/var/lib/gems/1.8/bin/sup:19

--- RuntimeError from thread: poll after loading inbox
unknown drawable object: nil in #<Redwood::InboxMode:0xf673c764> for line 37
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:200:in `draw_line'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:52:in `draw_line'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:48:in `draw'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:48:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:48:in `draw'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:37:in `draw'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:119:in `draw'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:103:in `redraw'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:339:in `draw_screen'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:197:in `handle_added_update'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `send'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `relay'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `relay'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:175:in `poll_from'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:106:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/hook.rb:128:in `each_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:105:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:105:in `each_with_index'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:105:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:90:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:90:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:155:in `poll_from'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:113:in `do_poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:103:in `each'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:103:in `do_poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:102:in `synchronize'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:102:in `do_poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/poll-mode.rb:15:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:49:in `poll_with_sources'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/poll.rb:68:in `poll'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing'
/var/lib/gems/1.8/gems/sup-0.12.1/bin/sup:212
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:78:in `reporting_thread'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `initialize'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `new'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `reporting_thread'
/var/lib/gems/1.8/gems/sup-0.12.1/bin/sup:212
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:684:in `call'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:684
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:625:in `call'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:625:in `load_n_threads_background'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:78:in `reporting_thread'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `initialize'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `new'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `reporting_thread'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:623:in `load_n_threads_background'
/var/lib/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:694:in `__unprotected_load_threads'
(eval):12:in `load_threads'
/var/lib/gems/1.8/gems/sup-0.12.1/bin/sup:212
/var/lib/gems/1.8/bin/sup:19:in `load'
/var/lib/gems/1.8/bin/sup:19

-- 
_______________________________________________
Sup-devel mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-devel