Subject: [sup-talk] Exception crashing sup

From: Marc Hartstein <[email-masked]>
Date: Tue, 26 Apr 2011 13:03:19 -0400

Something happened causing sup to crash, and now I get this exception
every time I try to start. I'm currently tracking master.

I tried (afterward) doing a dump/sync --restore cycle, which didn't
fix it. I thought maybe the message which had been being sent when it
first crashed had gotten corrupted in sent.mbox, so I went in with
mutt and deleted that manually. After another sync after that, sup
started up fine and I was able to use it for a bit, but then it
crashed again. It felt like it was as it tried to load more messages
to the inbox view, so I'm now thinking the reason it was briefly
working was just that enough messages had come in over a couple of
days to push the culprit past what was getting loaded at startup.

The log doesn't look like it will be much help, but I'm attaching it ayway.

Any ideas?
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Marc Hartstein <[email-masked]>
Date: Tue, 26 Apr 2011 16:43:21 -0400

> every time I try to start. I'm currently tracking master.

Finally got it (though that outgoing message is lost because I foolishly
deleted it earlier; but that's ok, it wasn't that important anyway).

The message_id for the problem message appears to have appeared twice in
a row in the index. This caused find_docid to fail, ungracefully. Going
into the devel console, finding the message id, and doing
Index.delete("<message_id>") appears to have cleared things up nicely.

I believe the problem may have been caused in the first place by my
impatiently pressing ^L while a message was still sending. Not sure why
this would have this effect, but that was what I did when it crashed.
The outgoing message was GPG-signed, which might be relevant.

Sorry I didn't think to preserve the message for analysis. Although it
appears it made it out to gmail and out to the recipient (and it looks
fine).
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk