*****。exe中0x00000000772CA267(ntdll.dll)处的未处理异常:0xC0000005:访问冲突写入位置0xFFFFFCA800000000

时间:2018-10-11 07:05:08

标签: c++ windows winapi visual-studio-debugging winhttp

我遇到了这个异常

  

******。exe中0x00000000772CA267(ntdll.dll)的未处理异常:0xC0000005:访问冲突写入位置0xFFFFFCA800000000。

当我查看调用堆栈时,在堆栈中看不到我的代码,但以下内容:

ntdll.dll!RtlFreeHeap() Unknown
kernel32.dll!HeapFree() Unknown
winhttp.dll!CAuthData::Clear(void)  Unknown
winhttp.dll!HTTP_USER_REQUEST::_AdjustCredentialStates(unsigned short,int *)    Unknown
winhttp.dll!HTTP_USER_REQUEST::_ResponseProcessingLoop(class PENDING_API_CALL *)    Unknown
winhttp.dll!HTTP_USER_REQUEST::OnRecvResponse(unsigned long)    Unknown
winhttp.dll!WEBIO_REQUEST::OnIoComplete(unsigned long,unsigned __int64,class HTTP_ASYNC_OVERLAPPED *)   Unknown
winhttp.dll!HTTP_THREAD_POOL::_WorkItemCallback(void)   Unknown
ntdll.dll!TppWorkpExecuteCallback() Unknown
ntdll.dll!TppWorkerThread() Unknown
kernel32.dll!BaseThreadInitThunk()  Unknown
ntdll.dll!RtlUserThreadStart()  Unknown

我们使用SOAP re / res。但是我们已经将几个req / res更新为REST,而不是使用json req / res。进行此更改后,我们得到了上述问题。有时一切正常,您可以说失败是50%次。

1 个答案:

答案 0 :(得分:0)

找到了解决此问题的方法。实际上,在此调用之前,有bufferoverflow破坏了我的堆。修复bufferoverflow解决了我的问题。