New submission from Lyn Levenick <lyn.leven...@gmail.com>:

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.

----------
messages: 337341
nosy: Lyn Levenick
priority: normal
severity: normal
status: open
title: .sort() segfaults consistently on crafted input
type: crash
versions: Python 3.7

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

Reply via email to