[Python-bugs-list] [ python-Bugs-513725 ] memory leak in VC6++
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 06 Feb 2002 04:54:54 -0800
Bugs item #513725, was opened at 2002-02-06 04:54
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=513725&group_id=5470
Category: Build
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Jaeyoun Chung (dalgong)
Assigned to: Nobody/Anonymous (nobody)
Summary: memory leak in VC6++
Initial Comment:
I'm building an windows application with Python 2.2 as
an extension language.
What I did was:
1. build pythoncore.dsp in Visual C++ 6.0
2. in my application initialize the python:
when starting the program:
Py_SetProgramName("Main");
Py_Initialize();
PySys_SetArgv(__argc, __argv);
and at just before the program exit:
Py_Finalize();
_Py_ReleaseInternedStrings();
Py_Exit(0);
3. then link my app with python22_d.lib
4. run my app in debug mode
5. simply select exit.
Dumping objects ->
{2426} normal block at 0x009365C8, 39 bytes long.
Data: <(] (\ XK > 28 5D 91 00 28 5C 16 1E 01 00
00 00 58 4B 17 1E
{791} normal block at 0x00915D28, 40 bytes long.
Data: < ^ e XK > D8 5E 91 00 C8 65 93 00 01 00
00 00 58 4B 17 1E
{787} normal block at 0x00915EC8, 52 bytes long.
Data: < 0 ] > D8 30 15 1E 90 5D 91 00 CD CD
CD CD CD CD CD CD
{786} normal block at 0x00915D90, 44 bytes long.
Data: < ^ \ > C8 5E 91 00 C0 5C 91 00 CD CD
CD CD CD CD CD CD
{776} normal block at 0x00915CC0, 44 bytes long.
Data: < ] Z > 90 5D 91 00 E8 5A 91 00 CD CD
CD CD CD CD CD CD
{774} normal block at 0x00915BB8, 192 bytes long.
Data: < < (> 00 00 00 00 00 00 00 00 00 00
00 00 F1 3C D8 28
{772} normal block at 0x00915B60, 24 bytes long.
Data: < Z \ A > F8 5A 91 00 D0 5C 91 00 02 00
00 00 90 41 16 1E
{769} normal block at 0x00915AE8, 48 bytes long.
Data: < \ pZ > C0 5C 91 00 70 5A 91 00 CD CD
CD CD CD CD CD CD
.....[this message goes on and on]...
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=513725&group_id=5470