shutdown warning

Win8 x86, during shutdown process I noticed this warning in console output:

Session 1 is terminating; but process `Start8.exe' (id=4860) is still alive.
Please contact the owner of `Start8.exe' to investigate the cause

My logged user has Session 2.

1,130 views 2 replies
Reply #1 Top

btw, do you close ProcessInformation.hProcess handle when you call CreateProcessAsUser from Start8svc.exe?
because I noticed these leaking process objects in my system:

0: kd> !process 0 0 start8.exe

PROCESS a4d73540  SessionId: 1  Cid: 0784    Peb: 7f329000  ParentCid: 059c    
DirBase: bd75f320  ObjectTable: 00000000  HandleCount:   0.     Image: Start8.exe

PROCESS aa09f040  SessionId: 1  Cid: 08c0    Peb: 7f11f000  ParentCid: 059c    
DirBase: bd75f3c0  ObjectTable: 00000000  HandleCount:   0.     Image: Start8.exe

PROCESS c6a319c0  SessionId: 2  Cid: 1200    Peb: 7fb79000  ParentCid: 059c    
DirBase: bd75f4e0  ObjectTable: bcbd59c0  HandleCount: <Data Not Accessible>     Image: Start8.exe

PROCESS 88190940  SessionId: 1  Cid: 12fc    Peb: 7facb000  ParentCid: 059c    
DirBase: bd75f3a0  ObjectTable: 00000000  HandleCount:   0.     Image: Start8.exe

PROCESS a4da3200  SessionId: 2  Cid: 1310    Peb: 7fced000  ParentCid: 059c    
DirBase: bd75f560  ObjectTable: 00000000  HandleCount:   0.     Image: Start8.exe

PROCESS a4d9b340  SessionId: 2  Cid: 1330    Peb: 7f7b5000  ParentCid: 059c    
DirBase: bd75f5a0  ObjectTable: 00000000  HandleCount:   0.     Image: Start8.exe

PROCESS a65d2400  SessionId: 2  Cid: 0f7c    Peb: 7f488000  ParentCid: 059c    
DirBase: bd75f520  ObjectTable: 00000000  HandleCount:   0.     Image: Start8.exe

Reply #2 Top

You are quite correct there is a tiny handle leak.  It is fixed for the next update.