From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandra@walford.id.au (Alexandra Walford) Date: Tue, 11 Mar 2008 14:45:43 +1000 Subject: [sup-talk] [Crash] "thread_by_subject: true" leads to "wrong id called on nil" Message-ID: <1205210652-sup-1364@amethyst> Hi all, I am getting frequent sup crashes with "wrong id called on nil" (using the latest git master), when thread_by_subject is true. The crash generally happens when the thread index is being built as a result of a search, or when opening the inbox (which is really just another sort of search). I have managed to narrow down one particular crash to two messages sent to the sup-talk list. If I set up a new maildir containing only those two messages and a new sup config, accepting all sup-config defaults and changing thread_by_subject to true, then I can reproduce the crash reliably. The second message References: the first message, although the subjects are dissimilar. I have attached the two messages, a transcript of my test case session (including backtrace), and sup-exception-log.txt. I am not yet familiar enough with sup or ruby to offer a decent patch; my current fix just hides any thread which will cause a crash, on line 208 of lib/sup/modes/thread-index-mode.rb in git master, which is a hopeless workaround really. Thanks, Alexandra -- alexandra at walford.id.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: message1.txt Url: http://rubyforge.org/pipermail/sup-talk/attachments/20080311/3d1a1cb1/attachment.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: message2.txt Url: http://rubyforge.org/pipermail/sup-talk/attachments/20080311/3d1a1cb1/attachment-0001.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sup-exception-log.txt Url: http://rubyforge.org/pipermail/sup-talk/attachments/20080311/3d1a1cb1/attachment-0002.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sup-test-case.txt Url: http://rubyforge.org/pipermail/sup-talk/attachments/20080311/3d1a1cb1/attachment-0003.txt