[WP8.1][C#] Random app crash by an unknown invalid handle RRS feed

  • Question

  • Output shows just the following line:

    The program '[3432] App2.WindowsPhone.exe' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified'.

    I can't determine the cause of the crash.

    The program crashes in the about page of a program where nothing special is going on. There is just a pivot control showing content with textblocks (inside scrollview, stackpanel, grids etc), a couple of buttons (which are not used) and a couple of hyperlinks also not used. It takes a couple of minutes inside the about page to crash if it is going to crash. Also, it can crash in any of the pivot items.

    So far I couldn't catch a crash in emulator, only on a physical phone. In vs2013, DEBUG\Exceptions, all exceptions are enabled.

    I also checked the mainpage in case there is something left hanging but in vain. An event handle to catch unhadled exception in app.xaml.cs didn't catch anything.

    Any idea how to locate the problem would be greatly appreciated.

    thank you

    • Edited by gkarypid Wednesday, October 14, 2015 10:53 AM
    Monday, October 12, 2015 7:05 PM