Subject: [sup-talk] Sup crash report

From: [email-masked] (Ismo Puustinen)
Date: Mon, 3 Dec 2007 22:45:28 +0200

Hi,

Sup crashed on me and asked that I send the backtrace to this 
address, so here we go. :-) I was opening sup for the first time 
after initializing the index with the sup-config command, when 
the crash happened. The email indexing failed also at some 80% 
on a similar unicode problem, but the program told me after the 
script that sup was still ready to run. 
 
The sup-unable-to-decode.txt contains a message to me from Amazon 
mailer bot. The message has my postal address, which in turn has 
some ? and ? (a with dots and o with dots) characters. 
 
This is the backtrace: 
 
--- Iconv::InvalidCharacter from thread: poll after loading inbox 
"\303" 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/rfc2047.rb:58:in `iconv' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/rfc2047.rb:58:in `decode_to' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/rfc2047.rb:33:in `gsub' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/rfc2047.rb:33:in `decode_to' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/mbox.rb:59:in `read_header' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/mbox.rb:55:in `each' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/mbox.rb:55:in `read_header' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:97:in `load_header' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:533:in `send' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:533:in `__pass' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:522:in `method_missing' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/message.rb:57:in `initialize' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:150:in `new' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:150:in `add_messages_from' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:170:in `each' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:158:in `upto' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:158:in `each' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:533:in `send' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:533:in `__pass' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:522:in `method_missing' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:140:in `add_messages_from' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:97:in `do_poll' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:85:in `each' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:85:in `do_poll' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:84:in `synchronize' 
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:84:in `do_poll'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/poll-mode.rb:17:in `poll'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:52:in `poll'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:185
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:69:in `reporting_thread'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `initialize'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `new'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `reporting_thread'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:185
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:445:in `call'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:445:in `__unprotected_load_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:405:in `call'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:405:in `load_n_threads_background'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:69:in `reporting_thread'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `initialize'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `new'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `reporting_thread'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:403:in `load_n_threads_background'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:454:in `__unprotected_load_threads'
(eval):12:in `load_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:185
/usr/bin/sup:16:in `load'
/usr/bin/sup:16
--- SystemExit from thread: main
"\303"
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:73:in `select'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:31:in `nonblocking_getch'
/usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:198
/usr/bin/sup:16:in `load'
/usr/bin/sup:16

-- 
Ismo Puustinen <ismo at iki.fi>