fogservice crash "Unhandled exception caught"



  • Server
    • FOG Version: 1.4.4 svn 6077 & 1.4.0-RC-1 SVN 6069
    • OS: ubuntu server 16.04.2
    Client
    • Service Version: 0.11.12 & 0.11.11
    • OS: windows 10 1067 14393.1358
    Description

    First of all, sorry for my poor english.

    Before sysprep, fog client is installed and working.
    After sysprep service is reactivating correctly via SetupComplete.cmd, but then craches all the time (reboot, manual restart…)
    I have this problem on 3 fog servers, on images that worked weeks ago…
    The biggest thing changed on images is cumulative update KB4022715
    Tried latest cumulative update, .net 4.7 with no success.

    200+ to deploy, help will be greatly appreciated !

    Typical fog.log :
     29/06/2017 16:57 Main Overriding exception handling
     29/06/2017 16:57 Main Bootstrapping Zazzles
     29/06/2017 16:57 Controller Initialize
     29/06/2017 16:57 Zazzles Creating main thread
     29/06/2017 16:57 Zazzles Service construction complete
     29/06/2017 16:57 Controller Start
    
     29/06/2017 16:57 Service Starting service
     29/06/2017 16:57 Bus Became bus server
     29/06/2017 16:57 Bus {
      "self": true,
      "channel": "Status",
      "data": "{\r\n  \"action\": \"load\"\r\n}"
    }
     29/06/2017 16:57 Bus Emmiting message on channel: Status
     29/06/2017 16:57 Service Invoking early JIT compilation on needed binaries
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     29/06/2017 16:58 Client-Info Version: 0.11.11
     29/06/2017 16:58 Client-Info OS:      Windows
     29/06/2017 16:58 Middleware::Authentication Waiting for authentication timeout to pass
     29/06/2017 16:58 Middleware::Communication Download: http://fog-server/fog/management/other/ssl/srvpublic.crt
     29/06/2017 16:58 Data::RSA FOG Server CA cert found
     29/06/2017 16:58 Middleware::Authentication Cert OK
     29/06/2017 16:58 Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&authorize&newService
     29/06/2017 16:58 Middleware::Response Success
     29/06/2017 16:58 Middleware::Authentication Authenticated
    
    
     29/06/2017 16:58 Bus Registering ParseBus in channel Power
     29/06/2017 16:58 Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     29/06/2017 16:58 Middleware::Response Success
     29/06/2017 16:58 Middleware::Communication URL: http://fog-server/fog/management/index.php?sub=requestClientInfo&mac=6C:4B:90:04:2B:7F||00:00:00:00:00:00:00:E0&newService&json
     29/06/2017 16:58 Middleware::Response Success
     29/06/2017 16:58 Middleware::Communication URL: http://fog-server/fog/service/getversion.php?clientver&newService&json
     29/06/2017 16:58 Middleware::Communication URL: http://fog-server/fog/service/getversion.php?newService&json
    
     29/06/2017 16:58 Service Creating user agent cache
     29/06/2017 16:58 Middleware::Response Module is disabled globally on the FOG server
     29/06/2017 16:58 Middleware::Response Module is disabled globally on the FOG server
     29/06/2017 16:58 Middleware::Response Module is disabled globally on the FOG server
     29/06/2017 16:58 Service Initializing modules
     29/06/2017 16:58 Log Unhandled exception caught
     29/06/2017 16:58 Log     Terminating: True
     29/06/2017 16:58 Log     Hash code: 42299949
    
    Crash log

    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_FOGService.exe_77d683551bcdfba5dcddada6c615c99e99e5e9d5_8738735d_2c8cd3f9\Report.wer :

    Version=1
    EventType=CLR20r3
    EventTime=131432222876535108
    ReportType=2
    Consent=1
    ReportIdentifier=4a382791-5cdc-11e7-8b2c-6c4b90042b7f
    IntegratorReportIdentifier=a1369606-7abd-433d-a741-ef385c738ee8
    WOW64=1
    NsAppName=FOGService.exe
    AppSessionGuid=00000bc8-0000-0022-df81-c2fae8f0d201
    TargetAppId=W:0000965ce121abb7395035b601038d4b9fa900000904!0000ad3e4261875eeb7657e0a852df8523361de80c9c!FOGService.exe
    TargetAppVer=2017//03//17:16:41:40!fbfd!FOGService.exe
    BootId=4294967295
    Response.type=4
    Sig[0].Name=Signature du problème 01
    Sig[0].Value=FOGService.exe
    Sig[1].Name=Signature du problème 02
    Sig[1].Value=0.0.0.0
    Sig[2].Name=Signature du problème 03
    Sig[2].Value=58cc11c4
    Sig[3].Name=Signature du problème 04
    Sig[3].Value=Quartz
    Sig[4].Name=Signature du problème 05
    Sig[4].Value=2.4.1.0
    Sig[5].Name=Signature du problème 06
    Sig[5].Value=57bd33ab
    Sig[6].Name=Signature du problème 07
    Sig[6].Value=7c3
    Sig[7].Name=Signature du problème 08
    Sig[7].Value=5c
    Sig[8].Name=Signature du problème 09
    Sig[8].Value=System.IO.FileLoadException
    DynamicSig[1].Name=Version du système
    DynamicSig[1].Value=10.0.14393.2.0.0.256.48
    DynamicSig[2].Name=Identificateur de paramètres régionaux
    DynamicSig[2].Value=1036
    DynamicSig[22].Name=Information supplémentaire n° 1
    DynamicSig[22].Value=2beb
    DynamicSig[23].Name=Information supplémentaire n° 2
    DynamicSig[23].Value=2beba6fb4680d73a8c78ca7c24ccdb46
    DynamicSig[24].Name=Information supplémentaire n° 3
    DynamicSig[24].Value=658c
    DynamicSig[25].Name=Information supplémentaire n° 4
    DynamicSig[25].Value=658c5b10bf6dac71bf33c5470aab5cba
    UI[2]=C:\Program Files (x86)\FOG\FOGService.exe
    UI[5]=Rechercher une solution en ligne (recommandé)
    UI[6]=Rechercher une solution plus tard (recommandé)
    UI[7]=Fermer
    UI[8]=FOGService.exe a cessé de fonctionner et a été arrêté
    UI[9]=Un problème est à l’origine du dysfonctionnement de cette application. Windows vous préviendra si une solution est disponible.
    UI[10]=&Fermer
    LoadedModule[0]=C:\Program Files (x86)\FOG\FOGService.exe
    LoadedModule[1]=C:\WINDOWS\SYSTEM32\ntdll.dll
    LoadedModule[2]=C:\WINDOWS\SYSTEM32\MSCOREE.DLL
    LoadedModule[3]=C:\WINDOWS\System32\KERNEL32.dll
    LoadedModule[4]=C:\WINDOWS\System32\KERNELBASE.dll
    LoadedModule[5]=C:\WINDOWS\System32\ADVAPI32.dll
    LoadedModule[6]=C:\WINDOWS\System32\msvcrt.dll
    LoadedModule[7]=C:\WINDOWS\System32\sechost.dll
    LoadedModule[8]=C:\WINDOWS\System32\RPCRT4.dll
    LoadedModule[9]=C:\WINDOWS\System32\SspiCli.dll
    LoadedModule[10]=C:\WINDOWS\System32\CRYPTBASE.dll
    LoadedModule[11]=C:\WINDOWS\System32\bcryptPrimitives.dll
    LoadedModule[12]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
    LoadedModule[13]=C:\WINDOWS\System32\SHLWAPI.dll
    LoadedModule[14]=C:\WINDOWS\System32\combase.dll
    LoadedModule[15]=C:\WINDOWS\System32\ucrtbase.dll
    LoadedModule[16]=C:\WINDOWS\System32\GDI32.dll
    LoadedModule[17]=C:\WINDOWS\System32\gdi32full.dll
    LoadedModule[18]=C:\WINDOWS\System32\USER32.dll
    LoadedModule[19]=C:\WINDOWS\System32\win32u.dll
    LoadedModule[20]=C:\WINDOWS\System32\kernel.appcore.dll
    LoadedModule[21]=C:\WINDOWS\SYSTEM32\VERSION.dll
    LoadedModule[22]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
    LoadedModule[23]=C:\WINDOWS\SYSTEM32\MSVCR120_CLR0400.dll
    LoadedModule[24]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\mscorlib\a8ad9c1eb84ee05773b04b298573fa35\mscorlib.ni.dll
    LoadedModule[25]=C:\WINDOWS\System32\ole32.dll
    LoadedModule[26]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll
    LoadedModule[27]=C:\WINDOWS\System32\OLEAUT32.dll
    LoadedModule[28]=C:\WINDOWS\System32\msvcp_win.dll
    LoadedModule[29]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System\603a3bab60d64169412e83e06d7bac68\System.ni.dll
    LoadedModule[30]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Serv759bfb78#\42cf6c4bff2cdf34e362267f66c9bf5e\System.ServiceProcess.ni.dll
    LoadedModule[31]=C:\WINDOWS\SYSTEM32\CRYPTSP.dll
    LoadedModule[32]=C:\WINDOWS\system32\rsaenh.dll
    LoadedModule[33]=C:\WINDOWS\SYSTEM32\bcrypt.dll
    LoadedModule[34]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Core\ef8d0d1ee6432515fff7f11d91eaf368\System.Core.ni.dll
    LoadedModule[35]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Numerics\c8e6333b12f5ea1252b6d7800e7931de\System.Numerics.ni.dll
    LoadedModule[36]=C:\WINDOWS\System32\shell32.dll
    LoadedModule[37]=C:\WINDOWS\System32\cfgmgr32.dll
    LoadedModule[38]=C:\WINDOWS\System32\windows.storage.dll
    LoadedModule[39]=C:\WINDOWS\System32\powrprof.dll
    LoadedModule[40]=C:\WINDOWS\System32\shcore.dll
    LoadedModule[41]=C:\WINDOWS\System32\profapi.dll
    LoadedModule[42]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\Microsoft.CSharp\97075863c4004de9c1cd8c4d690e1e14\Microsoft.CSharp.ni.dll
    LoadedModule[43]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Dynamic\757d21f3949f8d2d82eb40b64d67509d\System.Dynamic.ni.dll
    LoadedModule[44]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Configuration\3d80ae4a3a0aa7f6933fbe8c5922a473\System.Configuration.ni.dll
    LoadedModule[45]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Xml\a771d2428d6b5c8ca9ab6c393e26ee3c\System.Xml.ni.dll
    LoadedModule[46]=C:\WINDOWS\System32\ws2_32.dll
    LoadedModule[47]=C:\WINDOWS\system32\mswsock.dll
    LoadedModule[48]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\perfcounter.dll
    LoadedModule[49]=C:\WINDOWS\SYSTEM32\pdh.dll
    LoadedModule[50]=C:\Windows\System32\aspnet_counters.dll
    LoadedModule[51]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_perf.dll
    LoadedModule[52]=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.dll
    LoadedModule[53]=C:\WINDOWS\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.9268_none_d08e1538442a243e\MSVCR80.dll
    LoadedModule[54]=C:\WINDOWS\SYSTEM32\ntmarta.dll
    LoadedModule[55]=C:\WINDOWS\SYSTEM32\rasman.dll
    LoadedModule[56]=C:\WINDOWS\System32\perfproc.dll
    LoadedModule[57]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Runt73a1fc9d#\183bd383b402cf2a8d8d180ce5d36a62\System.Runtime.Remoting.ni.dll
    LoadedModule[58]=C:\WINDOWS\System32\clbcatq.dll
    LoadedModule[59]=C:\WINDOWS\SYSTEM32\rasapi32.dll
    LoadedModule[60]=C:\WINDOWS\SYSTEM32\rtutils.dll
    LoadedModule[61]=C:\WINDOWS\SYSTEM32\winhttp.dll
    LoadedModule[62]=C:\WINDOWS\SYSTEM32\ondemandconnroutehelper.dll
    LoadedModule[63]=C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
    LoadedModule[64]=C:\WINDOWS\System32\NSI.dll
    LoadedModule[65]=C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
    LoadedModule[66]=C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
    LoadedModule[67]=C:\WINDOWS\SYSTEM32\DNSAPI.dll
    LoadedModule[68]=C:\WINDOWS\SYSTEM32\WINNSI.DLL
    LoadedModule[69]=C:\Windows\System32\rasadhlp.dll
    LoadedModule[70]=C:\WINDOWS\System32\fwpuclnt.dll
    LoadedModule[71]=C:\WINDOWS\System32\crypt32.dll
    LoadedModule[72]=C:\WINDOWS\System32\MSASN1.dll
    LoadedModule[73]=C:\Windows\System32\MSISIP.DLL
    LoadedModule[74]=C:\WINDOWS\System32\coml2.dll
    LoadedModule[75]=C:\Windows\System32\wshext.dll
    LoadedModule[76]=C:\Windows\System32\AppxSip.dll
    LoadedModule[77]=C:\WINDOWS\SYSTEM32\OpcServices.DLL
    LoadedModule[78]=C:\WINDOWS\SYSTEM32\urlmon.dll
    LoadedModule[79]=C:\WINDOWS\SYSTEM32\XmlLite.dll
    LoadedModule[80]=C:\WINDOWS\SYSTEM32\iertutil.dll
    LoadedModule[81]=C:\Windows\System32\WindowsPowerShell\v1.0\pwrshsip.dll
    LoadedModule[82]=C:\Windows\System32\EsdSip.dll
    LoadedModule[83]=c:\Program Files (x86)\Microsoft Silverlight\xapauthenticodesip.dll
    LoadedModule[84]=C:\WINDOWS\SYSTEM32\gpapi.dll
    LoadedModule[85]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Security\9df4e2b15ccdd1180fbd9d30b17e5dd0\System.Security.ni.dll
    LoadedModule[86]=C:\WINDOWS\SYSTEM32\DPAPI.dll
    LoadedModule[87]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Runteb92aa12#\687dc34f436f621648d97bcec377f33c\System.Runtime.Serialization.ni.dll
    LoadedModule[88]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Xml.Linq\60e047b813a4603cf5c02652c88a17a0\System.Xml.Linq.ni.dll
    LoadedModule[89]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Data\c93c27a2837219668b8a45fb74f0ad34\System.Data.ni.dll
    LoadedModule[90]=C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
    LoadedModule[91]=C:\WINDOWS\System32\WINTRUST.dll
    LoadedModule[92]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorsecimpl.dll
    LoadedModule[93]=C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.14393.447_none_5507ded2cb4f7f4c\COMCTL32.dll
    LoadedModule[94]=C:\WINDOWS\System32\imagehlp.dll
    LoadedModule[95]=C:\WINDOWS\SYSTEM32\cryptnet.dll
    LoadedModule[96]=C:\WINDOWS\SYSTEM32\webio.dll
    LoadedModule[97]=C:\WINDOWS\System32\schannel.dll
    LoadedModule[98]=C:\WINDOWS\SYSTEM32\mskeyprotect.dll
    LoadedModule[99]=C:\WINDOWS\SYSTEM32\ncrypt.dll
    LoadedModule[100]=C:\WINDOWS\SYSTEM32\NTASN1.dll
    LoadedModule[101]=C:\WINDOWS\system32\ncryptsslp.dll
    LoadedModule[102]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll
    FriendlyEventName=Fonctionnement arrêté
    ConsentKey=CLR20r3
    AppName=FOGService.exe
    AppPath=C:\Program Files (x86)\FOG\FOGService.exe
    NsPartner=windows
    NsGroup=windows8
    ApplicationIdentity=8BF9B7C9B103484C92848B6DF50D4C6F
    MetadataHash=1865267072
    

  • Senior Developer

    Or install the update, then install the client. I’ve seen things like this before and that’s how I addressed the issue. Uninstall the client. Perform update, Reinstall the client. This way the .NET framework is readily accessible before the client is installed. Of course this worked for my case, this doesn’t mean 4.7 isn’t breaking something, or that it will make the client start working, but at least it’s more information we can work from.

    “Remove update, all works” (Yay/Nay)?
    “Update the .NET Framework, reinstall client, all works” (Yay/Nay)?


  • Moderator

    @cger said in fogservice crash "Unhandled exception caught":

    The biggest thing changed on images is cumulative update KB4022715
    200+ to deploy, help will be greatly appreciated !

    Because your workload is pressing, I’d say in the mean time to remove that update from the image & try again. This means uninstalling it from your golden machine and capturing a new image, keep the old image still though.

    Try that out, see if it works. You can always apply the update later.


Log in to reply
 

353
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.