Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another dealloc stack killer #37088

Closed
tim-one opened this issue Aug 26, 2002 · 5 comments
Closed

Another dealloc stack killer #37088

tim-one opened this issue Aug 26, 2002 · 5 comments
Assignees
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@tim-one
Copy link
Member

tim-one commented Aug 26, 2002

BPO 600007
Nosy @gvanrossum, @tim-one, @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/gvanrossum'
closed_at = <Date 2006-01-10.22:02:11.000>
created_at = <Date 2002-08-26.01:37:40.000>
labels = ['interpreter-core']
title = 'Another dealloc stack killer'
updated_at = <Date 2006-01-10.22:02:11.000>
user = 'https://github.com/tim-one'

bugs.python.org fields:

activity = <Date 2006-01-10.22:02:11.000>
actor = 'georg.brandl'
assignee = 'gvanrossum'
closed = True
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2002-08-26.01:37:40.000>
creator = 'tim.peters'
dependencies = []
files = []
hgrepos = []
issue_num = 600007
keywords = []
message_count = 5.0
messages = ['12170', '12171', '12172', '12173', '12174']
nosy_count = 4.0
nosy_names = ['gvanrossum', 'tim.peters', 'nnorwitz', 'georg.brandl']
pr_nums = []
priority = 'low'
resolution = 'duplicate'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue600007'
versions = []

@tim-one
Copy link
Member Author

tim-one commented Aug 26, 2002

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.

@tim-one tim-one closed this as completed Aug 26, 2002
@tim-one tim-one added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Aug 26, 2002
@tim-one tim-one closed this as completed Aug 26, 2002
@tim-one tim-one added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Aug 26, 2002
@gvanrossum
Copy link
Member

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.

@tim-one
Copy link
Member Author

tim-one commented Aug 26, 2002

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>.

@nnorwitz
Copy link
Mannequin

nnorwitz mannequin commented Aug 28, 2002

Logged In: YES
user_id=33168

The threshold was 300000 for me on Linux.

@birkenfeld
Copy link
Member

Logged In: YES
user_id=1188172

Duplicate of bpo-927248.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

No branches or pull requests

3 participants