* [sup-devel] [issue109] Crash when loading all threads (!!)
@ 2010-06-03 0:18 Truxton Fulton
2010-06-03 8:27 ` Truxton Fulton
0 siblings, 1 reply; 2+ messages in thread
From: Truxton Fulton @ 2010-06-03 0:18 UTC (permalink / raw)
To: sup-devel
[-- Attachment #1: Type: text/plain, Size: 718 bytes --]
New submission from Truxton Fulton <truxton@truxton.com>:
I started sup
There are 127945 messages in index
I pressed L then chose a label that had 10122 messages
sup displayed the first 60 threads
I pressed !! to load all threads
(because I want to apply 'a'rchive to all of them)
after loading 546 threads, sup crashes (log attached).
----------
files: exception-log.txt
keyword: maildir
messages: 244
nosy: trux
priority: bug
ruby_version: 1.8.6
status: unread
sup_version: 0.11
title: Crash when loading all threads (!!)
_________________________________________
Sup issue tracker <sup-bugs@masanjin.net>
<http://masanjin.net/sup-bugs/issue109>
_________________________________________
[-- Attachment #2: exception-log.txt --]
[-- Type: text/plain, Size: 2554 bytes --]
--- RuntimeError from thread: load threads for thread-index-mode
wrong id called on nil
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:17:in `id'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:234:in `update'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/hook.rb:123:in `sort_by'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:234:in `each'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:234:in `sort_by'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:234:in `update'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:232:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:232:in `update'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:643:in `__unprotected_load_n_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/thread.rb:334:in `load_n_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:148:in `each_id_by_date'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:239:in `each_id'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:239:in `each'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:239:in `each_id'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:148:in `each_id_by_date'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/thread.rb:328:in `load_n_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:640:in `__unprotected_load_n_threads'
(eval):12:in `load_n_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:624:in `load_n_threads_background'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:76:in `reporting_thread'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `initialize'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `new'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `reporting_thread'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:623:in `load_n_threads_background'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:694:in `__unprotected_load_threads'
(eval):12:in `load_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:673:in `load_all_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/mode.rb:59:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/mode.rb:59:in `handle_input'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/buffer.rb:279:in `handle_input'
/usr/lib/ruby/gems/1.8/gems/sup-0.11/bin/sup:279
/usr/bin/sup:19:in `load'
/usr/bin/sup:19
[-- Attachment #3: Type: text/plain, Size: 143 bytes --]
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sup-devel] [issue109] Crash when loading all threads (!!)
2010-06-03 0:18 [sup-devel] [issue109] Crash when loading all threads (!!) Truxton Fulton
@ 2010-06-03 8:27 ` Truxton Fulton
0 siblings, 0 replies; 2+ messages in thread
From: Truxton Fulton @ 2010-06-03 8:27 UTC (permalink / raw)
To: Truxton Fulton; +Cc: sup-devel
Hi sup developers!
I've narrowed down the crash to the presence of 2 particular mails.
I can reproduce the crash by creating a brand new sup config
for a maildir containing only these 2 messages. When sup starts
up it gets the "wrong id called on nil" crash. It seems that
either message by itself is fine, but the combination of the
two messages causes the problem.
You can download these mails from my web server :
http://www.truxton.com/bad2.tar.gz
Thanks,
-Truxton
--
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-03 8:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-03 0:18 [sup-devel] [issue109] Crash when loading all threads (!!) Truxton Fulton
2010-06-03 8:27 ` Truxton Fulton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox