[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] CDT Debugger Crashes GDB.

Hi All,
I have a strange issue with GDB/CDT. When debugging, I run up to a break point. GDB momentarily pauses at the break point, then terminates. I have included the verbose GDB output below. It seems as though the CDT debugger issues a spurious command to GDB and it crashes, but I am just guessing. The only other clue is that I am trying to debug a boost unit test but I can't see how it would affect it. Has anyone seen this behavior? Any suggestions as to what it might be?

Thanks
Matt

10040*stopped,reason="breakpoint-hit",bkptno="2",thread-id="1",frame={addr="0x0000000000453057",func"xxxxxxx",args=[{name="this",value="0x7fff87d4fcf0"}...,file="/data/work/.....",fullname="/data/work/....",line="60"}
(gdb)
10041 info threads
&"info threads\n"
~"* 1 Thread 0x2b4e23204460 (LWP 6136).... at /data/work/....:60\n"
10041^done
(gdb)
10042-stack-info-depth
10042^done,depth="22"
(gdb)
10043-stack-list-frames 0 22
10043^done,stack=[frame={level="0",addr="0x0000000000453057",func="xxxx",file="/data/work/.....",fullname="/data/work/......",line="60"},frame={level="1",addr="0x0000000000453115",func="yyyyyy",file="/data/work/.....",fullname="/data/work/......",line="82"},frame={level="2",addr="0x000000000047403c",func="zzzzzz",file="/data/work/......",fullname="/data/work/......",line="54"},frame={level="3",addr="0x0000000000431225",func="boost::unit_test::ut_detail::invoker<boost::unit_test::ut_detail::unused>::invoke<void (*)()>",file="/usr/include/boost/test/utils/callback.hpp",fullname="/usr/include/boost/test/utils/callback.hpp",line="56"},frame={level="4",addr="0x0000000000431249",func="boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke",file="/usr/include/boost/test/utils/callback.hpp",fullname="/usr/include/boost/test/utils/callback.hpp",line="89"},frame={level="5",addr="0x00002b4e22dcca7c",func="boost::unit_test::callback0<boost::unit_test::ut_detail::unused>::operator()",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/utils/callback.hpp",line="118"},frame={level="6",addr="0x00002b4e22dcc636",func="operator()",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/unit_test_monitor.ipp",line="39"},frame={level="7",addr="0x00002b4e22dcc657",func="invoke<boost::unit_test::<unnamed>::zero_return_wrapper>",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/utils/callback.hpp",line="42"},frame={level="8",addr="0x00002b4e22dcc677",func="invoke",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/utils/callback.hpp",line="89"},frame={level="9",addr="0x00002b4e22dbd41a",func="boost::unit_test ::callback0<int>::operator()",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/utils/callback.hpp",line="118"},frame={level="10",addr="0x00002b4e22dbbf76",func="boost::execution_monitor::catch_signals",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/execution_monitor.ipp",line="428"},frame={level="11",addr="0x00002b4e22dbc3fe",func="boost::execution_monitor::execute",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/execution_monitor.ipp",line="225"},frame={level="12",addr="0x00002b4e22dcc7e3",func="boost::unit_test::unit_test_monitor_t::execute_and_translate",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/unit_test_monitor.ipp",line="56"},frame={level="13",addr="0x00002b4e22dc187e",func="boost::unit_test::framework_impl::visit",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/framework.ipp",line="100"},frame={level="14",addr="0x00002b 4e22dd6518",func="boost::unit_test::traverse_test_tree",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/unit_test_suite.ipp",line="154"},frame={level="15",addr="0x00002b4e22dd6b9c",func="boost::unit_test::traverse_test_tree",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/unit_test_suite.ipp",line="196"},frame={level="16",addr="0x00002b4e22dd6800",func="boost::unit_test::traverse_test_tree",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/unit_test_suite.ipp",line="167"},frame={level="17",addr="0x00002b4e22dd6bb3",func="boost::unit_test::traverse_test_tree",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/unit_test_suite.ipp",line="198"},frame={level="18",addr="0x00002b4e22dbdec3",func="boost::unit_test::framework::run",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/framework.ipp",line="324"},frame={level="19",addr="0x00002b4e22dcc2bf ",func="main",file="/data/work/zbuild/tmp/zrpm/rpmbuild/BUILD/boost_1_33_1/boost/test/impl/unit_test_main.ipp",line="49"},frame={level="20",addr="0x0000003f7821d974",func="__libc_start_main",from="/lib64/libc.so.6"},frame={level="21",addr="0x000000000040bbd9",func="_start"}]
(gdb)
10044-data-list-changed-registers
10044^done,changed-registers=["0","2","3","4","5","6","7","8","9","10","11","16","17","31","40","41","42","43","44","45","46","56"]
(gdb)
10045 info sharedlibrary
&"info sharedlibrary\n"
~"From To Syms Read Shared Object Library\n"
~"0x0000003f77e00a70 0x0000003f77e166fe Yes /lib64/ld-linux-x86-64.so.2\n"
~"0x0000003f81c0d1c0 0x0000003f81c11128 Yes /usr/lib64/libboost_date_time-gcc-mt-d-1_33_1.so.1.33.1\n"
~"0x0000003f7ee08840 0x0000003f7ee10028 Yes /usr/lib64/libboost_filesystem-gcc-mt-d-1_33_1.so.1.33.1\n"
~"0x0000003f78a05b70 0x0000003f78a08918 Yes /usr/lib64/libboost_iostreams-gcc-mt-d-1_33_1.so.1.33.1\n"
~"0x0000003f8243dd50 0x0000003f8245fbc8 Yes /usr/lib64/libboost_program_options-gcc-mt-d-1_33_1.so.1.33.1\n"
~"0x0000003f7e20d350 0x0000003f7e215508 Yes /usr/lib64/libboost_thread-gcc-mt-d-1_33_1.so.1.33.1\n"
~"0x00002b4e22dbaef0 0x00002b4e22ddc4a8 Yes /usr/lib64/libboost_unit_test_framework-gcc-mt-d-1_33_1.so.1.33.1\n"
~"0x0000003f88401610 0x0000003f8840d608 Yes /usr/lib64/libbz2.so.1\n"
~"0x0000003f796051b0 0x0000003f79617258 Yes /usr/lib64/libpcap.so.0.9.4\n"
~"0x0000003f78e051f0 0x0000003f78e0fb68 Yes /lib64/libpthread.so.0\n"
~"0x0000003f7d602220 0x0000003f7d605cc8 Yes /lib64/librt.so.1\n"
~"0x0000003f7a64f430 0x0000003f7a6c2fe8 Yes /usr/lib64/libstdc++.so.6\n"
~"0x0000003f79201eb0 0x0000003f7920c978 Yes /usr/lib64/libz.so.1\n"
~"0x00002b4e22ff5e50 0x00002b4e22ffef88 Yes /lib64/libgcc_s.so.1\n"
~"0x0000003f7821d760 0x0000003f78308ec8 Yes /lib64/libc.so.6\n"
~"0x0000003f78603e60 0x0000003f78643e38 Yes /lib64/libm.so.6\n"
10045^done
(gdb)
10046-var-create - * indexer_->size()
10046^done,name="var9",numchild="0",value="203",type="long unsigned int"
(gdb)
10047-var-evaluate-_expression_ var9
10047^done,value="203"
(gdb)
10048-stack-list-arguments 0 0 0
10048^done,stack-args=[frame={level="0",args=[name="this",name="sic"]}]
(gdb)
10049-stack-list-locals 0
10049^done,locals=[]
(gdb)
10050 whatis this
&"whatis this\n"
10051-gdb-exit