Note that there are some explanatory texts on larger screens.

plurals
  1. POcppunit SEGFAULT - with core dump
    primarykey
    data
    text
    <p>I have a CppUnit test suite that I execute and at the end of the execution the application segments.</p> <p>I have been trying to understand this core dump for a while now and I can't figure out what might be wrong, I though if I paste it here maybe someone would've encountered such issue and point me in a good direction.</p> <pre><code>Program terminated with signal 11, Segmentation fault. #0 0x000000000100ad8e in CppUnit::XmlOutputter::XmlOutputter (this=0x7fffc180bc00, result=&lt;optimized out&gt;, stream=&lt;optimized out&gt;, encoding=...) at XmlOutputter.cpp:21 21 XmlOutputter.cpp: No such file or directory. in XmlOutputter.cpp (gdb) where #0 0x000000000100ad8e in CppUnit::XmlOutputter::XmlOutputter (this=0x7fffc180bc00, result=&lt;optimized out&gt;, stream=&lt;optimized out&gt;, encoding=...) at XmlOutputter.cpp:21 #1 0x00000000016e7d18 in ?? () #2 0x0000000001426498 in std::string::_Rep::_S_empty_rep_storage () #3 0x000000000101488a in ?? () #4 0x00000000016d1de8 in ?? () #5 0x00000000016e79e0 in ?? () #6 0x00000000016e79f0 in ?? () #7 0x00000000016e79e8 in ?? () #8 0x00007f93740040e0 in ?? () #9 0x00007f9374001310 in ?? () #10 0x0000000000000004 in ?? () #11 0x00007fffc180bcf8 in ?? () #12 0x00007f93740040e0 in ?? () #13 0x00000000016e79e0 in ?? () #14 0x000000000100b1a2 in CppUnit::XmlOutputter::addSuccessfulTest (this=&lt;optimized out&gt;, test=0x7f9374004de0, testNumber=32767, testsNode=0x7f9374001610) at XmlOutputter.cpp:195 #15 0x00007f937c47bd85 in std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt;&amp; std::__ostream_insert&lt;char, std::char_traits&lt;char&gt; &gt;(std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt;&amp;, char const*, long) () from /usr/lib64/libstdc++.so.6 #16 0x000000000100a887 in CppUnit::TextTestRunner::~TextTestRunner (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at TextTestRunner.cpp:36 #17 0x000000000100a4ca in __exchange_and_add_single (__val=&lt;optimized out&gt;, __mem=&lt;optimized out&gt;) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/ext/atomicity.h:70 #18 __exchange_and_add_dispatch (__val=&lt;optimized out&gt;, __mem=&lt;optimized out&gt;) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/ext/atomicity.h:86 #19 _M_dispose (__a=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/bits/basic_string.h:234 #20 ~basic_string (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/bits/basic_string.h:494 #21 _Destroy&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; (__pointer=&lt;optimized out&gt;) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/bits/stl_construct.h:88 #22 _Destroy&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;*&gt; (__last=&lt;optimized out&gt;, __first=&lt;optimized out&gt;) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/bits/stl_construct.h:103 #23 _Destroy&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;*, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; (__last=&lt;optimized out&gt;, __first=0x0) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/bits/stl_construct.h:128 #24 _M_destroy_data_aux (__last=&lt;optimized out&gt;, __first=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/bits/deque.tcc:709 #25 _M_destroy_data (__last=&lt;optimized out&gt;, __first=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/bits/stl_deque.h:1604 #26 ~deque (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at /proj/ims_lu/repository/LOTC/R1A07-0/usr/include/c++/4.3/bits/stl_deque.h:776 #27 ~Message (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at ../../include/cppunit/Message.h:39 #28 CppUnit::TextOutputter::printFailureDetail (this=0x407a80, thrownException=0x7fffc180d1b0) at TextOutputter.cpp:101 #29 0x00007f937c3e7b38 in ?? () from /usr/lib64/libstdc++.so.6 #30 0x00007fffc180bf50 in ?? () #31 0x00007fffc180c0b0 in ?? () #32 0x00007fffc180c0c8 in ?? () #33 0x00007f937d84f58b in _dl_map_object_deps () from /lib64/ld-linux-x86-64.so.2 Backtrace stopped: previous frame inner to this frame (corrupt stack?) </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.
    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