[ python-Bugs-983311 ] simple attribute access causing segfault in
certain cases
SourceForge.net
noreply at sourceforge.net
Thu Jul 1 11:20:20 EDT 2004
Bugs item #983311, was opened at 2004-07-01 09:42
Message generated for change (Comment added) made by arigo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=983311&group_id=5470
Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Michael (simon)
Assigned to: Nobody/Anonymous (nobody)
Summary: simple attribute access causing segfault in certain cases
Initial Comment:
Reproduce:
zopectl debug (done in zope debugger to get necessary
imports)
>>> from AccessControl.tests.testSecurity import
SecurityTests
>>> SecurityTests.doc_class
Python 2.3.4 crashes silently. Python 2.3.3 works
normally on the same machine. This is some virtual
server variant of debian gnu/linux on intel
(aktiom.net. On another machine (standard debian i386)
Python 2.3.3 shows the same crash.
That attr in
zope/lib/python/AccessControl/tests/testSecurity.py
looks like:
class SecurityTests (DTMLTests):
doc_class = UnownedDTML # another class
Cf http://zwiki.org/IssueNo0860 .
----------------------------------------------------------------------
>Comment By: Armin Rigo (arigo)
Date: 2004-07-01 15:20
Message:
Logged In: YES
user_id=4771
If this bug involves C extension modules specific to Zope
then I'd first consider it as a bug in one of these modules.
I would be particularly suspicious that this is the case in
a file called testSecurity: isn't its goal to check some
C-implemented security feature of Zope?
If I am wrong please try to provide a Python code sample.
Reading a class attribute out of some class tends to work
just fine.
----------------------------------------------------------------------
Comment By: Andreas Jung (ajung)
Date: 2004-07-01 10:34
Message:
Logged In: YES
user_id=11084
Works for me with Python 2.3.3/4 on three different Linux
systems.
----------------------------------------------------------------------
Comment By: Simon Michael (simon)
Date: 2004-07-01 09:52
Message:
Logged In: YES
user_id=572
> Python 2.3.3 works normally on the same machine.
I meant: Python 2.3.3 works normally on another, similar
machine (virtual linux host).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=983311&group_id=5470
More information about the Python-bugs-list
mailing list