[Python-Dev] Python under valgrind (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Fri Nov 28 20:03:01 CET 2008
- Previous message: [Python-Dev] Python under valgrind
- Next message: [Python-Dev] Python under valgrind
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I suppose valgrind could be confused by PyFree's pool address validation that intentionally reads the memory just before the allocated block, and incorrectly attributes it to a previously allocated (and hence freed) block, but I can't prove that.
I agree this is the likely cause. To prove it, you will need to find the line number associated with 0x808EBDF. Either you available debug information, or disassemble PyObject_Free to determine what specific read operation is causing the report. Most likely, you find it is inside Py_ADDRESS_IN_RANGE, in the attempt to read pool->arenaindex.
Regards, Martin
- Previous message: [Python-Dev] Python under valgrind
- Next message: [Python-Dev] Python under valgrind
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]