<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hilfe bzgl. Interpretation stacktrace]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich habe nachfolgenden Stacktrace aber ich tu mir schwer festzustellen wo es kracht und vor allem warum.</p>
<p>Kann mir bitte Jemand sagen wie ich sukzessive den Fehlerherd bestimmen kann?</p>
<p>Problem ist &quot;string iterator not dereferencable&quot;</p>
<pre><code>msvcp90d.dll!std::_Debug_message(const wchar_t * message=0x00d34240, const wchar_t * file=0x00d34298, unsigned int line=112)  Line 24	C++
 	soo-cpp-server.exe!std::_String_const_iterator&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;::operator*()  Line 112 + 0x14 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::buffer_debug_check&lt;std::_String_const_iterator&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;::operator()()  Line 526	C++
 	soo-cpp-server.exe!boost::detail::function::void_function_obj_invoker0&lt;boost::asio::detail::buffer_debug_check&lt;std::_String_const_iterator&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;,void&gt;::invoke(boost::detail::function::function_buffer &amp; function_obj_ptr={...})  Line 154	C++
 	soo-cpp-server.exe!boost::function0&lt;void&gt;::operator()()  Line 760 + 0x16 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::buffer_cast_helper(const boost::asio::const_buffer &amp; b={...})  Line 270	C++
 	soo-cpp-server.exe!boost::asio::buffer_cast&lt;void const *&gt;(const boost::asio::const_buffer &amp; b={...})  Line 428 + 0x9 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::buffer_sequence_adapter&lt;boost::asio::const_buffer,boost::asio::const_buffers_1&gt;::validate(const boost::asio::const_buffers_1 &amp; buffer_sequence={...})  Line 237 + 0x9 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::win_iocp_socket_send_op&lt;boost::asio::const_buffers_1,boost::_bi::bind_t&lt;void,boost::_mfi::mf2&lt;void,soo::TcpConnection,boost::system::error_code const &amp;,unsigned int&gt;,boost::_bi::list3&lt;boost::_bi::value&lt;boost::shared_ptr&lt;soo::TcpConnection&gt; &gt;,boost::arg&lt;1&gt;,boost::arg&lt;2&gt; &gt; &gt; &gt;::do_complete(boost::asio::detail::win_iocp_io_service * owner=0x030eac70, boost::asio::detail::win_iocp_operation * base=0x03101120, boost::system::error_code ec={...}, unsigned int bytes_transferred=11)  Line 67 + 0xc bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::win_iocp_operation::complete(boost::asio::detail::win_iocp_io_service &amp; owner={...}, const boost::system::error_code &amp; ec={...}, unsigned int bytes_transferred=11)  Line 44 + 0x20 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::win_iocp_io_service::do_one(bool block=true, boost::system::error_code &amp; ec={...})  Line 399	C++
 	soo-cpp-server.exe!boost::asio::detail::win_iocp_io_service::run(boost::system::error_code &amp; ec={...})  Line 161 + 0xe bytes	C++
 	soo-cpp-server.exe!boost::asio::io_service::run()  Line 57 + 0xf bytes	C++
 	soo-cpp-server.exe!soo::FhemAdapter::runIoService()  Line 181	C++
 	soo-cpp-server.exe!boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt;::operator()(soo::FhemAdapter * p=0x030ea5d0)  Line 49 + 0xc bytes	C++
 	soo-cpp-server.exe!boost::_bi::list1&lt;boost::_bi::value&lt;soo::FhemAdapter *&gt; &gt;::operator()&lt;boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt;,boost::_bi::list0&gt;(boost::_bi::type&lt;void&gt; __formal={...}, boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt; &amp; f={...}, boost::_bi::list0 &amp; a={...}, boost::_bi::type&lt;void&gt; __formal={...})  Line 254	C++
 	soo-cpp-server.exe!boost::_bi::bind_t&lt;void,boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt;,boost::_bi::list1&lt;boost::_bi::value&lt;soo::FhemAdapter *&gt; &gt; &gt;::operator()()  Line 21	C++
 	soo-cpp-server.exe!boost::detail::thread_data&lt;boost::_bi::bind_t&lt;void,boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt;,boost::_bi::list1&lt;boost::_bi::value&lt;soo::FhemAdapter *&gt; &gt; &gt; &gt;::run()  Line 62	C++
&gt;	soo-cpp-server.exe!boost::`anonymous namespace'::thread_start_function(void * param=0x00820390)  Line 177	C++
 	msvcr90d.dll!_callthreadstartex()  Line 348 + 0xf bytes	C
 	msvcr90d.dll!_threadstartex(void * ptd=0x030e9aa8)  Line 331	C
</code></pre>
<p>Danke an Alle die ein paar Tipps haben</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/303053/hilfe-bzgl-interpretation-stacktrace</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 00:01:43 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/303053.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 May 2012 09:45:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hilfe bzgl. Interpretation stacktrace on Fri, 04 May 2012 09:45:46 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich habe nachfolgenden Stacktrace aber ich tu mir schwer festzustellen wo es kracht und vor allem warum.</p>
<p>Kann mir bitte Jemand sagen wie ich sukzessive den Fehlerherd bestimmen kann?</p>
<p>Problem ist &quot;string iterator not dereferencable&quot;</p>
<pre><code>msvcp90d.dll!std::_Debug_message(const wchar_t * message=0x00d34240, const wchar_t * file=0x00d34298, unsigned int line=112)  Line 24	C++
 	soo-cpp-server.exe!std::_String_const_iterator&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;::operator*()  Line 112 + 0x14 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::buffer_debug_check&lt;std::_String_const_iterator&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;::operator()()  Line 526	C++
 	soo-cpp-server.exe!boost::detail::function::void_function_obj_invoker0&lt;boost::asio::detail::buffer_debug_check&lt;std::_String_const_iterator&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;,void&gt;::invoke(boost::detail::function::function_buffer &amp; function_obj_ptr={...})  Line 154	C++
 	soo-cpp-server.exe!boost::function0&lt;void&gt;::operator()()  Line 760 + 0x16 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::buffer_cast_helper(const boost::asio::const_buffer &amp; b={...})  Line 270	C++
 	soo-cpp-server.exe!boost::asio::buffer_cast&lt;void const *&gt;(const boost::asio::const_buffer &amp; b={...})  Line 428 + 0x9 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::buffer_sequence_adapter&lt;boost::asio::const_buffer,boost::asio::const_buffers_1&gt;::validate(const boost::asio::const_buffers_1 &amp; buffer_sequence={...})  Line 237 + 0x9 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::win_iocp_socket_send_op&lt;boost::asio::const_buffers_1,boost::_bi::bind_t&lt;void,boost::_mfi::mf2&lt;void,soo::TcpConnection,boost::system::error_code const &amp;,unsigned int&gt;,boost::_bi::list3&lt;boost::_bi::value&lt;boost::shared_ptr&lt;soo::TcpConnection&gt; &gt;,boost::arg&lt;1&gt;,boost::arg&lt;2&gt; &gt; &gt; &gt;::do_complete(boost::asio::detail::win_iocp_io_service * owner=0x030eac70, boost::asio::detail::win_iocp_operation * base=0x03101120, boost::system::error_code ec={...}, unsigned int bytes_transferred=11)  Line 67 + 0xc bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::win_iocp_operation::complete(boost::asio::detail::win_iocp_io_service &amp; owner={...}, const boost::system::error_code &amp; ec={...}, unsigned int bytes_transferred=11)  Line 44 + 0x20 bytes	C++
 	soo-cpp-server.exe!boost::asio::detail::win_iocp_io_service::do_one(bool block=true, boost::system::error_code &amp; ec={...})  Line 399	C++
 	soo-cpp-server.exe!boost::asio::detail::win_iocp_io_service::run(boost::system::error_code &amp; ec={...})  Line 161 + 0xe bytes	C++
 	soo-cpp-server.exe!boost::asio::io_service::run()  Line 57 + 0xf bytes	C++
 	soo-cpp-server.exe!soo::FhemAdapter::runIoService()  Line 181	C++
 	soo-cpp-server.exe!boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt;::operator()(soo::FhemAdapter * p=0x030ea5d0)  Line 49 + 0xc bytes	C++
 	soo-cpp-server.exe!boost::_bi::list1&lt;boost::_bi::value&lt;soo::FhemAdapter *&gt; &gt;::operator()&lt;boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt;,boost::_bi::list0&gt;(boost::_bi::type&lt;void&gt; __formal={...}, boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt; &amp; f={...}, boost::_bi::list0 &amp; a={...}, boost::_bi::type&lt;void&gt; __formal={...})  Line 254	C++
 	soo-cpp-server.exe!boost::_bi::bind_t&lt;void,boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt;,boost::_bi::list1&lt;boost::_bi::value&lt;soo::FhemAdapter *&gt; &gt; &gt;::operator()()  Line 21	C++
 	soo-cpp-server.exe!boost::detail::thread_data&lt;boost::_bi::bind_t&lt;void,boost::_mfi::mf0&lt;void,soo::FhemAdapter&gt;,boost::_bi::list1&lt;boost::_bi::value&lt;soo::FhemAdapter *&gt; &gt; &gt; &gt;::run()  Line 62	C++
&gt;	soo-cpp-server.exe!boost::`anonymous namespace'::thread_start_function(void * param=0x00820390)  Line 177	C++
 	msvcr90d.dll!_callthreadstartex()  Line 348 + 0xf bytes	C
 	msvcr90d.dll!_threadstartex(void * ptd=0x030e9aa8)  Line 331	C
</code></pre>
<p>Danke an Alle die ein paar Tipps haben</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2208192</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2208192</guid><dc:creator><![CDATA[HansDampfReloaded]]></dc:creator><pubDate>Fri, 04 May 2012 09:45:46 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bzgl. Interpretation stacktrace on Fri, 04 May 2012 09:48:15 GMT]]></title><description><![CDATA[<blockquote>
<p>soo-cpp-server.exe!soo::FhemAdapter::runIoService() Line 181 C++</p>
</blockquote>
<p>Irgendwo dort wird wohl der Fehler liegen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2208194</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2208194</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Fri, 04 May 2012 09:48:15 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bzgl. Interpretation stacktrace on Fri, 04 May 2012 11:37:15 GMT]]></title><description><![CDATA[<p>314159265358979 schrieb:</p>
<blockquote>
<blockquote>
<p>soo-cpp-server.exe!soo::FhemAdapter::runIoService() Line 181 C++</p>
</blockquote>
<p>Irgendwo dort wird wohl der Fehler liegen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
</blockquote>
<p>so einfach ist nicht denn</p>
<pre><code>void FhemAdapter::runIoService() 
	{
		while(!isGoingShutdown) {
			try {
				ioService-&gt;run();
				break; // run() exited normally
			}
			catch (exception&amp; e) {
				// Deal with exception as appropriate.
				std::cerr &lt;&lt; boost::diagnostic_information(e) &lt;&lt; endl;
				//std::cout &lt;&lt; e.what();
			}
		}
	} //line 181
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2208236</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2208236</guid><dc:creator><![CDATA[HansDampfReloaded]]></dc:creator><pubDate>Fri, 04 May 2012 11:37:15 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bzgl. Interpretation stacktrace on Fri, 04 May 2012 11:39:15 GMT]]></title><description><![CDATA[<p>Vielleicht entsteht der Fehler auch schon viel früher und macht sich erst hier bemerkbar. Am besten bemühst du wohl deinen Debugger.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2208239</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2208239</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Fri, 04 May 2012 11:39:15 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bzgl. Interpretation stacktrace on Fri, 04 May 2012 11:51:54 GMT]]></title><description><![CDATA[<p>Die Zeile 181 ist auch keine Zeile, die nichts täte. Es ist das Ende eines Scopes, in C++ ein sehr mächtiges Konstrukt. Anscheinend geht da in einem Destruktor etwas schief.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2208249</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2208249</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Fri, 04 May 2012 11:51:54 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bzgl. Interpretation stacktrace on Fri, 04 May 2012 12:05:05 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p>Die Zeile 181 ist auch keine Zeile, die nichts täte. Es ist das Ende eines Scopes, in C++ ein sehr mächtiges Konstrukt. Anscheinend geht da in einem Destruktor etwas schief.</p>
</blockquote>
<p>Ja, aber</p>
<pre><code class="language-cpp">{//Hier beginnt der Scope

        while(!isGoingShutdown) 
        {//Anderer Scope
            try 
            {
                ioService-&gt;run();
                break;
            }
            catch (exception&amp; e) 
            {
                std::cerr &lt;&lt; boost::diagnostic_information(e) &lt;&lt; endl;
            }
        }

    }//Hier endet er, es gibt in diesem local scope keine lokalen Variablen, weswegen hier auch kein Destruktor aufgerufen werden kann
</code></pre>
<p>Was du meinst, ist, das am Ende eines Scopes immer erst einige Operationen durchgeführt werden, bevor fortgefahren wird, wobei sich in diesem spezifischen Kontext die Frage stellt was das wohl sein könnte.<br />
Könnte es auch sein, dass der Stack-zeiger beschädigt ist, oder so etwas ähnliches?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2208254</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2208254</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 04 May 2012 12:05:05 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bzgl. Interpretation stacktrace on Fri, 04 May 2012 12:12:59 GMT]]></title><description><![CDATA[<p>Hacker schrieb:</p>
<blockquote>
<p>//Hier endet er, es gibt in diesem local scope keine lokalen Variablen, weswegen hier auch kein Destruktor aufgerufen werden kann</p>
</blockquote>
<p>Von der Art der Fragestellung her gehe ich mal stillschweigend davon aus, dass der Threadersteller uns nicht alles relevante gezeigt hat. Wir müssen ihm hier schließlich alles aus der Nase ziehen. Man sollte jedenfalls davon ausgehen, dass der Debugger erst einmal recht hat. Damit er nicht Recht hat, muss das Programm schon ziemlich zerschossen sein. Ich wollte nur erklären, wie ein Absturz bei einer schließenden Klammer auftreten kann.</p>
<blockquote>
<p>Was du meinst, ist, das am Ende eines Scopes immer erst einige Operationen durchgeführt werden, bevor fortgefahren wird, wobei sich in diesem spezifischen Kontext die Frage stellt was das wohl sein könnte.<br />
Könnte es auch sein, dass der Stack-zeiger beschädigt ist, oder so etwas ähnliches?</p>
</blockquote>
<p>Das kann natürlich auch sein. Bei einem Absturz ist erfahrungsgemäß vorher schon ordentlich was schiefgegangen. Stack-corruption ist da ein typisches Problem.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2208256</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2208256</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Fri, 04 May 2012 12:12:59 GMT</pubDate></item></channel></rss>