Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] [Crash] "thread_by_subject: true" leads to "wrong id called on nil"
@ 2008-03-11  4:45 Alexandra Walford
  2008-03-11  7:06 ` Christopher Warrington
  2008-03-14 18:51 ` William Morgan
  0 siblings, 2 replies; 7+ messages in thread
From: Alexandra Walford @ 2008-03-11  4:45 UTC (permalink / raw)


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 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-03-18 12:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-11  4:45 [sup-talk] [Crash] "thread_by_subject: true" leads to "wrong id called on nil" Alexandra Walford
2008-03-11  7:06 ` Christopher Warrington
2008-03-12  0:51   ` Michael Gurski
2008-03-14 18:51 ` William Morgan
2008-03-14 22:28   ` Alexandra Walford
2008-03-17 16:41   ` William Morgan
2008-03-18 12:35     ` Alexandra Walford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox