<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Application on 11.23 crashes under gdb in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211798#M91735</link>
    <description>We have an application compiled in debug mode that runs fine under 11.23.&lt;BR /&gt;But when we attach to it under gdb to set breakpoints it crashes:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gdb /home/dholt/vt_tl1_am -pid 15177&lt;BR /&gt;HP gdb 5.8 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 5.8 (based on GDB) is covered by the&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;..&lt;BR /&gt;Attaching to program: /home/dholt/vt_tl1_am, process 15177&lt;BR /&gt;&lt;BR /&gt;warning: The shared libraries were not privately mapped; setting a&lt;BR /&gt;breakpoint in a shared library will not work until you rerun the program;&lt;BR /&gt;stepping over longjmp calls will not work as expected.&lt;BR /&gt;Use the following command to enable debugging of shared libraries.&lt;BR /&gt;chatr +dbg enable &amp;lt;executable&amp;gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /usr/opt/temip/lib/libclntsh.so.9.0 has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /usr/opt/temip/lib/libwtc9.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;0xc00000000028ad30:0 in _select_sys+0x30 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;(gdb) break vt_tl1am_comm.cxx:1095&lt;BR /&gt;Breakpoint 1 at 0x4000000000b3e0b0:0: file ../tl1_am/src/vt_tl1am_comm.cxx, line 1095 from /home/dholt/vt_tl1_am.&lt;BR /&gt;(gdb) c&lt;BR /&gt;Continuing.&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGSEGV, Segmentation fault&lt;BR /&gt;  si_code: 1 - SEGV_MAPERR - Address not mapped to object.&lt;BR /&gt;[Switching to thread 33 (system thread 1057098)]&lt;BR /&gt;MDequeElement&amp;lt;MVerb&amp;gt;::IsRoot (this=0x9fffffffbf1c26f0)&lt;BR /&gt;    at /usr/opt/temip/tfc/include/tfc_sp_queue.hxx:201&lt;BR /&gt;201       MCC_T_Boolean IsRoot() const { return MCC_K_FALSE;}&lt;BR /&gt;Current language:  auto; currently c++&lt;BR /&gt;(gdb) bt&lt;BR /&gt;0  MDequeElement&amp;lt;MVerb&amp;gt;::IsRoot (this=0x9fffffffbf1c26f0)&lt;BR /&gt;    at /usr/opt/temip/tfc/include/tfc_sp_queue.hxx:201&lt;BR /&gt;1  0xc00000000be776a0:0 in MClass::OnMccCall () at ../tfc_sp_queue.hxx:91&lt;BR /&gt;2  0xc00000000be85640:0 in DispatchModuleSM () at ../tfc_fmk_self_mgt.cxx:103&lt;BR /&gt;3  0xc000000008e2f320:0 in im__dispatch_local () at ../mcc_dispatch.c:187&lt;BR /&gt;4  0xc000000008e790c0:0 in im__rpc_thread_main () at ../mcc_ipc_unix.c:4638&lt;BR /&gt;5  0xc000000008d957b0:0 in thread_shell () at ../mcc_fw_threads.c:488&lt;BR /&gt;6  0xc00000000030f320:0 in __pthread_bound_body+0x190 ()&lt;BR /&gt;   from /usr/lib/hpux64/libpthread.so.1&lt;BR /&gt;(gdb) kill&lt;BR /&gt;Kill the program being debugged? (y or n) y&lt;BR /&gt;(gdb) quit&lt;BR /&gt;</description>
    <pubDate>Fri, 06 Jun 2008 07:54:59 GMT</pubDate>
    <dc:creator>FRESNEDA Christine</dc:creator>
    <dc:date>2008-06-06T07:54:59Z</dc:date>
    <item>
      <title>Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211798#M91735</link>
      <description>We have an application compiled in debug mode that runs fine under 11.23.&lt;BR /&gt;But when we attach to it under gdb to set breakpoints it crashes:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gdb /home/dholt/vt_tl1_am -pid 15177&lt;BR /&gt;HP gdb 5.8 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 5.8 (based on GDB) is covered by the&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;..&lt;BR /&gt;Attaching to program: /home/dholt/vt_tl1_am, process 15177&lt;BR /&gt;&lt;BR /&gt;warning: The shared libraries were not privately mapped; setting a&lt;BR /&gt;breakpoint in a shared library will not work until you rerun the program;&lt;BR /&gt;stepping over longjmp calls will not work as expected.&lt;BR /&gt;Use the following command to enable debugging of shared libraries.&lt;BR /&gt;chatr +dbg enable &amp;lt;executable&amp;gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /usr/opt/temip/lib/libclntsh.so.9.0 has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /usr/opt/temip/lib/libwtc9.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;0xc00000000028ad30:0 in _select_sys+0x30 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;(gdb) break vt_tl1am_comm.cxx:1095&lt;BR /&gt;Breakpoint 1 at 0x4000000000b3e0b0:0: file ../tl1_am/src/vt_tl1am_comm.cxx, line 1095 from /home/dholt/vt_tl1_am.&lt;BR /&gt;(gdb) c&lt;BR /&gt;Continuing.&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGSEGV, Segmentation fault&lt;BR /&gt;  si_code: 1 - SEGV_MAPERR - Address not mapped to object.&lt;BR /&gt;[Switching to thread 33 (system thread 1057098)]&lt;BR /&gt;MDequeElement&amp;lt;MVerb&amp;gt;::IsRoot (this=0x9fffffffbf1c26f0)&lt;BR /&gt;    at /usr/opt/temip/tfc/include/tfc_sp_queue.hxx:201&lt;BR /&gt;201       MCC_T_Boolean IsRoot() const { return MCC_K_FALSE;}&lt;BR /&gt;Current language:  auto; currently c++&lt;BR /&gt;(gdb) bt&lt;BR /&gt;0  MDequeElement&amp;lt;MVerb&amp;gt;::IsRoot (this=0x9fffffffbf1c26f0)&lt;BR /&gt;    at /usr/opt/temip/tfc/include/tfc_sp_queue.hxx:201&lt;BR /&gt;1  0xc00000000be776a0:0 in MClass::OnMccCall () at ../tfc_sp_queue.hxx:91&lt;BR /&gt;2  0xc00000000be85640:0 in DispatchModuleSM () at ../tfc_fmk_self_mgt.cxx:103&lt;BR /&gt;3  0xc000000008e2f320:0 in im__dispatch_local () at ../mcc_dispatch.c:187&lt;BR /&gt;4  0xc000000008e790c0:0 in im__rpc_thread_main () at ../mcc_ipc_unix.c:4638&lt;BR /&gt;5  0xc000000008d957b0:0 in thread_shell () at ../mcc_fw_threads.c:488&lt;BR /&gt;6  0xc00000000030f320:0 in __pthread_bound_body+0x190 ()&lt;BR /&gt;   from /usr/lib/hpux64/libpthread.so.1&lt;BR /&gt;(gdb) kill&lt;BR /&gt;Kill the program being debugged? (y or n) y&lt;BR /&gt;(gdb) quit&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2008 07:54:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211798#M91735</guid>
      <dc:creator>FRESNEDA Christine</dc:creator>
      <dc:date>2008-06-06T07:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211799#M91736</link>
      <description>&amp;gt;But when we attach to it under gdb to set breakpoints it crashes:&lt;BR /&gt;&lt;BR /&gt;Make sure you use chatr like it said:&lt;BR /&gt;chatr +dbg enable /home/dholt/vt_tl1_am&lt;BR /&gt;&lt;BR /&gt;Does this abort consistently?&lt;BR /&gt;&lt;BR /&gt;Have you tried debugging the signal 11 in MDequeElement&lt;MVERB&gt;::IsRoot, assuming it was your bug?&lt;BR /&gt;&lt;BR /&gt;Can you print *this there?&lt;BR /&gt;Do you have a thread stack overflow?&lt;/MVERB&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:40:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211799#M91736</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-06T09:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211800#M91737</link>
      <description>Yes it does core consistently.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Make sure you use chatr like it said:&lt;BR /&gt;&amp;gt;&amp;gt;chatr +dbg enable /home/dholt/vt_tl1_am&lt;BR /&gt;We are going to try this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Have you tried debugging the signal 11 in MDequeElement&lt;MVERB&gt;::IsRoot, assuming it was your bug?&lt;BR /&gt;No but here is its definition:&lt;BR /&gt;MCC_T_Boolean IsRoot() const { return MCC_K_FALSE;}&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Can you print *this there?&lt;BR /&gt;we will do and post the result.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Do you have a thread stack overflow?&lt;BR /&gt;How can we check for it?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Christine&lt;/MVERB&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:01:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211800#M91737</guid>
      <dc:creator>FRESNEDA Christine</dc:creator>
      <dc:date>2008-06-06T15:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211801#M91738</link>
      <description>&amp;gt;No but here is its definition:&lt;BR /&gt;MCC_T_Boolean IsRoot() const { return MCC_K_FALSE;}&lt;BR /&gt;&lt;BR /&gt;If MCC_K_FALSE is a constant, I can't see how it fails unless "this" is bad?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;we will do and post the result.&lt;BR /&gt;&lt;BR /&gt;You can also disassemble the function:&lt;BR /&gt;(gdb) disas&lt;BR /&gt;(gdb) info reg&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Do you have a thread stack overflow?&lt;BR /&gt;&amp;gt;How can we check for it?&lt;BR /&gt;&lt;BR /&gt;(gdb) frame 0&lt;BR /&gt;(gdb) p /x $save_sp = $sp&lt;BR /&gt;(gdb) frame 6&lt;BR /&gt;(gdb) p $save_sp - $sp</description>
      <pubDate>Sat, 07 Jun 2008 00:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211801#M91738</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-07T00:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211802#M91739</link>
      <description>Here are some answer:&lt;BR /&gt;&lt;BR /&gt;$ kctune maxdsiz maxtsiz maxssiz&lt;BR /&gt;&lt;BR /&gt;Tunable       Value  Expression  Changes&lt;BR /&gt;&lt;BR /&gt;maxdsiz  1073741824  Default     Immed&lt;BR /&gt;&lt;BR /&gt;maxssiz   134217728  134217728   Immed&lt;BR /&gt;&lt;BR /&gt;maxtsiz   100663296  Default     Immed&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;$ type gdb&lt;BR /&gt;&lt;BR /&gt;gdb is hashed (/opt/langtools/bin/gdb)&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;$ /opt/langtools/bin/gdb --version&lt;BR /&gt;&lt;BR /&gt;HP gdb 5.8 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.&lt;BR /&gt;&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;&lt;BR /&gt;Hewlett-Packard Wildebeest 5.8 (based on GDB) is covered by the&lt;BR /&gt;&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ aCC -V&lt;BR /&gt;&lt;BR /&gt;aCC: HP C/aC++ B3910B A.06.14 [Feb 22 2007]&lt;BR /&gt;&lt;BR /&gt;## Extract from a make:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;source='tl1_am/src/vt_tl1am_module.cxx' object='tl1_am/src/vt_tl1_am-vt_tl1am_module.o' libtool=no \&lt;BR /&gt;&lt;BR /&gt;DEPDIR=.deps depmode=hp2 /bin/sh ../build-aux/depcomp \&lt;BR /&gt;&lt;BR /&gt;aCC +DD64 -Wl,+k -DHAVE_CONFIG_H -I. -I..  -DVZB_TL1_AM_CONF_LOCAL=\"/etc/opt/vzb/tl1_am\" -DVZB_TL1_AM_CONF_CLUSTER=\"/etc/opt/vzb/temip/tl1_am\" -DVZB_TL1_AM_LOG_LOCAL=\"/var/opt/vzb/log/tl1_am\" -DVZB_TL1_AM_LOG_CLUSTER=\"/var/opt/vzb/temip/log/tl1_am\" -DVZB_TL1_AM_TRACE_LOCAL=\"/var/opt/vzb/trace/tl1_am\" -DVZB_TL1_AM_TRACE_CLUSTER=\"/var/opt/vzb/temip/trace/tl1_am\" -DVZB_TL1_AM_STATE_LOCAL=\"/var/opt/vzb/tl1_am\" -DVZB_TL1_AM_STATE_CLUSTER=\"/var/opt/vzb/temip/tl1_am\" -DVZB_COMMON_STATE_LOCAL=\"/var/opt/vzb/common\" -DVZB_COMMON_STATE_CLUSTER=\"/var/opt/vzb/temip/common\" -DVISUAL_TEMIP -DYY_NO_UNPUT -I../tl1_am/src -I/usr/opt/temip/CMA/include -I/opt/vzb/dstring/include -DPTHREAD_COMPAT_MODE -D_HPUX_SOURCE -D_RWCONFIG_m -D__HPACC_USING_MULTIPLIES_IN_FUNCTIONAL -DDEBUG -I./model/msl -I../model/msl -I/usr/opt/temip/tfc/include -I/usr/opt/temip/mmtoolkit/include -I/usr/opt/temip/mmtoolkit/dev -I/usr/opt/temip/acloc/include -I/usr/opt/temip/ocs/include  -mt +DD64 +z -AA!&lt;BR /&gt;&lt;BR /&gt;  -g -c -o tl1_am/src/vt_tl1_am-vt_tl1am_module.o `test -f 'tl1_am/src/vt_tl1am_module.cxx' || echo '../'`tl1_am/src/vt_tl1am_module.cxx&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;/bin/sh ./libtool --tag=CXX   --mode=link aCC +DD64 -Wl,+k -mt +DD64 +z -AA -g -D_HPUX_SOURCE -mt -z +DD64 -DPTHREAD_COMPAT_MODE /usr/opt/temip/mmtoolkit/lib/mcc_mmshell_unix.o -L/usr/opt/temip/lib -R/usr/opt/temip/lib -ltfc_sp -ltfc_wp -ltfc_fmk -ltfc_acloc -ltfc_async -ltfc_event_filter -ltls77-m -lmcc_exec -lmcc_sys -R/usr/opt/temip/CMA/lib -L/usr/opt/temip/CMA/lib +noobjdebug -lcmi  -o vt_tl1_am tl1_am/src/vt_tl1_am-vt_tl1am_sdhne.o tl1_am/src/vt_tl1_am-vt_tl1am_sdhne_children.o tl1_am/src/vt_tl1_am-vt_tl1am_session_manager.o tl1_am/src/vt_tl1_am-vt_tl1am_user_types.o tl1_am/src/vt_tl1_am-vt_tl1am.o tl1_am/src/vt_tl1_am-vt_tl1am_api.o tl1_am/src/vt_tl1_am-vt_tl1am_backend_test.o tl1_am/src/vt_tl1_am-vt_tl1am_comm.o tl1_am/src/vt_tl1_am-vt_tl1am_comm_link.o tl1_am/src/vt_tl1_am-vt_tl1am_common_test.o tl1_am/src/vt_tl1_am-vt_tl1am_mapper.o tl1_am/src/vt_tl1_am-vt_tl1am_mapper_parser.o tl1_am/src/vt_tl1_am-vt_tl1am_module.o tl1_am/src/vt_tl1_am-vt_tl1am_osi.o tl1_am/src/vt_!&lt;BR /&gt;&lt;BR /&gt; tl1_am-vt_tl1am_parser_lex.o tl1_am/src/vt_tl1_am-vt_tl1am_parser_yacc.o /opt/vzb/dstring/lib/libDStringTeMIP.la &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;aCC +DD64 -Wl,+k -mt +DD64 +z -AA -g -D_HPUX_SOURCE -mt -z +DD64 -DPTHREAD_COMPAT_MODE /usr/opt/temip/mmtoolkit/lib/mcc_mmshell_unix.o +noobjdebug -o vt_tl1_am tl1_am/src/vt_tl1_am-vt_tl1am_sdhne.o tl1_am/src/vt_tl1_am-vt_tl1am_sdhne_children.o tl1_am/src/vt_tl1_am-vt_tl1am_session_manager.o tl1_am/src/vt_tl1_am-vt_tl1am_user_types.o tl1_am/src/vt_tl1_am-vt_tl1am.o tl1_am/src/vt_tl1_am-vt_tl1am_api.o tl1_am/src/vt_tl1_am-vt_tl1am_backend_test.o tl1_am/src/vt_tl1_am-vt_tl1am_comm.o tl1_am/src/vt_tl1_am-vt_tl1am_comm_link.o tl1_am/src/vt_tl1_am-vt_tl1am_common_test.o tl1_am/src/vt_tl1_am-vt_tl1am_mapper.o tl1_am/src/vt_tl1_am-vt_tl1am_mapper_parser.o tl1_am/src/vt_tl1_am-vt_tl1am_module.o tl1_am/src/vt_tl1_am-vt_tl1am_osi.o tl1_am/src/vt_tl1_am-vt_tl1am_parser_lex.o tl1_am/src/vt_tl1_am-vt_tl1am_parser_yacc.o  -L/usr/opt/temip/lib -ltfc_sp -ltfc_wp -ltfc_fmk -ltfc_acloc -ltfc_async -ltfc_event_filter -ltls77-m -lmcc_exec -lmcc_sys -L/usr/opt/temip/CMA/lib -lcmi /opt/vzb/dstrin!&lt;BR /&gt;&lt;BR /&gt; g/lib/libDStringTeMIP.so -L/usr/opt/temip/tfc/lib -L/usr/opt/temip/mmtoolkit/lib   -Wl,+b -Wl,/opt/vzb/dstring/lib:/usr/opt/temip/lib:/usr/opt/temip/CMA/lib&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;bash-3.00$ file /home/dholt/vt_tl1_am&lt;BR /&gt;&lt;BR /&gt;/home/dholt/vt_tl1_am:  ELF-64 executable object file - IA64&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;chatr +dbg enable /home/dholt/vt_tl1_am&lt;BR /&gt;&lt;BR /&gt;/home/dholt/vt_tl1_am:&lt;BR /&gt;&lt;BR /&gt;   current values:&lt;BR /&gt;&lt;BR /&gt;         64-bit ELF executable&lt;BR /&gt;&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first &lt;BR /&gt;&lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;&lt;BR /&gt;             embedded path      enabled  third  /opt/vzb/dstring/lib:/usr/opt/temip/lib:/usr/opt/temip/CMA/lib&lt;BR /&gt;&lt;BR /&gt;         shared library list:&lt;BR /&gt;&lt;BR /&gt;             libtfc_sp.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_wp.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_fmk.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_acloc.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_async.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_event_filter.so&lt;BR /&gt;&lt;BR /&gt;             libtls77-m.so&lt;BR /&gt;&lt;BR /&gt;             libmcc_exec.so&lt;BR /&gt;&lt;BR /&gt;             libmcc_sys.so&lt;BR /&gt;&lt;BR /&gt;             libDStringTeMIP.so&lt;BR /&gt;&lt;BR /&gt;             libstd_v2.so.1&lt;BR /&gt;&lt;BR /&gt;             libCsup.so.1&lt;BR /&gt;&lt;BR /&gt;             libpthread.so.1&lt;BR /&gt;&lt;BR /&gt;             libm.so.1&lt;BR /&gt;&lt;BR /&gt;             libunwind.so.1&lt;BR /&gt;&lt;BR /&gt;             libc.so.1&lt;BR /&gt;&lt;BR /&gt;             libdl.so.1&lt;BR /&gt;&lt;BR /&gt;         shared library binding:&lt;BR /&gt;&lt;BR /&gt;             deferred&lt;BR /&gt;&lt;BR /&gt;         global hash table disabled&lt;BR /&gt;&lt;BR /&gt;         global hash table size 1103&lt;BR /&gt;&lt;BR /&gt;         shared library mapped private disabled&lt;BR /&gt;&lt;BR /&gt;         shared library segment merging disabled&lt;BR /&gt;&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;&lt;BR /&gt;         explicit unloading disabled&lt;BR /&gt;&lt;BR /&gt;         linkage table protection disabled &lt;BR /&gt;&lt;BR /&gt;         segments:&lt;BR /&gt;&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;&lt;BR /&gt;                 8 text 4000000000000000 z---c-    D (default)&lt;BR /&gt;&lt;BR /&gt;                 9 data 6000000000000000 ---m--    D (default)&lt;BR /&gt;&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;&lt;BR /&gt;         kernel assisted branch prediction enabled &lt;BR /&gt;&lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;&lt;BR /&gt;         nulptr references enabled &lt;BR /&gt;&lt;BR /&gt;         address space model: default&lt;BR /&gt;&lt;BR /&gt;         caliper dynamic instrumentation disabled&lt;BR /&gt;&lt;BR /&gt;   new values:&lt;BR /&gt;&lt;BR /&gt;         64-bit ELF executable&lt;BR /&gt;&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first &lt;BR /&gt;&lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;&lt;BR /&gt;             embedded path      enabled  third  /opt/vzb/dstring/lib:/usr/opt/temip/lib:/usr/opt/temip/CMA/lib&lt;BR /&gt;&lt;BR /&gt;         shared library list:&lt;BR /&gt;&lt;BR /&gt;             libtfc_sp.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_wp.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_fmk.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_acloc.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_async.so&lt;BR /&gt;&lt;BR /&gt;             libtfc_event_filter.so&lt;BR /&gt;&lt;BR /&gt;             libtls77-m.so&lt;BR /&gt;&lt;BR /&gt;             libmcc_exec.so&lt;BR /&gt;&lt;BR /&gt;             libmcc_sys.so&lt;BR /&gt;&lt;BR /&gt;             libDStringTeMIP.so&lt;BR /&gt;&lt;BR /&gt;             libstd_v2.so.1&lt;BR /&gt;&lt;BR /&gt;             libCsup.so.1&lt;BR /&gt;&lt;BR /&gt;             libpthread.so.1&lt;BR /&gt;&lt;BR /&gt;             libm.so.1&lt;BR /&gt;&lt;BR /&gt;             libunwind.so.1&lt;BR /&gt;&lt;BR /&gt;             libc.so.1&lt;BR /&gt;&lt;BR /&gt;             libdl.so.1&lt;BR /&gt;&lt;BR /&gt;         shared library binding:&lt;BR /&gt;&lt;BR /&gt;             deferred&lt;BR /&gt;&lt;BR /&gt;         global hash table disabled&lt;BR /&gt;&lt;BR /&gt;         global hash table size 1103&lt;BR /&gt;&lt;BR /&gt;         shared library mapped private enabled &lt;BR /&gt;&lt;BR /&gt;         shared library segment merging disabled&lt;BR /&gt;&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;&lt;BR /&gt;         explicit unloading disabled&lt;BR /&gt;&lt;BR /&gt;         linkage table protection disabled &lt;BR /&gt;&lt;BR /&gt;         segments:&lt;BR /&gt;&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;&lt;BR /&gt;                 8 text 4000000000000000 z---c-    D (default)&lt;BR /&gt;&lt;BR /&gt;                 9 data 6000000000000000 ---m--    D (default)&lt;BR /&gt;&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;&lt;BR /&gt;         kernel assisted branch prediction enabled &lt;BR /&gt;&lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;&lt;BR /&gt;         nulptr references enabled &lt;BR /&gt;&lt;BR /&gt;         address space model: default&lt;BR /&gt;&lt;BR /&gt;         caliper dynamic instrumentation disabled&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;bash-3.00$ gdb /opt/vzb/bin/vt_tl1_am -pid 20361&lt;BR /&gt;&lt;BR /&gt;HP gdb 5.8 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.&lt;BR /&gt;&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;&lt;BR /&gt;Hewlett-Packard Wildebeest 5.8 (based on GDB) is covered by the&lt;BR /&gt;&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;&lt;BR /&gt;..&lt;BR /&gt;&lt;BR /&gt;Attaching to program: /opt/vzb/bin/vt_tl1_am, process 20361&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;warning: The shared libraries were not privately mapped; setting a&lt;BR /&gt;&lt;BR /&gt;breakpoint in a shared library will not work until you rerun the program;&lt;BR /&gt;&lt;BR /&gt;stepping over longjmp calls will not work as expected.&lt;BR /&gt;&lt;BR /&gt;Use the following command to enable debugging of shared libraries.&lt;BR /&gt;&lt;BR /&gt;chatr +dbg enable &lt;EXECUTABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;warning: Load module /usr/opt/temip/lib/libclntsh.so.9.0 has been stripped.  &lt;BR /&gt;&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;warning: Load module /usr/opt/temip/lib/libwtc9.so has been stripped.  &lt;BR /&gt;&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;0xc00000000028ad30:0 in _select_sys+0x30 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;&lt;BR /&gt;(gdb)&lt;BR /&gt;(gdb) bt&lt;BR /&gt;&lt;BR /&gt;#0  0xc00000000028ad30:0 in _select_sys+0x30 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;&lt;BR /&gt;#1  0xc00000000029d380:0 in select+0xc0 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;&lt;BR /&gt;#2  0xc000000002a5e7e0:0 in mcc_sys_select_a () at mcc_sys_file.c:282&lt;BR /&gt;&lt;BR /&gt;#3  0xc000000007ccffa0:0 in im__rpc_server () at ../mcc_ipc_unix.c:2603&lt;BR /&gt;&lt;BR /&gt;#4  0xc000000007ccfa00:0 in mcc_start_server () at ../mcc_main_sub.c:344&lt;BR /&gt;&lt;BR /&gt;#5  0x400000000054c6c0:0 in main () at mcc_mmshell_unix.c:483&lt;BR /&gt;&lt;BR /&gt;(gdb) p *this&lt;BR /&gt;&lt;BR /&gt;No symbol "this" in current context.&lt;BR /&gt;&lt;BR /&gt;(gdb) cont&lt;BR /&gt;&lt;BR /&gt;Continuing.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Program received signal 0, Signal 0&lt;BR /&gt;&lt;BR /&gt;  si_code: 0 - .&lt;BR /&gt;&lt;BR /&gt;[Switching to thread 26 (system thread 7139865)]&lt;BR /&gt;&lt;BR /&gt;0xc00000000028e190:0 in _nanosleep_sys+0x30 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;&lt;BR /&gt;(gdb) break vt_tl1am_comm.cxx:1103&lt;BR /&gt;&lt;BR /&gt;Breakpoint 1 at 0x4000000000b3ae60:0: file ../tl1_am/src/vt_tl1am_comm.cxx, line 1103 from /opt/vzb/bin/vt_tl1_am.&lt;BR /&gt;&lt;BR /&gt;(gdb) c&lt;BR /&gt;&lt;BR /&gt;Continuing.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Program received signal SIGSEGV, Segmentation fault&lt;BR /&gt;&lt;BR /&gt;  si_code: 1 - SEGV_MAPERR - Address not mapped to object.&lt;BR /&gt;&lt;BR /&gt;[Switching to thread 41 (system thread 7181009)]&lt;BR /&gt;&lt;BR /&gt;MDequeElement&lt;MVERB&gt;::IsRoot (this=0x9fffffffbf2526f0)&lt;BR /&gt;&lt;BR /&gt;    at /usr/opt/temip/tfc/include/tfc_sp_queue.hxx:201&lt;BR /&gt;&lt;BR /&gt;201     MCC_T_Boolean IsRoot() const { return MCC_K_FALSE;}&lt;BR /&gt;&lt;BR /&gt;(gdb) bt&lt;BR /&gt;&lt;BR /&gt;#0  MDequeElement&lt;MVERB&gt;::IsRoot (this=0x9fffffffbf2526f0)&lt;BR /&gt;&lt;BR /&gt;    at /usr/opt/temip/tfc/include/tfc_sp_queue.hxx:201&lt;BR /&gt;&lt;BR /&gt;#1  0xc00000000be776a0:0 in MClass::OnMccCall () at ../tfc_sp_queue.hxx:91&lt;BR /&gt;&lt;BR /&gt;#2  0xc00000000be85640:0 in DispatchModuleSM () at ../tfc_fmk_self_mgt.cxx:103&lt;BR /&gt;&lt;BR /&gt;#3  0xc000000007c89320:0 in im__dispatch_local () at ../mcc_dispatch.c:187&lt;BR /&gt;&lt;BR /&gt;#4  0xc000000007cd30c0:0 in im__rpc_thread_main () at ../mcc_ipc_unix.c:4638&lt;BR /&gt;&lt;BR /&gt;#5  0xc000000007bef7b0:0 in thread_shell () at ../mcc_fw_threads.c:488&lt;BR /&gt;&lt;BR /&gt;#6  0xc00000000030f320:0 in __pthread_bound_body+0x190 ()&lt;BR /&gt;&lt;BR /&gt;   from /usr/lib/hpux64/libpthread.so.1&lt;BR /&gt;&lt;BR /&gt;(gdb) p *this&lt;BR /&gt;&lt;BR /&gt;Error accessing memory address 0x33fffffff0: Bad address.&lt;BR /&gt;&lt;BR /&gt;(gdb) exit&lt;BR /&gt;&lt;BR /&gt;The program is running.  Quit anyway (and detach it)? (y or n) y&lt;BR /&gt;&lt;BR /&gt;Detaching from program: /opt/vzb/bin/vt_tl1_am, process 20361&lt;BR /&gt;&lt;BR /&gt;bash-3.00$ exit&lt;BR /&gt;&lt;BR /&gt;Yes MCC_K_FLASE is a constant which means false.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/MVERB&gt;&lt;/MVERB&gt;&lt;/EXECUTABLE&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211802#M91739</guid>
      <dc:creator>FRESNEDA Christine</dc:creator>
      <dc:date>2008-06-09T07:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211803#M91740</link>
      <description>&amp;gt;-mt +DD64 +z -AA ...&lt;BR /&gt;&lt;BR /&gt;Are all of the aC++ shlibs in the chatr output compiled with -mt?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;chatr +dbg enable /home/dholt/vt_tl1_am&lt;BR /&gt;&amp;gt;shared library mapped private enabled&lt;BR /&gt;&amp;gt;$ gdb /opt/vzb/bin/vt_tl1_am -pid 20361&lt;BR /&gt;&amp;gt;warning: The shared libraries were not privately mapped;&lt;BR /&gt;&lt;BR /&gt;Did you restart vt_tl1_am after you did the chatr?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;(gdb) p *this&lt;BR /&gt;&amp;gt;No symbol "this" in current context.&lt;BR /&gt;&lt;BR /&gt;You need to do this when you get the signal.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;(gdb) p *this&lt;BR /&gt;&amp;gt;Error accessing memory address 0x33fffffff0: Bad address.&lt;BR /&gt;&lt;BR /&gt;This isn't good.  But why did it say: (this=0x9fffffffbf1c26f0)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Yes MCC_K_FLASE is a constant which means false.&lt;BR /&gt;&lt;BR /&gt;I need to see the machine code.  Where is this output:&lt;BR /&gt;You can also disassemble the function:&lt;BR /&gt;(gdb) disas&lt;BR /&gt;(gdb) info reg&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Do you have a thread stack overflow?&lt;BR /&gt;&lt;BR /&gt;(gdb) frame 0&lt;BR /&gt;(gdb) p /x $save_sp = $sp&lt;BR /&gt;(gdb) frame 6&lt;BR /&gt;(gdb) p $save_sp - $sp</description>
      <pubDate>Mon, 09 Jun 2008 10:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211803#M91740</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-09T10:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211804#M91741</link>
      <description>Yes all shared libraries are built with -mt option.&lt;BR /&gt;&lt;BR /&gt;No we haven't restarted the executable after running chatr.&lt;BR /&gt;&lt;BR /&gt;We are currently collecting the other information&lt;BR /&gt;&lt;BR /&gt;Thank you &lt;BR /&gt;Christine</description>
      <pubDate>Mon, 09 Jun 2008 10:32:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211804#M91741</guid>
      <dc:creator>FRESNEDA Christine</dc:creator>
      <dc:date>2008-06-09T10:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211805#M91742</link>
      <description>&amp;gt;No we haven't restarted the executable after running chatr.&lt;BR /&gt;&lt;BR /&gt;Don't you have to do that since it aborted when you were in gdb?</description>
      <pubDate>Mon, 09 Jun 2008 11:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211805#M91742</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-09T11:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211806#M91743</link>
      <description>Christine,&lt;BR /&gt;&lt;BR /&gt;   Could you please try again with chatr'ed executable as mentioned by Dennis and let us know whether could you reproduce the crash again?&lt;BR /&gt;&lt;BR /&gt; Please mail to wdb-help@cup.hp.com to get quick replies for your queries/issues related to debugger.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Suganya T</description>
      <pubDate>Tue, 10 Jun 2008 05:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211806#M91743</guid>
      <dc:creator>Suganya Thirumurthy</dc:creator>
      <dc:date>2008-06-10T05:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Application on 11.23 crashes under gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211807#M91744</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;all requested information sent via email to wdb-help@cup.hp.com.&lt;BR /&gt;&lt;BR /&gt;Thank you again for your help.&lt;BR /&gt;I will post the solution in this thread.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Christine</description>
      <pubDate>Tue, 10 Jun 2008 07:19:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-on-11-23-crashes-under-gdb/m-p/4211807#M91744</guid>
      <dc:creator>FRESNEDA Christine</dc:creator>
      <dc:date>2008-06-10T07:19:06Z</dc:date>
    </item>
  </channel>
</rss>

