-
Notifications
You must be signed in to change notification settings - Fork 799
Closed
Labels
appModel-win32Exclusive to WinUI 3 Win32 Desktop appsExclusive to WinUI 3 Win32 Desktop appsproduct-winui3WinUI 3 issuesWinUI 3 issues
Description
The application crash occurs when co_await asynchronous function in the loop.
co_await resume_background();
for (int i = 0; i < 10000; ++i) {
co_await Test();
}
-
download source code
https://github.com/shelllet/winui_stack_overflow.git -
compile and run
-
click button 'clickme'
error:
Symbol loading disabled by Include/Exclude setting.
Exception thrown at 0x00007FF7BAD5A77F in App1.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x0000007CC4403F88).
Unhandled exception at 0x00007FF7BAD5A77F in App1.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x0000007CC4403F88).
2021-05-23.15-25-01.mp4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
appModel-win32Exclusive to WinUI 3 Win32 Desktop appsExclusive to WinUI 3 Win32 Desktop appsproduct-winui3WinUI 3 issuesWinUI 3 issues