Subject: [sup-talk] 'next' crash: wrong id called on nil (thread.rb:264:in `thread_for')

From: [email-masked] (Carl Worth)
Date: Thu, 20 Aug 2009 19:09:15 -0700

I'm running sup next, (3de96fb9b308afe600c7ccfcee75913f039ef4f6 + 3
patches that I've posted to this list, but which I hope are not
relevant here), and I got the following crash.

My best recollection is that I had just sent a reply, and then hit
".a".

Anything here look like an obvious fix for someone?

-Carl

--- RuntimeError from thread: main
wrong id called on nil
./lib/sup.rb:17:in `id'
./lib/sup/thread.rb:264:in `thread_for'
./lib/sup/modes/thread-index-mode.rb:702:in `thread_containing'
./lib/sup/modes/thread-index-mode.rb:702:in `synchronize'
./lib/sup/modes/thread-index-mode.rb:702:in `thread_containing'
./lib/sup/modes/thread-index-mode.rb:173:in `handle_simple_update'
./lib/sup/modes/thread-index-mode.rb:180:in `handle_archived_update'
./lib/sup/update.rb:26:in `send'
./lib/sup/update.rb:26:in `relay'
./lib/sup/update.rb:26:in `each'
./lib/sup/update.rb:26:in `relay'
./lib/sup/util.rb:520:in `send'
./lib/sup/util.rb:520:in `method_missing'
./lib/sup/modes/thread-view-mode.rb:481:in `archive_and_then'
./lib/sup/modes/thread-view-mode.rb:515:in `dispatch'
./lib/sup/modes/thread-view-mode.rb:525:in `call'
./lib/sup/modes/thread-view-mode.rb:525:in `dispatch'
./lib/sup/modes/thread-view-mode.rb:479:in `archive_and_then'
./lib/sup/modes/thread-view-mode.rb:461:in `archive_and_kill'
./lib/sup/mode.rb:50:in `send'
./lib/sup/mode.rb:50:in `handle_input'
./lib/sup/buffer.rb:260:in `handle_input'
./bin/sup:237

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090820/c9929115/attachment.bin>

---

From: [email-masked] (William Morgan)
Date: Mon, 24 Aug 2009 15:45:37 -0700

> --- RuntimeError from thread: main

I think this should be fixed in recent nexts. Can you confirm?
-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Carl Worth)
Date: Wed, 26 Aug 2009 13:26:34 -0700

> I think this should be fixed in recent nexts. Can you confirm?

I don't think I'll be able to, (since I don't have a good recipe for
reproducing the bug). But I'll certainly start running rom newer next
and I'll let you know if I run into any further problems.

Thanks for everything,

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090826/e9ada9c1/attachment.bin>