none
[UWP] AppService with FullTrustProcessLauncher(desktop bridge) throws Win32 Exception RRS feed

  • 问题

  • Hi all.

    I'm working on a uwp application and it crashes at a certain time point. I found it's caused by a unhandled win32 exception throw from AppContracts.dll when I'm dealing with process launched by FullTrustProcessLauncher.

    Below is the detailed info:

    onecoreuap\base\appmodel\appcontracts\lib\contractstreams.cpp(80)\AppContracts.dll!15709009: (caller: 15708C78) Exception(1) tid(462c) 8007006D The pipe has been ended.
        CallContext:[\LoadMessageHeader] 

    0x773F5242 处(位于 WindowsGoodbye.exe 中)引发的异常: Microsoft C++ 异常: wil::ResultException,位于内存位置 0x12DCDCE8 处。(At 0x773F5242 caused Exception: wil::ResultException at memory address 0x12DCDCE8 )

    0x773F5242 处(位于 WindowsGoodbye.exe 中)引发的异常: Microsoft C++ 异常: [rethrow],位于内存位置 0x00000000 处。(At 0x773F5242 caused Exception: [rethrow] at memory address 0x12DCDCE8 )

    And the program exits with return code 0x1.

    Any ideas? I think the problem may be trying to communicate to the remote process when it's exiting or already exited.

    Thanks,

    Charlie Jiang

    2018年5月6日 15:52

全部回复

  • Hi Charlie Jiang,

    Have you added the runFullTrust capability in the manifest file mentioned in this document:FullTrustProcessLauncher Class?

    Best regards,

    Roy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2018年5月29日 2:33