调用堆栈中的RedirectedThreadFrame [英] RedirectedThreadFrame in Callstack

查看:90
本文介绍了调用堆栈中的RedirectedThreadFrame的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人在windbg的调用堆栈中看到RedirectedThreadFrame吗?那是来自托管的调用栈。我看到在框架内引发了很多异常,但从未出现在我眼前,我正在设法找出原因。本地调用堆栈仅具有:

Has anyone seen a RedirectedThreadFrame in a callstack in windbg? That is from the managed callstack. I am seeing alot of exceptions being thrown inside the framework that I am never seeing bubbled to me and I am trying to figure out why. The native callstack just has:


0526f6b0 79f63d27 KERNEL32!RaiseException + 0x53
0526f718 79f64102 mscorwks!Thread :: RedirectedHandledJITCase + 0x198
0526f720 00000000 mscorwks!Thread :: RedirectedHandledJITCaseForGCThreadControl + 0x7

0526f6b0 79f63d27 KERNEL32!RaiseException+0x53 0526f718 79f64102 mscorwks!Thread::RedirectedHandledJITCase+0x198 0526f720 00000000 mscorwks!Thread::RedirectedHandledJITCaseForGCThreadControl+0x7

托管的调用堆栈具有:


0526f6dc 7c812aeb [RedirectedThreadFrame:0526f6dc]
0526f724 00c741b9 Library.Class.b__3(MyObject)
0526f7cc 00c73c85 ParallelProcessingLibrary.ActionController`1 [[System .__ on ,mscorlib]]。ExecutePartition(System.Object)
0526f840 79a00eee System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
0526f84c 792e019f System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System .Threading.ContextCallback,System.Object)
0526f864 797db48a System.Threading.ThreadHelper.ThreadStart(System.Object)
0526fa8c 79e71b4c [GCFrame:0526fa8c]

0526f6dc 7c812aeb [RedirectedThreadFrame: 0526f6dc] 0526f724 00c741b9 Library.Class.b__3(MyObject) 0526f7cc 00c73c85 ParallelProcessingLibrary.ActionController`1[[System.__Canon, mscorlib]].ExecutePartition(System.Object) 0526f840 79a00eee System.Threading.ThreadHelper.ThreadStart_Context(System.Object) 0526f84c 792e019f System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 0526f864 797db48a System.Threading.ThreadHelper.ThreadStart(System.Object) 0526fa8c 79e71b4c [GCFrame: 0526fa8c]

我无法提供有关这意味着什么的任何信息。

I have been unable to turn up any information as to what this means. Any explanations would be appreciated.

推荐答案

我找到了答案。这是因为CLR挂起了GC的线程。
张俊峰的博客文章

I found the answer to this. This is occuring as the CLR suspends threads for the GC. Junfeng Zhang's Blog Post

这篇关于调用堆栈中的RedirectedThreadFrame的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆