New submission from Dave Fugate <dfug...@microsoft.com>:

Using Python 2.7 (r27:82525, Jul 4 2010, 09:01:59; 32-bit Intel) on 64-bit 
Windows Server 2008 R2, python.exe (interactive sessions and files) crashes 
when it encounters the following snippet:
>>> import signal
>>> signal.signal(7, lambda a, b: None)

Note that Python doesn't crash if I substitute '7' with a valid Windows signal 
(e.g., '2').  Also, it seems that at least some invalid signal inputs (e.g., 
'0') generate the appropriate Python exception.

----------
files: cpy_crash.jpg
messages: 111104
nosy: midnightdf
priority: normal
severity: normal
status: open
title: signal.signal(bogus_signal, handler) segfaults on Windows
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file18109/cpy_crash.jpg

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

Reply via email to