matthusby / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
GNU General Public License v3.0
0 stars 0 forks source link

gal.py throwing Access Denied error when attempting to terminate subprocesses #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Start the system through gal.py (pypy)
2. Wait a few minutes
3. When a process dies, an Access Denied error will be thrown and the entire 
system will exit

What is the expected output? What do you see instead?

The process should terminate and the system continue to run normally.

What version of the product are you using? On what operating system?

latest trunk (master) branch

Please provide any additional information below.

Running Windows 7 x64. UAC has no impact on this issue. Google seems to suggest 
this is some kind of known/common problem on Windows platforms. I've attached a 
patch that seems to work and should also be cross-platform compatible still, 
although I haven't tested it on others yet. I'm not Python expert so feel free 
to take or leave the patch, just one possible solution to the problem I could 
work out.

Original issue reported on code.google.com by Jeff.Mi...@gmail.com on 12 Jan 2012 at 9:42

Attachments:

GoogleCodeExporter commented 9 years ago
Issue also reproducible on Win XP. Need to test the proposed fix on Win7 x64, 
OS X and linux x64 before merging the patch with the recent changes to gal.py

Original comment by brian.mo...@gmail.com on 14 Jan 2012 at 10:01

GoogleCodeExporter commented 9 years ago
Tested a modified version of the submitted patch on Windows7 x64 & Linux x64. 
Processes are now terminating as expected with no exceptions thrown.

Code updated on the repo, will be included in the next downloadable release.

Original comment by brian.mo...@gmail.com on 15 Jan 2012 at 1:07

GoogleCodeExporter commented 9 years ago
Issue 22 has been merged into this issue.

Original comment by brian.mo...@gmail.com on 18 Feb 2012 at 5:15