Subject: [sup-talk] crash when replying to message from self

From: [email-masked] (Ian Taylor)
Date: Mon, 20 Aug 2007 05:18:44 -0400

If I send a mail to one of the addresses I'm receiving mail for and then
reply to it, sup crashes.

The problem was: 'undefined method `email' for nil:NilClass' (error type NoMethodError)
A backtrace follows:
/usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/edit-message-mode.rb:291:in `sig_lines': undefined method `email' for nil:NilClass (NoMethodError)
        from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/edit-message-mode.rb:126:in `regen_text'
        from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/edit-message-mode.rb:41:in `initialize'
        from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/reply-mode.rb:84:in `initialize'
        from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:326:in `new'
        from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:326:in `reply'
        from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `send'
        from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `handle_input'
        from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:193:in `handle_input'
        from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/bin/sup:192
        from /usr/bin/sup:16:in `load'
        from /usr/bin/sup:16

-- 
Ian Taylor, Technical Assistant
Computer Science Computer Engineering
http://www.csce.uark.edu itaylor at uark.edu
University of Arkansas

---

From: [email-masked] (William Morgan)
Date: Thu, 23 Aug 2007 10:33:44 -0700

Excerpts from Ian Taylor's message of Mon Aug 20 02:18:44 -0700 2007:
> If I send a mail to one of the addresses I'm receiving mail for and
> then reply to it, sup crashes.

Seems like this would only happen if the header were somehow missing a
 From: address, like you edited the message and deleted that line or
something. Try the latest SVN... it at least shouldn't crash under this
circumstance any more.

-- 
William <wmorgan-sup at masanjin.net>