[Python-bugs-list] [ python-Bugs-599254 ] Py_SAFE_DOWNCAST assert in marshal.c

noreply@sourceforge.net noreply@sourceforge.net
Fri, 23 Aug 2002 07:19:06 -0700


Bugs item #599254, was opened at 2002-08-23 14:19
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=599254&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: John Ehresman (jpe)
Assigned to: Nobody/Anonymous (nobody)
Summary: Py_SAFE_DOWNCAST assert in marshal.c

Initial Comment:
In a win32 debug build (compiled with VC++ 6.0) of
Python 2.2.0 using the default options, the
Py_SAFE_DOWNCAST assertion check fails on line 64 of
marshal.c when c is 0x8c.  The VC++ quick watch window
displays 0xffffff8c as the value of the expression
'(int)(char)c'.  The following code will trigger the
assertion:

import marshal
marshal.dumps([0x8c] * 1000)

I am downloading the latest VC++ service pack now to
see if that makes a difference.

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

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