[Python-bugs-list] [ python-Bugs-418977 ] Access Violation in PyCell_Set

noreply@sourceforge.net noreply@sourceforge.net
Thu, 26 Apr 2001 00:19:45 -0700


Bugs item #418977, was updated on 2001-04-25 15:22
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=418977&group_id=5470

Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Chapman (glchapman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Access Violation in PyCell_Set

Initial Comment:
While stepping through a program using the Pythonwin 
debugger, I got an access violation which appears to 
be taking place in PyCell_Set (I'm not using the debug 
libraries).  Specifically, it appears that the op 
parameter is NULL, so the PyCell_Check(op) results in 
the AV.  I believe the call stack at this point was:

  PyCell_Set
  dict_to_map
  PyFrame_LocalsToFast (line 366 of frameobject.c?)
  call_trace
  SET_LINENO (case of eval_code2)

Please let me know if it would be helpful to see the 
python file I was stepping through and I'll upload it.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2001-04-26 00:19

Message:
Logged In: YES 
user_id=21627

I think it would be definitely helpful to see the sources;
it would be even better if you could reduce them to a small
test case. Please attach them to this report.

----------------------------------------------------------------------

Comment By: Greg Chapman (glchapman)
Date: 2001-04-25 15:29

Message:
Logged In: YES 
user_id=86307

I apologize -- I forgot to add that I'm using Python 2.1 
final (binaries downloaded from Sourceforge) and the latest 
win32_all binaries under Windows 2000.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=418977&group_id=5470