【发布时间】:2011-08-01 10:01:20
【问题描述】:
我有一个非托管 C++ 代码的故障转储。
我用Windbg打开,设置符号路径和源路径。 Ran !analyze -v 并得到以下堆栈跟踪
STACK_TEXT:
094efec0 7439fdc8 8b6ac787 00000000 00000000 WINSPAMCATCHER!_invalid_parameter_noinfo+0xc [f:\dd\vctools\crt_bld\self_x86\crt\src\invarg.c @ 125]
094eff3c 743a005e 085c37d8 74547d66 085c37d8 WINSPAMCATCHER!SpamCatcher::SCEngine::ruleUpdateLoop+0x338
094eff44 74547d66 085c37d8 8b6ac637 00000000 WINSPAMCATCHER!SpamCatcher::SCEngine::ruleUpdateLoopWrapperWin+0xe
094eff7c 74547e0e 00000000 094eff94 771df13c WINSPAMCATCHER!_callthreadstartex+0x1b [f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 348]
094eff88 771df13c 091707c8 094effd4 7769d80d WINSPAMCATCHER!_threadstartex+0x82 [f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 326]
WARNING: Stack unwind information not available. Following frames may be wrong.
094eff94 7769d80d 091707c8 7e3e52db 00000000 kernel32+0x8f13c
094effd4 7769da1f 74547d8c 091707c8 00000000 ntdll+0x7d80d
094effec 00000000 74547d8c 091707c8 00000000 ntdll+0x7da1f
从上面的堆栈跟踪中,我看不到 SCEngine::ruleUpdateLoop+0x338 的行号。 相反,我看到偏移量 0x338。我想这是某种装配偏移。是否可以使用windbg找到这个偏移量对应的行号?
【问题讨论】:
-
您找到问题的解决方案了吗?
标签: windbg stack-trace offset