<?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 Re: core file using gdb - What does this mean? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038857#M904698</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The SHLIB_PATH path is not a problem.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;David.</description>
    <pubDate>Fri, 12 Sep 2003 13:36:08 GMT</pubDate>
    <dc:creator>david_252</dc:creator>
    <dc:date>2003-09-12T13:36:08Z</dc:date>
    <item>
      <title>core file using gdb - What does this mean?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038854#M904695</link>
      <description>I have attached the output of analysing a core file with gdb. This Xmotif application generates lots of cores periodically (all applications are launched from PC using Xemulator)We need to understand why it generates so much cores. Can someone help?&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;Program terminated with signal 10, Bus error.&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;&lt;BR /&gt;#0  0xc0183370 in mallinfo () from /usr/lib/libc.2&lt;BR /&gt;&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc0183370 in mallinfo () from /usr/lib/libc.2&lt;BR /&gt;#1  0xc0185fc8 in free () from /usr/lib/libc.2&lt;BR /&gt;#2  0xc4153998 in XtFree () from /usr/lib/X11R6/libXt.3&lt;BR /&gt;#3  0xc4313454 in _XmTextInvalidate () from /usr/lib/Motif2.1/libXm.4&lt;BR /&gt;#4  0xc4332a2c in Replace () from /usr/lib/Motif2.1/libXm.4&lt;BR /&gt;#5  0xc43325f0 in _XmTextModifyVerify () from /usr/lib/Motif2.1/libXm.4&lt;BR /&gt;#6  0xc4314af4 in SetValues () from /usr/lib/Motif2.1/libXm.4&lt;BR /&gt;#7  0xc4314620 in Resize () from /usr/lib/Motif2.1/libXm.4&lt;BR /&gt;#8  0xc418014c in XtSetValues () from /usr/lib/X11R6/libXt.3&lt;BR /&gt;#9  0xc4194b4c in XtVaSetValues () from /usr/lib/X11R6/libXt.3&lt;BR /&gt;#10 0xcb17c in baseAS::clearWindow (this=0x40018c10) at base_cdlg.C:5188&lt;BR /&gt;#11 0xc508c in baseAS::endAccount (this=0x40018c10) at base_cdlg.C:3053&lt;BR /&gt;#12 0xc9018 in baseAS::profileEventHandler (&lt;BR /&gt;    No.Identifier=0x680f0ffc "\001\001C\240CP", objP=0x40018c10,&lt;BR /&gt;    ev=0x680f0cb0, No.Identifier=0x680f0ffc "\001\001C\240CP")&lt;BR /&gt;    at base_cdlg.C:4576&lt;BR /&gt;#13 0xc4164dfc in CallEventHandlers () from /usr/lib/X11R6/libXt.3&lt;BR /&gt;#14 0xc4164ff0 in XtDispatchEventToWidget () from /usr/lib/X11R6/libXt.3&lt;BR /&gt;#15 0xc4166038 in _XtDefaultDispatcher () from /usr/lib/X11R6/libXt.3&lt;BR /&gt;#16 0xc4166310 in XtDispatchEvent () from /usr/lib/X11R6/libXt.3&lt;BR /&gt;#17 0xc41669dc in XtAppMainLoop () from /usr/lib/X11R6/libXt.3&lt;BR /&gt;#18 0x4179c in main (argc=1, argv=0x680f093c) at uxb_main.C:132&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;David.</description>
      <pubDate>Thu, 31 Jul 2003 16:31:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038854#M904695</guid>
      <dc:creator>david_252</dc:creator>
      <dc:date>2003-07-31T16:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: core file using gdb - What does this mean?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038855#M904696</link>
      <description>It probably means your SHLIB_PATH variable isn't set right.&lt;BR /&gt;&lt;BR /&gt;Is it a consistent error or intermittant.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 31 Jul 2003 17:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038855#M904696</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-31T17:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: core file using gdb - What does this mean?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038856#M904697</link>
      <description>The problem seems to be in free() - I suspect that the mallinfo() is an artifact. Note that free() is fall up the call chain. The classic reasons for this sort of error include 1) free()'ing blocks of memory that were never dynamically allocated in the first place 2) freeing an invalid address 3) freeing the same block of memory more than once.&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jul 2003 17:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038856#M904697</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-31T17:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: core file using gdb - What does this mean?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038857#M904698</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The SHLIB_PATH path is not a problem.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;David.</description>
      <pubDate>Fri, 12 Sep 2003 13:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038857#M904698</guid>
      <dc:creator>david_252</dc:creator>
      <dc:date>2003-09-12T13:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: core file using gdb - What does this mean?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038858#M904699</link>
      <description>Try to use a tool that monitors malloc() and free() calls. It can do three things for you:&lt;BR /&gt;1. Scratch newly allocated memory to check if you force initialisation of everything you use&lt;BR /&gt;2. Scratch memory before free to check if you do not try to use it afterwards.&lt;BR /&gt;3. Check if you free memory that was properly allocated.&lt;BR /&gt;&lt;BR /&gt;If something is wrong you should have crash earlier, then before, however current position should be closer to buggy code.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Adam&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Sep 2003 15:26:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-using-gdb-what-does-this-mean/m-p/3038858#M904699</guid>
      <dc:creator>Adam J Markiewicz</dc:creator>
      <dc:date>2003-09-12T15:26:12Z</dc:date>
    </item>
  </channel>
</rss>

