1. SevenDPI's Avatar
    I made an app and it shows that it has crashed hundreds of time from the windev center thing. I downloaded the dump from them and the exception and this is what it says. if you need anything like the code of the spreadsheet from MS let me know. I do not like having an app that crashes on everything but my HTC 8X

    Here is the store link if you want to see if it crashes for you

    http://www.windowsphone.com/en-us/st...a-e9c8675431db
    Thanks for any help you may be able to give.

    Dump Summary
    ------------
    Dump File: minidump.mdmp : E:\apperr\minidump.mdmp
    Last Write Time: 1/19/2014 9:01:10 PM
    Process Name: HeadlessHost.exe : HeadlessHost.exe
    Process Architecture: ARM
    Exception Code: 0x80131623
    Exception Information:
    Heap Information: Not Present

    System Information
    ------------------
    OS Version: 6.2.9200
    CLR Version(s): 4.0.50829.0

    Modules
    -------
    Module Name Module Path Module Version
    ----------- ----------- --------------
    HeadlessHost.exe HeadlessHost.exe 0.0.0.0
    ntdll.dll ntdll.dll 6.2.9200.16550
    KERNELBASE.dll KERNELBASE.dll 6.2.9200.16550
    msvcrt.dll msvcrt.dll 7.0.9200.16550
    YPerfHealthLogger.dll YPerfHealthLogger.dll 0.0.0.0
    combase.dll combase.dll 6.2.9200.16550
    OLEAUT32.dll OLEAUT32.dll 6.2.9200.16550
    advapi32legacy.dll advapi32legacy.dll 6.2.9200.16550
    kernel32legacy.dll kernel32legacy.dll 6.2.9200.16550
    CoreUI.dll CoreUI.dll 0.0.0.0
    XmlLite.dll XmlLite.dll 6.2.9200.16550
    WPCOREUTIL.dll WPCOREUTIL.dll 0.0.0.0
    EMCLIENT.dll EMCLIENT.dll 0.0.0.0
    TASKHOSTSVCS.dll TASKHOSTSVCS.dll 0.0.0.0
    user32.dll user32.dll 0.0.0.0
    RPCRT4.dll RPCRT4.dll 6.2.9200.16550
    mincoredload.dll mincoredload.dll 0.0.0.0
    SspiCli.dll SspiCli.dll 6.2.9200.16550
    sechost.dll sechost.dll 6.2.9200.16550
    pcwum.dll pcwum.dll 6.2.9200.16550
    Orientation.dll Orientation.dll 0.0.0.0
    SecRuntime.dll SecRuntime.dll 0.0.0.0
    gdi32.dll gdi32.dll 0.0.0.0
    ShellChromeAPI.dll ShellChromeAPI.dll 0.0.0.0
    modernapiexthost.dll modernapiexthost.dll 0.0.0.0
    CRYPTBASE.dll CRYPTBASE.dll 6.2.9200.16550
    bcryptPrimitives.dll bcryptPrimitives.dll 6.2.9200.16384
    AppModelCore.dll AppModelCore.dll 6.2.9200.16550
    AppChromeAPI.dll AppChromeAPI.dll 0.0.0.0
    PsmApp.dll PsmApp.dll 0.0.0.0
    npctrl.dll npctrl.dll 0.0.0.0
    PROPSYS.dll PROPSYS.dll 7.0.9200.16550
    agcore.dll agcore.dll 4.1.60221.0
    SL_InterprocDll.dll SL_InterprocDll.dll 0.0.0.0
    WS2_32.dll WS2_32.dll 6.2.9200.16550
    CRYPT32.dll CRYPT32.dll 6.2.9200.16550
    d3d11.dll d3d11.dll 6.2.9200.16550
    CRYPTSP.dll CRYPTSP.dll 6.2.9200.16550
    WININET.dll WININET.dll 0.0.0.0
    ole32_wp.dll ole32_wp.dll 0.0.0.0
    urlmon.dll urlmon.dll 10.0.9200.16550
    CmNet.dll CmNet.dll 0.0.0.0
    WindowsCodecs.dll WindowsCodecs.dll 6.2.9200.16550
    MFPlat.DLL MFPlat.DLL 12.0.9200.16550
    zmedialib_client.dll zmedialib_client.dll 0.0.0.0
    winmmbase.dll winmmbase.dll 0.0.0.0
    ZMediaqueueClient.dll ZMediaqueueClient.dll 0.0.0.0
    zlib_dynlink.dll zlib_dynlink.dll 0.0.0.0
    NSI.dll NSI.dll 6.2.9200.16550
    MSASN1.dll MSASN1.dll 6.2.9200.16550
    dxgi.dll dxgi.dll 6.2.9200.16550
    dhcpcsvc.DLL dhcpcsvc.DLL 6.2.9200.16550
    IPHLPAPI.DLL IPHLPAPI.DLL 6.2.9200.16550
    bcrypt.dll bcrypt.dll 6.2.9200.16550
    DNSAPI.dll DNSAPI.dll 6.2.9200.16550
    ie_shims.dll ie_shims.dll 0.0.0.0
    iertutil.dll iertutil.dll 10.0.9200.16550
    powrprof.dll powrprof.dll 6.2.9200.16550
    ie_stubs.dll ie_stubs.dll 0.0.0.0
    CfmClient.dll CfmClient.dll 0.0.0.0
    cfgmgr32.dll cfgmgr32.dll 6.2.9200.16550
    AVRT.dll AVRT.dll 6.2.9200.16550
    ZTrace.dll ZTrace.dll 0.0.0.0
    dsclient.dll dsclient.dll 0.0.0.0
    msacm32.dll msacm32.dll 6.2.9200.16550
    AudioRtgClient.dll AudioRtgClient.dll 0.0.0.0
    WDMAUD.dll WDMAUD.dll 6.2.9200.16550
    WINNSI.DLL WINNSI.DLL 6.2.9200.16550
    LegacyHelper.dll LegacyHelper.dll 0.0.0.0
    SHCORE.dll SHCORE.dll 6.2.9200.16550
    shlwapi.dll shlwapi.dll 6.2.9200.16550
    PHONEINFO.dll PHONEINFO.dll 0.0.0.0
    MMDevAPI.DLL MMDevAPI.DLL 6.2.9200.16550
    wintypes.dll wintypes.dll 6.2.9200.16550
    DEVOBJ.dll DEVOBJ.dll 6.2.9200.16550
    wpglobutil.dll wpglobutil.dll 0.0.0.0
    coreclr.dll coreclr.dll 4.0.50829.0
    procthreadexthost.dll procthreadexthost.dll 0.0.0.0
    mscorlib.ni.dll mscorlib.ni.dll 4.0.50829.0
    System.Windows.RuntimeHost.ni.dll System.Windows.RuntimeHost.ni.dll 2.0.6.0
    System.Windows.ni.dll System.Windows.ni.dll 4.7.50915.0
    System.Net.ni.dll System.Net.ni.dll 4.7.50915.0
    System.ni.dll System.ni.dll 4.0.50829.0
    System.Xml.ni.dll System.Xml.ni.dll 4.0.50829.0
    WPAppStudio.ni.DLL WPAppStudio.ni.DLL 1.0.0.1
    Microsoft.Phone.ni.dll Microsoft.Phone.ni.dll 0.0.0.0
    Microsoft.Phone.Interop.ni.dll Microsoft.Phone.Interop.ni.dll 0.0.0.0
    WPAppStudio.BackgroundAgent.ni.DLL WPAppStudio.BackgroundAgent.ni.DLL 1.0.0.0
    Microsoft.Practices.Unity.WindowsPhone.ni.DLL Microsoft.Practices.Unity.WindowsPhone.ni.DLL 3.0.1304.1
    WPAppStudio.Repositories.ni.DLL WPAppStudio.Repositories.ni.DLL 1.0.0.0
    System.Core.ni.dll System.Core.ni.dll 4.0.50829.0
    WPAppStudio.Entities.ni.DLL WPAppStudio.Entities.ni.DLL 1.0.0.0
    Last edited by SevenDPI; 01-31-2014 at 07:52 PM. Reason: added us store link
    01-31-2014 07:50 PM
  2. asylumxl's Avatar
    It could be that you are using a certain method with the wrong event handler. It's far too ambiguous a code to tell anything from.
    02-04-2014 03:17 PM
  3. donfitz's Avatar
    Because its happening in the headless host, its happening in a scheduled task. You might be running out of memory or your task is running too long.
    SevenDPI likes this.
    02-09-2014 05:51 PM
  4. Iain Collins's Avatar
    Thanks for that, I've got a minidump file that's basically the exact same.

    How can I monitor the time of the task (I know there's a limit for a WP8 scheduled task, ) or the amount of memory my scheduled task is using? For the timing it is easy enough to use a timer and have the schedule task end gracefully before the OS kills it.

    The other things to note are:

    Both periodic and resource-intensive agents are unscheduled if they exit two consecutive times due to exceeding the memory quota or any other unhandled exception. The agents must be rescheduled by the foreground application.

    AND

    Periodic agents typically run for 25 seconds. There are other constraints that may cause an agent to be terminated early.
    04-23-2014 10:08 AM
  5. DanSmithKY's Avatar
    I have used a live tile to see how much memory a background task is using in the past. If I recall correctly, Stefan Wick gave me the idea in last year's Build. I think it was in this video: Windows Phone: Developer Best Practices & How to Maximize Performance | Build 2013 | Channel 9
    If you haven't watched the Build videos you should check them out. In general, the content on channel9 is very useful in my opinion.
    04-24-2014 01:29 PM

Similar Threads

  1. Question from a seventy-five year old with a new toy.
    By harveytex in forum Windows Phone 8
    Replies: 2
    Last Post: 01-31-2014, 05:13 PM
  2. Replies: 2
    Last Post: 01-31-2014, 02:33 PM
  3. Here's how (and why) Nokia engages with the Windows Phone community
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 01-31-2014, 02:00 PM
  4. Looking for Flip case with window
    By HC Leo in forum Nokia Lumia 720
    Replies: 0
    Last Post: 01-31-2014, 01:52 PM
  5. mTranslator aims to help you with nine regional languages in India
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 01-31-2014, 01:20 PM
LINK TO POST COPIED TO CLIPBOARD