Search Issue Tracker

Won't Fix

Votes

7

Found in

4.5.4f1

Issue ID

631887

Regression

No

[WP8] Pause/resuming causes crash when WP8 is deployed from visual studio

WP8

-

To reproduce:
1. Create a new project
2. Build for wp8
3. Open the generated solution with Visual Studio
4. Deploy in either debug, release or master configuration
5. Pause/resume the device a few times - a crash occurs

When crashing the output is (on debug):
The program '[5340] TaskHost.exe' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified'.

On Master:
The program '[1228] TaskHost.exe' has exited with code -1073740022 (0xc000070a).

Only seems to crash with the Managed debugger. A lot of breakpoints are triggered when deployed with native debugger, but no crash.

Only reproducible on WP8, update to WP8.1 advised.

Comments (5)

  1. Kiichi

    Feb 27, 2015 13:43

    This is also crashes without Internet capability but this is a fast way to catch this bug, because application that has Internet capability suspended immediately after hiding.

  2. Kiichi

    Feb 27, 2015 13:41

    ADD: this issue appears only if you build Windows Store (8.1). It makes unable to build 8.1 project (because there is no option to build silverlight 8.1, only modern) and as result I can't use new WP8.1 API features like Windows.Data.Xml or Windows.UI.Notifications AT ALL!

    And more correct way to reproduce this issue is:
    1. Create any Unity project
    2. Change target to Windows Store (Phone 8.1)
    3. Build VS project
    4. Open it
    5. Open Package.appxmanifest from Solution explorer
    6. Open Capabilities tab
    7. Check Internet (Client & Server) capability
    8. Build and deploy game to device
    9. Launch it without debugger (it prevent suspending)
    10. Hide game pressing Win button
    11. Return to the game pressing Back button
    12. There is a point of crash on "Resuming..." label (if not: repeat steps 10-11)

  3. Kiichi

    Jan 23, 2015 07:57

    You can turn on Internet capability for testing bacause applications with it suspends just after hiding without any waiting time.

  4. Kiichi

    Jan 22, 2015 16:12

    Found this problem trying to implement Facebook login through Facebook app and after switching to the Facebook and back - it crashes about 9 of 10 times! This issue appears if the OS suspend or terminate the process while it hided. Debugger prevents suspending so in debug mode all works fine. Hope you fix it as soon as possible 'cause Facebook doesn't allow to log in without switching to the app or standard web form.

  5. TurboIsland

    Nov 18, 2014 12:03

    This also happens on fast app switching by pressing the hardware windows button and then the hardware back button. Easiest to reproduce using a Lumia 510 or the 8.1 WVGA 512MB emulator.

Add comment

Log in to post comment