GetProcessId (Errorcode 6)

Get help for specific problems
Posts: 5
Joined: 25 Nov 2014

jonas-sh

I'm running some FFS batch-jobs using the Windows Taskplaner and a lot of the time the process crashes with the following message: "Errorcode 6: The handle is invalid. (GetProcessId)".

The version of FFS I'm using is the latest (6.11) and I'm running this on Win7 x64 with the latest updates. Has anyone encountered that problem before (couldn't find it using the search function) or has any idea why this does not always happen? Or better yet how to fix this/provide more information?
User avatar
Site Admin
Posts: 7281
Joined: 9 Dec 2007

Zenju

Does this problem also occur in the current beta?
[404, Invalid URL: https://freefilesync.org/FreeFileSync_6.12_beta_Windows_Setup.exe]
Posts: 5
Joined: 25 Nov 2014

jonas-sh

No, I could not reproduce the problem with the current beta.
Posts: 1
Joined: 27 Nov 2014

kingsped00

Running WIN7 X64 and happens to me as well occasionally. Only tried the Beta once and did not see the problem. Will continue with the beta.
Posts: 5
Joined: 25 Nov 2014

jonas-sh

Update: Today I also got the error with the beta.

What I noticed is that around the same time (shortly after the error message from FFS) an error pops up in the event log which roughly translated reads: An unexpected error occurred while requesting the interface "IVssWriterCallback". hr = 0x80070005, Access denied. The reason is often a wrong security setting in the requesting process.

I'm not sure this has anything to do with the error here because it seems to pop up on other occasions also but I have the option enabled to copy file using VSS in FFS.
User avatar
Site Admin
Posts: 7281
Joined: 9 Dec 2007

Zenju

> Update: Today I also got the error with the beta.

I've added some instrumentation to the beta above. Does it change something?

> An unexpected error occurred while requesting the interface "IVssWriterCallback".

It seems, this is not a FreeFileSync issue:
http://help.remote-backup.com/index.php?/Knowledgebase/Article/View/327/5/eliminating-vss-error-8194-from-event-log
Posts: 5
Joined: 25 Nov 2014

jonas-sh

I'm still getting the error but now the error message reads as follows: Processinformation could not be read. File (7). Errorcode 6: The handle is invalid. (GetProcessId)

Hope that helps to narrow down the issue.
User avatar
Site Admin
Posts: 7281
Joined: 9 Dec 2007

Zenju

This should be fixed for the next version:
[404, Invalid URL: https://freefilesync.org/FreeFileSync_6.12_beta_Windows_Setup.exe]
Posts: 5
Joined: 25 Nov 2014

jonas-sh

Thanks! That seems to fix the issue :-)