classification
Title: Asssertion in Windows debug build
Type: crash Stage:
Components: Windows Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: theller Nosy List: gvanrossum, theller (2)
Priority: Keywords

Created on 2007-08-28 06:01 by theller, last changed 2007-08-30 17:15 by theller.

Files
File name Uploaded Description Edit Remove
os.diff theller, 2007-08-28 06:01
Messages (3)
msg55350 - (view) Author: Thomas Heller (theller) Date: 2007-08-28 06:01
In a windows debug build, an assertion is triggered when os.execvpe is
called with an empty argument list:

self.assertRaises(OSError, os.execvpe, 'no such app-', [], None)

The same problem is present in the trunk version.
Attached is a patch that fixes this, with a test.
msg55439 - (view) Author: Guido van Rossum (gvanrossum) Date: 2007-08-29 20:47
If it works for you, can you submit it?
msg55492 - (view) Author: Thomas Heller (theller) Date: 2007-08-30 17:15
Applied in rev. 57731.
History
Date User Action Args
2007-08-30 17:15:43thellersetstatus: open -> closed
resolution: accepted -> fixed
messages: + msg55492
2007-08-30 15:34:30loewissetresolution: accepted
2007-08-29 20:47:30gvanrossumsetassignee: theller
messages: + msg55439
nosy: + gvanrossum
2007-08-28 06:01:58thellercreate