Note that there are some explanatory texts on larger screens.

plurals
  1. POcode dump in string assignment
    primarykey
    data
    text
    <p>I am getting core dump in following part of code:</p> <pre><code>void Debug::writeToFile() { _ptrMutex-&gt;getLock(); write(_fd,_cacheStr.c_str(),_cacheStr.size()); _cacheStr = ""; //flush the write string _ptrMutex-&gt;releaseLock(); } </code></pre> <p>And the core occurred once and stack dump is as follows</p> <pre><code>Thread 1 (Thread 8426): #0 0x00a2a402 in __kernel_vsyscall () #1 0x0072bdf0 in raise () from /lib/libc.so.6 #2 0x0072d701 in abort () from /lib/libc.so.6 #3 0x0545651a in ?? () from /usr/lib/libstdc++.so.6 #4 0x05456552 in std::terminate() () from /usr/lib/libstdc++.so.6 #5 0x0545668a in __cxa_throw () from /usr/lib/libstdc++.so.6 #6 0x053ed1ef in std::__throw_length_error(char const*) () from /usr/lib/libstdc++.so.6 #7 0x0543211d in std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;::_Rep::_S_create(unsigned int, unsigned int, std::allocator&lt;char&gt; const&amp;) () from /usr/lib/libstdc++.so.6 #8 0x05433e28 in std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;::_M_mutate(unsigned int, unsigned int, unsigned int) () from /usr/lib/libstdc++.so.6 #9 0x05433fca in std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) () from /usr/lib/libstdc++.so.6 #10 0x05434065 in std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;::assign(char const*, unsigned int) () from /usr/lib/libstdc++.so.6 #11 0x0815e9a8 in Debug::writeToFile() () #12 0x08161866 in Debug::LOG_PRINT_ERROR(char*, ...) () #13 0x0812bcc6 in DimInternalMsgHandler::handlePeerStatusIndication(DimPeerStatusInd*) () #14 0x0812c52a in DimInternalMsgHandler::handleInternalMessage(unsigned char*, int) () #15 0x0812aa05 in DimDanIfController::handleInMessage(NwPacket&amp;) () </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload