[issue27559] Crash On bytearray()

2016-07-18 Thread Berker Peksag

Changes by Berker Peksag :


--
resolution: remind -> not a bug
stage:  -> resolved

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27559] Crash On bytearray()

2016-07-18 Thread pablo sacristan

pablo sacristan added the comment:

I know, but then shouldn't you try limiting the amount of data it allocates? Or 
maybe allow for keyboard interrupts to be used while the it is going on, 
because keyboard interrupts weren't working while it was working.

--
resolution: not a bug -> remind

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27559] Crash On bytearray()

2016-07-18 Thread Martin Panter

Martin Panter added the comment:

bytearray(n) needs to allocate n bytes. Unless your computer has 1024 GiB of 
memory, this is not going to be possible. If you are using an OS like Linux, it 
may pretend to allocate that much memory, and then kill the process when it 
realizes it has overallocated. If you need more robust behaviour on Linux, I 
suggest looking into disabling memory overcommit.

--
nosy: +martin.panter
resolution:  -> not a bug
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27559] Crash On bytearray()

2016-07-18 Thread pablo sacristan

New submission from pablo sacristan:

There is a crash on bytearray(), not really a crash but rather the process gets 
killed by the kernel, but that is a crash, and the keyboard interrupt stops 
working while bytearray is working, so you can either restart python or wait 
for python to get killed by the kernel. The biggest problem is that while 
bytearray() is trying to do something, you can't interrupt it just doesn't work 
for some reason.
This should be enough for bytearray to crash :
bytearray(0xFF)
It crashes after some time with a Killed: 9 error.

Hope it helps ;)

--
messages: 270731
nosy: pabstersac
priority: normal
severity: normal
status: open
title: Crash On bytearray()
versions: Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com