Victor Stinner
95036ea25d
[3.7] bpo-9263: _PyObject_Dump() detects freed memory (GH-10061) (GH-10662)
...
* bpo-9263: _PyObject_Dump() detects freed memory (GH-10061)
_PyObject_Dump() now uses an heuristic to check if the object memory
has been freed: log "<freed object>" in that case.
The heuristic rely on the debug hooks on Python memory allocators
which fills the memory with DEADBYTE (0xDB) when memory is
deallocated. Use PYTHONMALLOC=debug to always enable these debug
hooks.
(cherry picked from commit 82af0b63b0 )
* bpo-9263: Fix _PyObject_Dump() for freed object (#10661 )
If _PyObject_Dump() detects that the object is freed, don't try to
dump it (exit immediately).
Enhance also _PyObject_IsFreed(): it now detects if the pointer
itself looks like freed memory.
(cherry picked from commit 2cf5d32fd9 )
2018-11-22 17:15:37 +01:00
..
2018-05-15 09:56:18 -04:00
2018-05-22 01:23:20 -07:00
2018-05-20 18:06:08 +03:00
2017-11-28 17:56:10 +02:00
2018-01-27 14:06:21 +09:00
2017-11-28 17:56:10 +02:00
2017-11-28 17:56:10 +02:00
2018-01-21 09:44:07 -05:00
2017-11-28 17:56:10 +02:00
2018-01-26 08:20:18 -08:00
2016-12-27 14:57:39 +02:00
2018-01-26 08:20:18 -08:00
2018-09-21 12:48:10 -07:00
2018-01-24 17:29:30 -05:00
2017-12-15 13:11:11 +02:00
2017-03-12 14:15:54 +02:00
2017-11-28 17:56:10 +02:00
2017-12-15 13:11:11 +02:00
2017-12-13 12:29:09 +01:00
2018-10-30 12:59:20 +01:00
2016-09-03 17:21:29 +01:00
2017-10-22 23:41:51 +02:00
2017-12-15 13:11:11 +02:00
2018-01-21 09:44:07 -05:00
2017-10-05 23:24:46 -04:00
2017-11-28 17:56:10 +02:00
2018-06-29 16:03:07 -07:00
2018-05-22 22:26:42 +03:00
2017-04-22 01:48:11 +02:00
2017-11-28 17:56:10 +02:00
2017-03-30 09:09:41 +03:00
2016-12-27 14:57:39 +02:00
2017-12-15 13:11:11 +02:00
2017-12-15 13:11:11 +02:00
2016-12-27 15:04:59 +02:00
2016-09-11 11:03:14 +03:00
2017-11-28 17:56:10 +02:00
2018-11-22 17:15:37 +01:00
2018-02-11 23:33:11 -08:00
2017-12-25 02:08:42 +02:00
2018-01-29 16:41:04 -08:00
2016-12-27 14:57:39 +02:00
2017-11-28 17:56:10 +02:00
2018-10-20 12:56:38 -04:00
2017-11-28 17:56:10 +02:00
2018-01-22 18:32:50 +01:00
2017-09-14 09:38:36 +03:00
2017-11-24 22:06:38 +01:00
2017-09-29 15:53:19 -07:00
2017-09-29 15:53:19 -07:00
2018-11-02 18:30:11 -07:00
2018-09-18 06:11:09 -07:00
2018-01-05 23:15:34 -08:00
2017-11-09 19:55:34 +03:00
2018-11-17 20:42:08 -08:00
2016-08-20 08:03:06 +00:00
2017-09-14 18:13:16 -07:00
2017-09-07 11:13:59 -07:00
2018-11-22 17:15:37 +01:00
2018-01-22 18:32:50 +01:00
2018-09-19 12:01:52 -07:00
2016-09-11 11:03:14 +03:00
2016-09-09 14:57:09 -07:00
2018-05-29 10:49:10 +03:00
2018-11-12 22:20:21 -08:00
2017-05-22 21:36:03 -07:00
2017-10-24 16:53:32 -07:00
2017-11-02 07:28:27 -07:00
2017-04-22 01:48:11 +02:00
2017-11-28 17:56:10 +02:00
2016-11-22 07:58:08 +02:00
2016-11-22 07:58:08 +02:00
2018-03-10 15:11:47 -08:00
2017-12-13 21:05:57 +01:00
2017-10-05 23:24:46 -04:00
2016-09-11 11:03:14 +03:00
2017-12-12 09:59:30 +02:00
2018-01-15 10:45:49 +01:00
2018-01-21 09:44:07 -05:00