locked
Exit code 0xE0434352

    Question

  • Hello,

    I've been trying to get Pex up and operational on my machine but no matter what I do I always get the problem in the subject. I tried both x86 and x64, uninstalled all VS plugins, rebooted the machine several times... What could be the problem. Please help, this looks like an awsome tool and I would love to start using it.

    I am not sure what details about my system may help diagnosing the situation but here are some: DELL with Intel Core 2 Quad processor, 4G memory, VS Ultimate, Windows 7 64bit ultimate with the latest and greatest updates...

    Thanks

    Val

    Monday, August 16, 2010 2:15 AM

All replies

  • We have never observed that exit code before. Please try the advice for ngen.exe on this page: http://research.microsoft.com/en-us/um/redmond/projects/pex/wiki/exit%20code%20access%20violation.html

     


    Nikolai Tillmann
    Tuesday, August 17, 2010 6:10 AM
  • Hi Nikolai,

    I tried your suggestion but unfortunately it didn't help.

    By the way, I am seeing a number of messages in my system event log saying that the service control manager cannot start the Diagnostic Host Service (still cannot figure out this problem though). I wonder if it has anything to do with my Pex problem.

    By the way I tried Pex on my notebook and I love it! Keep up the awsome work!

    Thanks

    Val


    Thanks Val
    Saturday, August 21, 2010 9:56 PM
  • Could you make sure you run the "ngen uninstall * /Profile" for the x86 and x64 CLR? Most of the time this is the issue. We'll beef up the directions on how to diagnose AV with Pex.

     


    Jonathan "Peli" de Halleux - Try Pex online at www.pexforfun.com!
    Sunday, August 22, 2010 2:33 AM
  • Did both but still the same... For both commands I always get the message: "Error: The specified assembly is not installed."

    Here are the three messages in the Application log that I get every time when I try "Run Pex" in the time order they appear in the event log:

    Log Name:   Application
    Source:    .NET Runtime
    Date:     8/22/2010 10:52:33 AM
    Event ID:   1026
    Task Category: None
    Level:     Error
    Keywords:   Classic
    User:     N/A
    Computer:   Stella.VTMelamed.com
    Description:
    Application: Microsoft.Pex.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NullReferenceException
    Stack:
    Server stack trace: 
      at System.Web.HttpCachePolicySettings.get_SlidingExpirationInternal()
      at System.Runtime.Remoting.Channels.CoreChannel.SetupUrlBashingForIisSslIfNecessaryWorker()
      at System.Runtime.Remoting.Channels.CoreChannel.SetupUrlBashingForIisSslIfNecessary()
      at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.SerializeResponse(IServerResponseChannelSinkStack sinkStack, IMessage msg, ITransportHeaders& headers, Stream& stream)
      at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)
      at Microsoft.ExtendedReflection.Remote.IRemoteServerConnector.get_IsReady()
      at Microsoft.Pex.Engine.PexEngineLauncher.ExecuteMonitored(Microsoft.ExtendedReflection.Utilities.AssemblyResolver, Microsoft.Pex.Engine.PexEngineOptions, Boolean)
      at Microsoft.Pex.Engine.PexEngineLauncher.Main(System.String[])
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name=".NET Runtime" />
      <EventID Qualifiers="0">1026</EventID>
      <Level>2</Level>
      <Task>0</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime="2010-08-22T14:52:33.000000000Z" />
      <EventRecordID>18970</EventRecordID>
      <Channel>Application</Channel>
      <Computer>Stella.VTMelamed.com</Computer>
      <Security />
     </System>
     <EventData>
      <Data>Application: Microsoft.Pex.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NullReferenceException
    Stack:
    Server stack trace: 
      at System.Web.HttpCachePolicySettings.get_SlidingExpirationInternal()
      at System.Runtime.Remoting.Channels.CoreChannel.SetupUrlBashingForIisSslIfNecessaryWorker()
      at System.Runtime.Remoting.Channels.CoreChannel.SetupUrlBashingForIisSslIfNecessary()
      at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.SerializeResponse(IServerResponseChannelSinkStack sinkStack, IMessage msg, ITransportHeaders&amp; headers, Stream&amp; stream)
      at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage&amp; responseMsg, ITransportHeaders&amp; responseHeaders, Stream&amp; responseStream)
      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)
      at Microsoft.ExtendedReflection.Remote.IRemoteServerConnector.get_IsReady()
      at Microsoft.Pex.Engine.PexEngineLauncher.ExecuteMonitored(Microsoft.ExtendedReflection.Utilities.AssemblyResolver, Microsoft.Pex.Engine.PexEngineOptions, Boolean)
      at Microsoft.Pex.Engine.PexEngineLauncher.Main(System.String[])
    </Data>
     </EventData>
    </Event>
    Log Name:   Application
    Source:    Application Error
    Date:     8/22/2010 10:52:34 AM
    Event ID:   1000
    Task Category: (100)
    Level:     Error
    Keywords:   Classic
    User:     N/A
    Computer:   Stella.VTMelamed.com
    Description:
    Faulting application name: Microsoft.Pex.exe, version: 0.92.50603.1, time stamp: 0x4c079fd7
    Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdfe0
    Exception code: 0xe0434352
    Fault offset: 0x000000000000aa7d
    Faulting process id: 0x5b0
    Faulting application start time: 0x01cb4209a5af4403
    Faulting application path: C:\Program Files\Microsoft Pex\bin\Microsoft.Pex.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: e51db381-adfc-11df-980e-001b2124ee07
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="Application Error" />
      <EventID Qualifiers="0">1000</EventID>
      <Level>2</Level>
      <Task>100</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime="2010-08-22T14:52:34.000000000Z" />
      <EventRecordID>18971</EventRecordID>
      <Channel>Application</Channel>
      <Computer>Stella.VTMelamed.com</Computer>
      <Security />
     </System>
     <EventData>
      <Data>Microsoft.Pex.exe</Data>
      <Data>0.92.50603.1</Data>
      <Data>4c079fd7</Data>
      <Data>KERNELBASE.dll</Data>
      <Data>6.1.7600.16385</Data>
      <Data>4a5bdfe0</Data>
      <Data>e0434352</Data>
      <Data>000000000000aa7d</Data>
      <Data>5b0</Data>
      <Data>01cb4209a5af4403</Data>
      <Data>C:\Program Files\Microsoft Pex\bin\Microsoft.Pex.exe</Data>
      <Data>C:\Windows\system32\KERNELBASE.dll</Data>
      <Data>e51db381-adfc-11df-980e-001b2124ee07</Data>
     </EventData>
    </Event>
    Log Name:   Application
    Source:    Windows Error Reporting
    Date:     8/22/2010 10:52:42 AM
    Event ID:   1001
    Task Category: None
    Level:     Information
    Keywords:   Classic
    User:     N/A
    Computer:   Stella.VTMelamed.com
    Description:
    Fault bucket 1316963206, type 5
    Event Name: CLR20r3
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: microsoft.pex.exe
    P2: 0.92.50603.1
    P3: 4c079fd7
    P4: mscorlib
    P5: 4.0.0.0
    P6: 4ba22001
    P7: 4bd5
    P8: 2d
    P9: System.NullReferenceException
    P10: 
    Attached files:
    C:\Users\valo\AppData\Local\Temp\WER3A55.tmp.WERInternalMetadata.xml
    These files may be available here:
    C:\Users\valo\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_microsoft.pex.ex_e76ca4cd62662c74d438f4d2fd8eac356dc70_0f5d58fc
    Analysis symbol: 
    Rechecking for solution: 0
    Report Id: e51db381-adfc-11df-980e-001b2124ee07
    Report Status: 0
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="Windows Error Reporting" />
      <EventID Qualifiers="0">1001</EventID>
      <Level>4</Level>
      <Task>0</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime="2010-08-22T14:52:42.000000000Z" />
      <EventRecordID>18972</EventRecordID>
      <Channel>Application</Channel>
      <Computer>Stella.VTMelamed.com</Computer>
      <Security />
     </System>
     <EventData>
      <Data>1316963206</Data>
      <Data>5</Data>
      <Data>CLR20r3</Data>
      <Data>Not available</Data>
      <Data>0</Data>
      <Data>microsoft.pex.exe</Data>
      <Data>0.92.50603.1</Data>
      <Data>4c079fd7</Data>
      <Data>mscorlib</Data>
      <Data>4.0.0.0</Data>
      <Data>4ba22001</Data>
      <Data>4bd5</Data>
      <Data>2d</Data>
      <Data>System.NullReferenceException</Data>
      <Data>
      </Data>
      <Data>
    C:\Users\valo\AppData\Local\Temp\WER3A55.tmp.WERInternalMetadata.xml</Data>
      <Data>C:\Users\valo\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_microsoft.pex.ex_e76ca4cd62662c74d438f4d2fd8eac356dc70_0f5d58fc</Data>
      <Data>
      </Data>
      <Data>0</Data>
      <Data>e51db381-adfc-11df-980e-001b2124ee07</Data>
      <Data>0</Data>
     </EventData>
    </Event>
    

    Hope this will help.

    Val


    Thanks Val
    Sunday, August 22, 2010 2:58 PM
  • That line is interresting and fishy. 

      at System.Web.HttpCachePolicySettings.get_SlidingExpirationInternal()

    Are you by any chance trying to run Pex on some Web application? Do you have some special settings for remoting in your configuration/web.config file? It seems that our remoting channel does not get created correctly.


    Jonathan "Peli" de Halleux - Try Pex online at www.pexforfun.com!
    Sunday, August 22, 2010 4:30 PM
  • Peli,

    No, this is not a web application. This is a simple class lib only with the short sample code from Pex Getting Started doc (StringExtensions.Capitalize).

    No, I do not have anything special for remoting in app.config or machine.config.

    Is there anything you would suggest to try - I'll be more than happy to help with this.


    Thanks Val
    Tuesday, August 24, 2010 3:09 AM
  • Let's see: could you open a command prompt and launch pex.exe directly on your compiled test project. Try

        pex.exe <test.dll>

    or this one if you are applying Pex without a test project:

        pex.exe /erm:wizard <test.dll>

    I'd like to see if Pex works outside Visual Studio.


    Jonathan "Peli" de Halleux - Try Pex online at www.pexforfun.com!
    Tuesday, August 24, 2010 5:36 AM
  • The code 0xE0434352 seems to be the new SEH exception code for managed exceptions:

     http://msdn.microsoft.com/en-us/library/system.stackoverflowexception(VS.90).aspx

    -- Ståle

     

    Tuesday, August 31, 2010 3:18 PM