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

noreply@sourceforge.net noreply@sourceforge.net
Fri, 23 Aug 2002 07:24:25 -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: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: John Ehresman (jpe)
>Assigned to: Michael Hudson (mwh)
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.

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

>Comment By: Michael Hudson (mwh)
Date: 2002-08-23 14:24

Message:
Logged In: YES 
user_id=6656

Unless I'm much mistaken, this is a dup of:

[ 588452 ] $DEBUG_PYTHON -O freeze.py broken

which was fixed just a few weeks ago.

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

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