[Cython] Core dump when Python is built without debug symbols

Nikita Nemkin nikita at nemkin.ru
Thu May 30 16:21:55 CEST 2013


On Thu, 30 May 2013 19:51:16 +0600, Marin Atanasov Nikolov  
<dnaeon at gmail.com> wrote:

> Any idea why having Python with debug symbols actually overcomes this  
> issue?

In debug builds, Python object structure is prepended with a couple of
extra debug fields, which means a different piece of memory was wrongly
interpreted and manipulated as a Python object.

It is pure luck that whatever values were there didn't cause a crash.


Best regards,
Nikita Nemkin


More information about the cython-devel mailing list