今天在分析一个dump时,遇到一个奇怪的问题,烦请张老师帮忙看一下。
ExceptionAddress: 08ff0bff (activity!ActivityUIManager::onAnnualCeremonyZhanbaoMsg+0x000000b5) ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 00000001 Parameter[1]: 46a0c575 Attempt to write to address 46a0c575
LAST_CONTROL_TRANSFER: from 08fd973c to 08ff0bff
FOLLOWUP_IP: activity!ActivityUIManager::onAnnualCeremonyZhanbaoMsg+b5 08ff0bff ff8d4decc645 dec dword ptr [ebp+45C6EC4Dh]
STACK_TEXT: 00d9d928 08fd973c 05da4750 07550678 00d9d990 activity!ActivityUIManager::onAnnualCeremonyZhanbaoMsg+0xb5 00d9d944 08ff3f0a 05da4750 0000000a 09022088 activity!ActivityModule::createInstance+0x31 00d9d95c 01675bcb 05da4750 00e9fd50 05dc8bcc activity!OnLoadMusicAddon+0x1d
这是windbg给出的信息,但我在onAnnualCeremonyZhanbaoMsg上反汇编,发现onAnnualCeremonyZhanbaoMsg+0xb5 这个偏移不是一条完整的汇编指令,完整的指令是 439 08ff0bfb e89d69feff call activity!QMap<QString,QVariant>::insert (08fd759d) 439 08ff0c00 8d4dec lea ecx,[ebp-14h] 439 08ff0c03 c645fc03 mov byte ptr [ebp-4],3
也就是说,指令截断了,所以FOLLOWUP_IP才会显示成 activity!ActivityUIManager::onAnnualCeremonyZhanbaoMsg+b5 08ff0bff ff8d4decc645 dec dword ptr [ebp+45C6EC4Dh]
这是怎么回事,是windbg的bug吗?谢谢张老师
|