Commit f2c9dc4
Fix async stack walk crash for continuations with null DiagnosticIP (#128496)
CordbAsyncStackWalk::PopulateFrame() crashes when encountering a
continuation whose ResumeInfo.DiagnosticIP is NULL (e.g. the new
ValueTaskContinuation introduced in #127973). GetNativeCodeInfoForAddr
is called with a null address which fails.
Fix: In PopulateFrame(), skip continuations with diagnosticIP == NULL
the same way DiagnosticHidden frames are skipped (advance to Next).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent edfa0c6 commit f2c9dc4
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
918 | 927 | | |
919 | 928 | | |
920 | 929 | | |
| |||
0 commit comments