[Python-bugs-list] [ python-Bugs-600007 ] Another dealloc stack killer
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 26 Aug 2002 07:06:54 -0700
Bugs item #600007, was opened at 2002-08-25 21:37
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=600007&group_id=5470
Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Tim Peters (tim_one)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Another dealloc stack killer
Initial Comment:
>From c.l.py:
"""
From: Pavel Pergamenshchik <pp64@cornell.edu>
Sent: Sunday, August 25, 2002 9:17 PM
To: python-list@python.org
Subject: Python 2.2.1 bug
I found a way to break Python 2.2.1 (at least) both on
Linux and Windows.
...
eval("int" + ".__call__"*100000)
at the prompt, then press ctrl-D or ctrl-Z to edit. This
will result in a segfault on Linux and some
weird "unknown software exception" thing on Windows.
"""
At shutdown, the C stack is blown by a very deep
nest of
_Py_Dealloc
wrapper_dealloc
calls. That was under current CVS head; I'm sure it's
the same deal in 2.2.
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2002-08-26 10:06
Message:
Logged In: YES
user_id=31435
I suppose you need to reduce your stack limit, or boost the
multiplier, then. I would agree it's hard to get excited
about this one <wink>.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2002-08-26 09:56
Message:
Logged In: YES
user_id=6380
Hm, I cannot reproduce this on Linux, with either the
2.2maintenance branch or 2.3. I trust that it's a problem
though. Reducing priority.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=600007&group_id=5470