[issue27547] Crash or freeze trying to execute b'a' * 0xFFFFFFFFFFFFFFF

2021-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Concur with Martin. Most likely it is an OS bug, the same as issue5614. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Malloc errors in test_io ___

[issue27547] Crash or freeze trying to execute b'a' * 0xFFFFFFFFFFFFFFF

2021-06-21 Thread Irit Katriel
Irit Katriel added the comment: I get a MemoryError on Windows 10: >>> float(array.array("L",b"a"*0xFFF+10**80)) Traceback (most recent call last): File "", line 1, in MemoryError >>> -- nosy: +iritkatriel ___ Python

[issue27547] Crash or freeze trying to execute b'a' * 0xFFFFFFFFFFFFFFF

2016-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Crash reports should include the minimum code needed to produce the crash. Adding function calls that never happen because the arguments cannot be computed adds noise that obscures the problem. Here, b"a"*0xFFF would require more memory that any