Hi,
I have a spam mail in one of my sources. This mail has the following Date-line:
Date: Mon, 1 Jan 1601 00:48:33 +0500
This makes sup/xapian/ruby (one of them) go crazy and abort with an exception:
## read 5856m (about 72%) @ 10.0m/s. 0:09:47 elapsed, about 0:03:44 remaining
/usr/lib/ruby/1.8/sup/xapian_index.rb:532:in `_dump': year too big to marshal
(ArgumentError)
from /usr/lib/ruby/1.8/sup/xapian_index.rb:532:in `dump'
from /usr/lib/ruby/1.8/sup/xapian_index.rb:532:in `index_message'
from /usr/lib/ruby/1.8/sup/xapian_index.rb:124:in `sync_message'
from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
from /usr/lib/ruby/1.8/sup/xapian_index.rb:398:in `synchronize'
from /usr/lib/ruby/1.8/sup/xapian_index.rb:123:in `sync_message'
from /usr/lib/ruby/1.8/sup/xapian_index.rb:94:in `add_message'
from /home/michael/software/sup-mainline/bin/sup-sync:211
from /usr/lib/ruby/1.8/sup/poll.rb:151:in `each_message_from'
from /usr/lib/ruby/1.8/sup/imap.rb:197:in `each'
from /usr/lib/ruby/1.8/sup/imap.rb:185:in `upto'
from /usr/lib/ruby/1.8/sup/imap.rb:185:in `each'
from /usr/lib/ruby/1.8/sup/util.rb:560:in `send'
from /usr/lib/ruby/1.8/sup/util.rb:560:in `__pass'
from /usr/lib/ruby/1.8/sup/util.rb:547:in `method_missing'
from /usr/lib/ruby/1.8/sup/poll.rb:139:in `each_message_from'
from /usr/lib/ruby/1.8/sup/util.rb:520:in `send'
from /usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
from /home/michael/software/sup-mainline/bin/sup-sync:146
from /home/michael/software/sup-mainline/bin/sup-sync:141:in `each'
from /home/michael/software/sup-mainline/bin/sup-sync:141
I used revision 68bf6a277c5fdefb3b9d6a4b5d4dfbce3f9f9ccf of sup.
Best regards,
Michael
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk