[issue24714] Crash with string_at(None)

STINNER Victor report at bugs.python.org
Sat Jul 25 11:49:51 CEST 2015


STINNER Victor added the comment:

ctypes gives you a raw access to the memory. If you try to read unmapped memory areas, the program may or may not crash. Usually, you get a segmentation fault.

https://en.wikipedia.org/wiki/Segmentation_fault

Python doesn't provide a portable behaviour on segmentation faults.

Note: You can use faulthandler to get the backtrace on segmentation fault.

----------
nosy: +haypo
resolution:  -> not a bug

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24714>
_______________________________________


More information about the Python-bugs-list mailing list