We also had a similar problem like this on one of our long running servers although I didn't find some time to archive the logs. I'm not sure if it's related; but I can see clearly that you're using python2.4 and it has some funky issues with its memory management (<a href="http://evanjones.ca/python-memory-part2.html">http://evanjones.ca/python-memory-part2.html</a>).<br>
<br>We don't experience it anymore ever since we upgraded to python2.5. <br><br>---<br>Alvin<br><br><br><div class="gmail_quote">On Sun, Mar 22, 2009 at 11:10 PM, Christopher Armstrong <span dir="ltr"><<a href="mailto:radix@twistedmatrix.com">radix@twistedmatrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Sun, Mar 22, 2009 at 10:32 AM, Itamar Shtull-Trauring<br>
<<a href="mailto:itamar@itamarst.org">itamar@itamarst.org</a>> wrote:<br>
> On Sat, 2009-03-21 at 20:02 -0700, Alec Matusis wrote:<br>
><br>
>> File "/nail/live/im/myserv/service.py", line 1199, in logout<br>
>><br>
>> if self.nick in session.sellers:<br>
>><br>
>> exceptions.AttributeError: WLResultSet instance has no<br>
>> attribute 'sellers'<br>
>><br>
>><br>
>><br>
>> This last error repeated about 1000 times for different clients, after<br>
>> which the segfault occurred.<br>
>><br>
>> The problem is, that “session” is an instance of a Session class that<br>
>> is defined in the code, it is NEITHER a Deferred NOR an instance of<br>
>> WLResultSet class- these are completely different classes, and there’s<br>
>> no possible way in the code for variable session to become an instance<br>
>> of Deferred.<br>
><br>
> I've seen this happen - once. My guess then was memory corruption of<br>
> some sort (somewhere in the C level). If you have any custom C<br>
> extensions you might want to try valgrind.<br>
<br>
</div>I'd like to offer a slightly stronger suggestion that this segfault is<br>
not the fault of any pure Python code (such as Twisted), but rather<br>
some C extension that you're using, or perhaps a bug in the Python<br>
runtime itself. The weird attribute errors for the wrong classes are<br>
probably caused by memory corruption leading up to the segfault.<br>
<font color="#888888"><br>
<br>
--<br>
Christopher Armstrong<br>
<a href="http://radix.twistedmatrix.com/" target="_blank">http://radix.twistedmatrix.com/</a><br>
<a href="http://planet-if.com/" target="_blank">http://planet-if.com/</a><br>
<a href="http://canonical.com/" target="_blank">http://canonical.com/</a><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.alvinatorsplayground.blogspot.com/">http://www.alvinatorsplayground.blogspot.com/</a><br>