Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding TextBox/RichEditBox to window crashes app #7321

Closed
1 of 2 tasks
emily33901 opened this issue Jul 5, 2022 · 1 comment
Closed
1 of 2 tasks

Adding TextBox/RichEditBox to window crashes app #7321

emily33901 opened this issue Jul 5, 2022 · 1 comment
Labels
area-TextBox TextBox, RichEditBox bug Something isn't working Crash whenever user reports a crash or app freeze no-issue-activity product-winui3 WinUI 3 issues team-Controls Issue for the Controls team

Comments

@emily33901
Copy link

Describe the bug

Adding a textbox to a window will crash app with code 0x80004005 and message 'unspecified error'.

Steps to reproduce the bug

struct App : public ApplicationT<App>
{
    void OnLaunched(const LaunchActivatedEventArgs &args)
    {
        auto window = Window {};
        window.Content(Controls::TextBox {});
        window.Activate();
    }
};

Expected behavior

To not crash, or atleast have a relevent error code.

Screenshots

no screenshots but

'ui-cxx.exe' (Win32): Loaded 'x64-Debug\ui-cxx.exe'. Symbols loaded.
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded.
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'rainwaysdk.dll'. Symbols loaded.
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. 
'ui-cxx.exe' (Win32): Loaded 'x64-Debug\Microsoft.WindowsAppRuntime.Bootstrap.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1d.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\wtsapi32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\newdev.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\mfplat.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\mf.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\D3D12.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\avrt.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\XInputUap.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\devrtl.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\RTWorkQ.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\mfcore.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ksuser.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'. 
The thread 0x4f20 has exited with code 0 (0x0).
D:\a\_work\1\s\BuildOutput\Release\x64\WindowsAppRuntime_DLL\WindowsAppRuntimeInsights.h(53)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FFF8A07206B: (caller: 00007FFF8A06D898) LogHr(1) tid(71f0) 8007007E The specified module could not be found.
    Msg:[Unable to load resource dll. Microsoft.WindowsAppRuntime.Insights.Resource.dll] 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\AppXDeploymentClient.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\Windows.ApplicationModel.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'. Symbols loaded.
D:\a\_work\1\s\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(814)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FFF8A06A779: (caller: 00007FFF8A0692CF) LogHr(2) tid(71f0) 80040010 Object is not in any of the inplace active states
    Msg:[Bootstrap.Intitialize: Scanning packages for Major.Minor=1.1, Tag=, MinVersion=0.0.0.0] CallContext:[\Initialize] 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryCore.dll'. 
D:\a\_work\1\s\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(923)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FFF8A06B1FE: (caller: 00007FFF8A0692CF) LogHr(3) tid(71f0) 80040012 Not able to perform the operation because object is not given storage yet
    Msg:[Bootstrap.Intitialize: Microsoft.WinAppRuntime.DDLM.1000.516.2156.0-x6_1000.516.2156.0_x64__8wekyb3d8bbwe is applicable (Major.Minor=1.1, Tag=, MinVersion=0.0.0.0)] CallContext:[\Initialize] 
D:\a\_work\1\s\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(914)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FFF8A06B098: (caller: 00007FFF8A0692CF) LogHr(4) tid(71f0) 80040011 Not able to convert object
    Msg:[Bootstrap.Intitialize: Microsoft.WinAppRuntime.DDLM.1000.516.2156.0-x8_1000.516.2156.0_x86__8wekyb3d8bbwe not applicable. Architecture doesn't match current architecture x64 (Major.Minor=1.1, Tag=, MinVersion=0.0.0.0)] CallContext:[\Initialize] 
D:\a\_work\1\s\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(946)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FFF8A06BB26: (caller: 00007FFF8A0692CF) LogHr(5) tid(71f0) 80040013     Msg:[Bootstrap.Intitialize: Microsoft.WinAppRuntime.DDLM.1000.516.2156.0-x6_1000.516.2156.0_x64__8wekyb3d8bbwe best matches the criteria (Major.Minor=1.1, Tag=, MinVersion=0.0.0.0) of 100 packages scanned] CallContext:[\Initialize] 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\twinui.appcore.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\wldp.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreUAPCommonProxyStub.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\daxexec.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\fltLib.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\container.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\usermgrcli.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\twinui.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\pdh.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryPS.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\LicenseManagerApi.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\capauthz.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\edputil.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\urlmon.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\iertutil.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\srvcli.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\netutils.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\AppResolver.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\slc.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\BCP47Langs.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\sppc.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreCommonProxyStub.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\mpr.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\execmodelproxy.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.WindowsAppRuntime.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\xmllite.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\rometadata.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryClient.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.ui.xaml.dll'. Symbols loaded.
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.Internal.FrameworkUdk.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml.Internal.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\dcomp.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\CoreMessagingXP.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\Windows.UI.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\WindowManagementAPI.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\InputHost.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. 
'ui-cxx.exe' (Win32): Unloaded 'C:\Windows\System32\CoreUIComponents.dll'
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\Windows.UI.Immersive.dll'. 
'ui-cxx.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c43eff7079c4c90c\nvldumdx.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\cryptnet.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\drvstore.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.Windows.ApplicationModel.Resources.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\MRM.dll'. 
onecoreuap\windows\frameworkudk\mrtcore.cpp(388)\Microsoft.Internal.FrameworkUdk.dll!00007FFF736052B8: (caller: 00007FFF7363EC6D) ReturnHr(1) tid(71f0) 80073D54 The process has no package identity.
D:\a\_work\1\s\dev\WindowsAppRuntime_Insights\WindowsAppRuntimeInsights.h(44)\MRM.dll!00007FFF74C6D81C: (caller: 00007FFF74C9A685) LogHr(1) tid(71f0) 80070002 The system cannot find the file specified.
    Msg:[Failed to load resource string. id: 10001] 
D:\a\_work\1\s\dev\MRTCore\mrt\mrm\mrmmin\UnifiedView.cpp(277)\MRM.dll!00007FFF74C72F2B: (caller: 00007FFF74C9AADE) ReturnHr(1) tid(71f0) 80070002 The system cannot find the file specified.
D:\a\_work\1\s\dev\MRTCore\mrt\mrm\mrmmin\UnifiedView.cpp(292)\MRM.dll!00007FFF74C72F44: (caller: 00007FFF74C9AADE) ReturnHr(2) tid(71f0) 80070002 The system cannot find the file specified.
D:\a\_work\1\s\dev\MRTCore\mrt\Core\src\MRM.cpp(520)\MRM.dll!00007FFF74C9AAFD: (caller: 00007FFF89F58EEA) ReturnHr(3) tid(71f0) 80070002 The system cannot find the file specified.
D:\a\_work\1\s\dev\DynamicDependency\API\PackageGraphManager.cpp(211)\Microsoft.WindowsAppRuntime.dll!00007FFF73313B64: (caller: 00007FFF7330A22C) ReturnHr(1) tid(71f0) 8007007A The data area passed to a system call is too small.
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\imagehlp.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.WindowsAppRuntime.Insights.Resource.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\BCP47mrm.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Globalization.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\dcompi.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.UI.Composition.OSSupport.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\wuceffectsi.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\marshal.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\dwmcorei.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\D3DCompiler_47.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ninput.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.InputStateManager.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.UI.Input.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\UIAutomationCore.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c43eff7079c4c90c\nvwgf2umx.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c43eff7079c4c90c\NvCamera\NvCameraAllowlisting64.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.UI.Windowing.Core.dll'. 
'ui-cxx.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c43eff7079c4c90c\NvCamera\NvCameraAllowlisting64.dll'
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\DataExchange.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\WinUIEdit.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\ELSCore.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\globinputhost.dll'. 
The thread 0x6fa4 has exited with code 0 (0x0).
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\nvspcap64.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\msctfp.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'. 
Exception thrown at 0x00007FFFCEE84FD9 (KernelBase.dll) in ui-cxx.exe: WinRT originate error - 0x80040155 : 'Failed to find proxy registration for IID: {8DED7393-5DB1-475C-9E71-A39111B0FF67}.'.
onecore\com\combase\dcomrem\marshal.cxx(1284)\combase.dll!00007FFFD0CEC1AB: (caller: 00007FFFD0CEB564) ReturnHr(1) tid(da80) 80040155 Interface not registered
    Msg:[Failed to marshal with IID={8DED7393-5DB1-475C-9E71-A39111B0FF67}] 
onecore\com\combase\dcomrem\marshal.cxx(1179)\combase.dll!00007FFFD0CEB594: (caller: 00007FFFD0CEA11B) LogHr(1) tid(da80) 80040155 Interface not registered
onecore\com\combase\dcomrem\marshal.cxx(1119)\combase.dll!00007FFFD0DC6C04: (caller: 00007FFFD0CE9A2D) ReturnHr(2) tid(da80) 80040155 Interface not registered
Exception thrown at 0x00007FFFCEE84FD9 (KernelBase.dll) in ui-cxx.exe: WinRT originate error - 0x80040155 : 'Failed to find proxy registration for IID: {C3ACEFB5-F69D-4905-938F-FCADCF4BE830}.'.
onecore\com\combase\dcomrem\marshal.cxx(1284)\combase.dll!00007FFFD0CEC1AB: (caller: 00007FFFD0CEB564) ReturnHr(3) tid(da80) 80040155 Interface not registered
    Msg:[Failed to marshal with IID={C3ACEFB5-F69D-4905-938F-FCADCF4BE830}] 
onecore\com\combase\dcomrem\marshal.cxx(1179)\combase.dll!00007FFFD0CEB594: (caller: 00007FFFD0CEA11B) LogHr(2) tid(da80) 80040155 Interface not registered
onecore\com\combase\dcomrem\marshal.cxx(1119)\combase.dll!00007FFFD0DC6C04: (caller: 00007FFFD0CE9A2D) ReturnHr(4) tid(da80) 80040155 Interface not registered
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\oleacc.dll'. 
'ui-cxx.exe' (Win32): Loaded 'C:\Windows\System32\TextShaping.dll'. 
The thread 0xd014 has exited with code 0 (0x0).
'ui-cxx.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1002.543.1943.0_x64__8wekyb3d8bbwe\Microsoft.DirectManipulation.dll'. 
onecoreuap\windows\frameworkudk\dxprivatescommon.cpp(53)\Microsoft.Internal.FrameworkUdk.dll!00007FFF735E9BC5: (caller: 00007FFF7363ED0D) ReturnHr(2) tid(71f0) 80004002 No such interface supported
onecoreuap\windows\frameworkudk\dxprivatescommon.cpp(53)\Microsoft.Internal.FrameworkUdk.dll!00007FFF735E9BC5: (caller: 00007FFF7363ED0D) ReturnHr(3) tid(71f0) 80004002 No such interface supported
Exception thrown at 0x00007FFFCEE84FD9 (KernelBase.dll) in ui-cxx.exe: WinRT originate error - 0x80004005 : 'Unspecified error'.
Unhandled exception at 0x00007FFFCEF5FA32 (KernelBase.dll) in ui-cxx.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x0000021E78FE1AE0, 0x0000000000000003).

NuGet package version

WinUI 3 - Windows App SDK 1.1.1

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows 10 (21H1): Build 19043

Additional context

This is inside of an unpackaged app, as such I have no idea whether it works from inside an xaml file as I have no idea how to hook that up properly. This crash does not happen from the blank xaml app template that visual studio ships with (when added in the window xaml or as code inside of App::OnLaunched(). Incidently that visual studio app uses the windows 11 UI whereas the unpackaged app does not.

@emily33901 emily33901 added the bug Something isn't working label Jul 5, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Jul 5, 2022
@emily33901 emily33901 changed the title Adding TextBox/RichTextBox to window crashes app Adding TextBox/RichEditBox to window crashes app Jul 5, 2022
@ojhad ojhad added area-TextBox TextBox, RichEditBox team-Controls Issue for the Controls team product-winui3 WinUI 3 issues and removed needs-triage Issue needs to be triaged by the area owners labels Jul 11, 2022
@bpulliam bpulliam added the Crash whenever user reports a crash or app freeze label Oct 13, 2022
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TextBox TextBox, RichEditBox bug Something isn't working Crash whenever user reports a crash or app freeze no-issue-activity product-winui3 WinUI 3 issues team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants