The service WinFsp.Launcher has failed to start (Status=c000005a).

714 views
Skip to first unread message

Cary Zhang

unread,
Sep 3, 2018, 9:16:13 PM9/3/18
to WinFsp
I've write one FUSE named contentdigestfs, and want to make this program to be an service launched via launcher-x64.exe, and I have configure all of necessary register items: 
CommandLine 
Executable 
JobControl 
Security 
under register key: 

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Winfsp\services\contentfs64, however, it prompt error 1630. 

C:\Program Files (x86)\WinFsp\bin>launchctl-x64.exe start contentfs64 c:\oldfs 
KO launcher: error 1630 

And then I rebuild the launcher-x64.exe and debug launcher-x64 locally, but every time the CreateNamedPipeW will return an invalid handle, and the error code is 1307, which indicated the information below: 

ERROR_INVALID_OWNER 

1307 (0x51B) 

This security ID may not be assigned as the owner of this object. " 

Can anyone help to make this error go around ? or tell me what I missed to debug launcher-x64.exe locally ? 

Many thanks to whoever help me :) 

Bill Zissimopoulos

unread,
Sep 4, 2018, 5:13:45 PM9/4/18
to Cary Zhang, WinFsp

Hello:

 

The error code of 1630 is ERROR_UNSUPPORTED_TYPE (“data of this type is not supported”). That is not an error that I have ever seen returned from the launcher.

 

It is not straightforward to debug the launcher as a process under your account. Among other problems, launcher clients check whether the launcher is running under the SYSTEM account and fail the named pipe operation if it does not.

 

(See FspCallNamedPipeSecurely: https://github.com/billziss-gh/winfsp/blob/v1.4B2/src/dll/util.c#L62)

 

The way I usually debug it is to build a debug version of the launcher and then point the launcher service registry setting to this debug version. I then start the launcher as a service and attach to it using the Visual Studio debugger in administrator mode.

 

Bill

--
You received this message because you are subscribed to the Google Groups "WinFsp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to winfsp+un...@googlegroups.com.
To post to this group, send email to win...@googlegroups.com.
Visit this group at https://groups.google.com/group/winfsp.
For more options, visit https://groups.google.com/d/optout.

Cary Zhang

unread,
Sep 4, 2018, 8:44:31 PM9/4/18
to WinFsp
Thank you Bill, it seem like I did not run launcher under system account but administrator... I 'll try your approach to debug launcher.exe.

在 2018年9月5日星期三 UTC+8上午5:13:45,Bill Zissimopoulos写道:

To unsubscribe from this group and stop receiving emails from it, send an email to winfsp+unsubscribe@googlegroups.com.

Bill Zissimopoulos

unread,
Sep 4, 2018, 10:40:56 PM9/4/18
to Cary Zhang, WinFsp
Great. Let us know what your investigation reveals as I am curious about the error you are getting from the launcher.

Sent from my iPad
To unsubscribe from this group and stop receiving emails from it, send an email to winfsp+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages