Excerpts from Igor Brkic's message of Čet Kol 06 18:57:03 +0200 2009:
> flawless. Whatever I make, it won't crash. I'll keep trying, though :)

Interestingly, I managed to crash sup with sending last mail (Time.parse
line in mbox.rb wasn't commented).

I attached output of "sup-sync -a sup://sent" with patch you sent me
applyed (sync-log.txt).

BTW I am using gem (0.8.1) version of sup, but the same happens eith git
version.

I also attached sent.mbox file that causes sup to crash (only if the
Time.parse line is not commented - I am writing this mail from sup with
that line commented and everything works ok).
[Thu Aug 06 19:18:49 +0200 2009] using character set encoding "utf8"
which: no gpg in 
(/home/igor/.bin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin)
[Thu Aug 06 19:18:50 +0200 2009] crypto: no gpg binary detected
[Thu Aug 06 19:18:50 +0200 2009] locking /home/igor/.sup/lock...
[Thu Aug 06 19:18:50 +0200 2009] loading index...
[Thu Aug 06 19:18:50 +0200 2009] loaded index of 811 messages
Scanning sup://sent...
[Thu Aug 06 19:18:50 +0200 2009] found invalid date in potential mbox split 
line, not splitting: "From [email protected] \304\214et Kol 06 01:08:22 +0200 
2009\n"
[Thu Aug 06 19:18:50 +0200 2009] found invalid date in potential mbox split 
line, not splitting: "From [email protected] \304\214et Kol 06 01:10:02 +0200 
2009\n"
[Thu Aug 06 19:18:50 +0200 2009] found invalid date in potential mbox split 
line, not splitting: "From [email protected] \304\214et Kol 06 01:24:38 +0200 
2009\n"
[Thu Aug 06 19:18:50 +0200 2009] found invalid date in potential mbox split 
line, not splitting: "From [email protected] \304\214et Kol 06 18:57:03 +0200 
2009\n"
[Thu Aug 06 19:18:50 +0200 2009] XX before load: nil
[Thu Aug 06 19:18:50 +0200 2009] found invalid date in potential mbox split 
line, not splitting: "From [email protected] \304\214et Kol 06 00:54:46 +0200 
2009\n"
[Thu Aug 06 19:18:50 +0200 2009] problem getting messages from sup://sent: 
mismatch in mbox file offset 0: "From [email protected] \304\214et Kol 06 
00:54:46 +0200 2009\n".
[Thu Aug 06 19:18:50 +0200 2009] XX after load: nil
[Thu Aug 06 19:18:50 +0200 2009] XX after add message: nil
[Thu Aug 06 19:18:50 +0200 2009] XX after yield: nil
[Thu Aug 06 19:18:50 +0200 2009] unlocking /home/igor/.sup/lock...
/usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/index.rb:244:in `sync_message': 
undefined method `to_indexable_s' for nil:NilClass (NoMethodError)
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in `send'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in 
`method_missing'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/poll.rb:165:in 
`add_messages_from'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/source.rb:100:in 
`each'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:552:in `send'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:552:in 
`__pass'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:539:in 
`method_missing'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/poll.rb:141:in 
`add_messages_from'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in `send'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in 
`method_missing'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/bin/sup-sync:140
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/bin/sup-sync:135:in `each'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.8.1/bin/sup-sync:135
        from /usr/bin/sup-sync:19:in `load'
        from /usr/bin/sup-sync:19

Attachment: sent.mbox-crash
Description: Binary data

_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to