chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.72k stars 1.19k forks source link

win_iocp_io_context::timer_thread_function::operator()() Exception #1477

Open Codinablack opened 1 month ago

Codinablack commented 1 month ago

When running my application with boost 1.84.0 , on windows 10, VS 2022 MSVC 17.x with a debugger attached I have discovered this exception that is thrown constantly. I don't find anywhere on the call stack for it to lead back to my code. As far as I can tell this is entirely from external code, due to either not properly initializing an waitabletimer object, or handling it properly throughout its lifetime. Here are further details.

[External Code] Black-Tek-Server.exe!boost::asio::detail::win_iocp_io_context::timer_thread_function::operator()() Line 69 C++ Black-Tek-Server.exe!boost::asio::detail::win_thread::func::run() Line 123 C++ Black-Tek-Server.exe!boost::asio::detail::win_thread_function(void * arg) Line 127 C++ [External Code]

image