奇怪的程序挂起,这在调试中意味着什么?
附上windbg后我发现了以下内容:
(1714.258): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=015b5c74 ebx=178a13e0 ecx=dddddddd edx=009a8ca0 esi=09fbf698 edi=09fbf594 eip=005ae2f7 esp=09fbf4a4 ebp=09fbf594 iopl=0 nv up ei ng nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010286 TestApplication!std::_Container_base::_Orphan_all+0x57: 005ae2f7 c70100000000 mov dword ptr [ecx],0 ds:0023:dddddddd=????????
调用堆栈:
TestApplication!std::_Container_base::_Orphan_all+0x57 TestApplication!std::vector >::operator=+0x37 TestApplication!boost::asio::detail::win_iocp_io_service::do_one+0x189 TestApplication!boost::asio::detail::win_iocp_io_service::run+0xa2 TestApplication!boost::asio::io_service::run+0x3a
MSN.. 6
如果您使用的是MSVC和Debug构建配置,0xdddddddd
通常意味着您正在尝试访问释放的内存.调试CRT内存管理器填充可用内存0xdd
.
如果您使用的是MSVC和Debug构建配置,0xdddddddd
通常意味着您正在尝试访问释放的内存.调试CRT内存管理器填充可用内存0xdd
.