anhstudios/swganh — Issue #191: Crash in Session.cc after logging out a character and immediately creating a new one
Author: Kronos11
Created: 2012-02-28 03:11:37+00:00
State: open

Callstack

ntdll.dll!778c15de()	Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
ntdll.dll!778c15de()	Unknown
ntdll.dll!778b014e()	Unknown
kernel32.dll!752414dd()	Unknown
msvcp110d.dll!_Atomic_load_4(volatile unsigned long * _Tgt, memory_order _Order) Line 499	C
swganh.exe!std::_Load_atomic_counter(unsigned long & _Counter) Line 182	C++
swganh.exe!std::_Ref_count_base::_Incref_nz() Line 72	C++
swganh.exe!std::_Ptr_base::_Reset(anh::network::soe::Session * _Other_ptr, std::_Ref_count_base * _Other_rep, bool _Throw) Line 396	C++
swganh.exe!std::_Ptr_base::_Reset(const std::_Ptr_base & _Other, bool _Throw) Line 344	C++
swganh.exe!std::shared_ptr::shared_ptr(const std::weak_ptr & _Other, bool _Throw) Line 532	C++
swganh.exe!std::enable_shared_from_this::shared_from_this() Line 1058	C++
>	swganh.exe!`anh::network::soe::Session::SendSoePacket_'::`3'::::operator()() Line 391	C++
swganh.exe!boost::asio::asio_handler_invoke<`anh::network::soe::Session::SendSoePacket_'::`3':: >(anh::network::soe::Session::SendSoePacket_::__l3:: function, ...) Line 65	C++
swganh.exe!boost_asio_handler_invoke_helpers::invoke<`anh::network::soe::Session::SendSoePacket_'::`3'::,`anh::network::soe::Session::SendSoePacket_'::`3':: >(anh::network::soe::Session::SendSoePacket_::__l3:: & function, anh::network::soe::Session::SendSoePacket_::__l3:: & context) Line 39	C++
swganh.exe!boost::asio::detail::completion_handler<`anh::network::soe::Session::SendSoePacket_'::`3':: >::do_complete(boost::asio::detail::win_iocp_io_service * owner, boost::asio::detail::win_iocp_operation * base, const boost::system::error_code & __formal, unsigned int __formal) Line 67	C++
swganh.exe!boost::asio::detail::win_iocp_operation::complete(boost::asio::detail::win_iocp_io_service & owner, const boost::system::error_code & ec, unsigned int bytes_transferred) Line 44	C++
swganh.exe!boost::asio::detail::strand_service::do_complete(boost::asio::detail::win_iocp_io_service * owner, boost::asio::detail::win_iocp_operation * base, const boost::system::error_code & ec, unsigned int __formal) Line 161	C++
swganh.exe!boost::asio::detail::win_iocp_operation::complete(boost::asio::detail::win_iocp_io_service & owner, const boost::system::error_code & ec, unsigned int bytes_transferred) Line 44	C++
swganh.exe!boost::asio::detail::win_iocp_io_service::do_one(bool block, boost::system::error_code & ec) Line 397	C++
swganh.exe!boost::asio::detail::win_iocp_io_service::run(boost::system::error_code & ec) Line 159	C++
swganh.exe!boost::asio::io_service::run() Line 59	C++
swganh.exe!`swganh::app::SwganhApp::Start'::`8'::::operator()() Line 162	C++
swganh.exe!boost::detail::thread_data<`swganh::app::SwganhApp::Start'::`8':: >::run() Line 62	C++
swganh.exe!boost::`anonymous namespace'::thread_start_function(void * param) Line 177	C++
msvcr110d.dll!_callthreadstartex() Line 308	C
msvcr110d.dll!_threadstartex(void * ptd) Line 291	C
kernel32.dll!7524339a()	Unknown
ntdll.dll!778d9ef2()	Unknown
ntdll.dll!778d9ec5()	Unknown

pointing to line 391 in session.cc
auto session = this->shared_from_this();