STINNER Victor <vstin...@python.org> added the comment:

This is very likely a crash in a 3rd party C extensions. You should try to 
write a simpler reproducer and report it to the C extensions causing the crash. 
You can try to enable the Python Development Mode to see if it provides you 
more information:
https://docs.python.org/dev/library/devmode.html

See also my notes on debugging a Python crash:
https://pythondev.readthedocs.io/debug_tools.html


#2  find_maxchar_surrogates (num_surrogates=<synthetic pointer>, 
maxchar=<synthetic pointer>, 
    end=0x4 <error: Cannot access memory at address 0x4>, begin=0x0)
    at 
/home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/unicodeobject.c:1703
#3  _PyUnicode_Ready (unicode=0x7f7e4e04d7f0)
    at 
/home/conda/feedstock_root/build_artifacts/python-split_1613835706476/work/Objects/unicodeobject.c:1742

Python no longer create "not ready" strings: _PyUnicode_Ready() is called to 
convert strings created with the deprecated legacy C API. It is likely a string 
created by a 3rd party C extension.

"begin=0x0 and end=0x4" sounds like the string is corrupted: in 
_PyUnicode_Ready(), _PyUnicode_WSTR(unicode) must not be NULL (begin=0x0).

----------
nosy: +vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43668>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to