Message 337341 - Python tracker (original) (raw)
Running Python 3.7.2, it is possible to segfault the process when sorting some arrays.
Executed commands are
$ python3
Python 3.7.2 (default, Feb 12 2019, 08:15:36)
[Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> [(1.0, 1.0), (False, "A"), 6].sort()
Segmentation fault: 11
I did not have the opportunity to test on systems other than macOS, but anecdotally this is reproducible on both Windows and Linux.