[Zope] zope 2.4.x crashing on RH 7.x
Andy Dustman
andy@dustman.net
07 Sep 2001 11:36:49 -0400
(I hate that Evolution has ctrl-return as a short-cut to send a
message...)
On 07 Sep 2001 16:04:56 +0100, Steve Alexander wrote:
> bak (kedai) wrote:
> > Aiieee! 19489 exited with error code: 11
>
>
> This looks like the py_malloc problem in Python 2.11, which causes
> segmenatation faults like you're seeing.
I did some more investigation on this problem, and my conclusion was
that a change in Python starting in version 2.0.1 (also in 2.1, which
chronologically came out first) is causing these crashes. In a nutshell,
when using O format with PyArgs_FromTupleAndKeywords() in < 2.0.1, you
get a new reference, and in >= 2.0.1, you get a borrowed reference. The
latter you need to Py_INCREF() if you want to keep. If you do this in <
2.0.1, you don't crash but you leak memory. See the zope-dev archives
for the whole story.
--
Andy Dustman PGP: 0x930B8AB6
@ .net http://dustman.net/andy
I'll give spammers one bite of the apple, but they'll
have to guess which bite has the razor blade in it.