[New-bugs-announce] [issue9324] signal.signal(bogus_signal, handler) segfaults on Windows

Dave Fugate report at bugs.python.org
Wed Jul 21 20:50:56 CEST 2010


New submission from Dave Fugate <dfugate at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9324>
_______________________________________


More information about the New-bugs-announce mailing list