Subject: [sup-talk] Sup crashing

From: [email-masked] (Taru Karttunen)
Date: Thu, 13 Aug 2009 10:32:02 +0300

Hello

I am using Sup git master version and it started to crash today
when viewing messages with a label. Any hints how to fix this?

--- ArgumentError from thread: load threads for thread-index-mode
:93349 is out of range [0..93204] for IndexReader#[]
/usr/lib/ruby/1.8/ferret/index.rb:421:in `[]'
/usr/lib/ruby/1.8/ferret/index.rb:421:in `[]'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/ferret/index.rb:413:in `[]'
./lib/sup/ferret_index.rb:151:in `each_id_by_date'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
./lib/sup/ferret_index.rb:151:in `each_id_by_date'
./lib/sup/ferret_index.rb:150:in `each'
./lib/sup/ferret_index.rb:150:in `each_id_by_date'
./lib/sup/thread.rb:328:in `load_n_threads'
./lib/sup/modes/thread-index-mode.rb:623:in `__unprotected_load_n_threads'
(eval):12:in `load_n_threads'
./lib/sup/modes/thread-index-mode.rb:607:in `load_n_threads_background'
./lib/sup.rb:77:in `reporting_thread'
./lib/sup.rb:75:in `initialize'
./lib/sup.rb:75:in `new'
./lib/sup.rb:75:in `reporting_thread'
./lib/sup/modes/thread-index-mode.rb:606:in `load_n_threads_background'
./lib/sup/modes/thread-index-mode.rb:676:in `__unprotected_load_threads'
(eval):12:in `load_threads'
./lib/sup/modes/label-search-results-mode.rb:33:in `spawn_nicely'
./lib/sup/modes/label-list-mode.rb:93:in `select_label'
./lib/sup/mode.rb:50:in `send'
./lib/sup/mode.rb:50:in `handle_input'
./lib/sup/buffer.rb:249:in `handle_input'
bin/sup:236

- Taru Karttunen

---

From: [email-masked] (William Morgan)
Date: Fri, 14 Aug 2009 13:20:28 -0700

> :93349 is out of range [0..93204] for IndexReader#[]

Weird. Does sup-sync --optimize fix anything?
-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Taru Karttunen)
Date: Mon, 17 Aug 2009 10:22:35 +0300

> Weird. Does sup-sync --optimize fix anything?

Made things work again. Thanks.

- Taru Karttunen

---

From: [email-masked] (William Morgan)
Date: Mon, 17 Aug 2009 07:01:10 -0700

> Made things work again. Thanks.

Good.  Let me know if it happens again. I'm not sure what would cause it
to get in that state.
-- 
William <wmorgan-sup at masanjin.net>