Message168576
> I think the reason that it is only this buildbot which fails is that the other Windows buildbots don't use multiple processes. Therefore they don't use a different dir for each test.
That might be it. Also the failure possibly only happens when
multiple builds are being run thus slowing down process creation and
termination.
> Would this cause a handle leak if os.waitpid() is not used?
It seems so, yes.
So to expand on #4:
4a) create a new handle type that closes the handles on dealloc
4b) return the process ID instead using GetProcessId() and callers
interested in waiting would then need to use _winapi.OpenProcess() to
convert it to a handle for os.waitpid() or
_winapi.WaitForSingleObject()
4c) add a third optional argument to os.startfile() "mode" that mimics
the mode semantics of the os.spawn*() functions |
|
Date |
User |
Action |
Args |
2012-08-19 14:32:47 | jeremy.kloth | set | recipients:
+ jeremy.kloth, georg.brandl, ncoghlan, pitrou, chris.jerdonek, sbt |
2012-08-19 14:32:26 | jeremy.kloth | link | issue15526 messages |
2012-08-19 14:32:26 | jeremy.kloth | create | |
|