Free Memory Read. Help!!

Pramod Kumar Singh pramod at tcsi.com
Thu Aug 3 12:33:09 EDT 2000


Hello Everybody,

  I am facing a Free Memory Read in python frameobjects.c. Any help,
ideas, details on similar known bugs, appreciated.

  I am attaching the purify log of the FMR.

****  Purify instrumented ....
FMR: Free memory read:
  * This is occurring while in thread 139:


  * Reading 4 bytes from 0x74238c in the heap.
  * Address 0x74238c is 41 bytes past end of a freed block at 0x742348
of 28 byt
es.
  * This block was allocated from thread 139:
        malloc         [rtlib.o]
        _PyObject_New  [object.c:122]
        PyDict_New     [dictobject.c:124]
        PyFrame_FastToLocals [frameobject.c:302]
        frame_getattr  [frameobject.c:65]
        PyObject_GetAttrString [object.c:381]
        PyObject_GetAttr [object.c:438]
        eval_code2     [ceval.c:1382]
        eval_code2     [ceval.c:1618]
        eval_code2     [ceval.c:1618]
        eval_code2     [ceval.c:1618]
        eval_code2     [ceval.c:1618]
        call_function  [ceval.c:2490]
        PyEval_CallObjectWithKeywords [ceval.c:2322]
        builtin_apply  [bltinmodule.c:126]
        call_builtin   [ceval.c:2359]
        PyEval_CallObjectWithKeywords [ceval.c:2324]
        eval_code2     [ceval.c:1655]
        call_function  [ceval.c:2490]
        PyEval_CallObjectWithKeywords [ceval.c:2322]

  * There have been 23 frees since this block was freed from thread 139:
        free           [rtlib.o]
        dict_dealloc   [dictobject.c:491]
        frame_dealloc  [frameobject.c:116]
        eval_code2     [ceval.c:1878]
        eval_code2     [ceval.c:1618]
        eval_code2     [ceval.c:1618]
        call_function  [ceval.c:2490]
        PyEval_CallObjectWithKeywords [ceval.c:2322]
        builtin_apply  [bltinmodule.c:126]
        call_builtin   [ceval.c:2359]
        PyEval_CallObjectWithKeywords [ceval.c:2324]
        eval_code2     [ceval.c:1655]
        call_function  [ceval.c:2490]
        PyEval_CallObjectWithKeywords [ceval.c:2322]



More information about the Python-list mailing list