<?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: ERROR: mmap failed for dld in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690587#M723355</link>
    <description>Using 'strings' on a core file is generally useless, because anything in a processes memory at the time it crashed can appear.  This can include all sorts of error messages that probably have nothing to do with the fault, and in your case this is true - 'mmap failed for dld' is unlikely to have anything to do with the problem.&lt;BR /&gt;&lt;BR /&gt;What you've really got is a 'bus error', which occurs when your program tries to read from a mis-aligned pointer.  Basically, its a bug in your code.&lt;BR /&gt;&lt;BR /&gt;First, make sure your application is compiled with -g so that full debug information is available, then get a full stack trace from xdb or some other debugger.  That will show you the line of code that caused the core dump.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
    <pubDate>Tue, 26 Mar 2002 11:17:55 GMT</pubDate>
    <dc:creator>Steven Gillard_2</dc:creator>
    <dc:date>2002-03-26T11:17:55Z</dc:date>
    <item>
      <title>ERROR: mmap failed for dld</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690585#M723353</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;On a HP-UX 10.20, our C application have crashed. We got a core file.&lt;BR /&gt;&lt;BR /&gt;The result of "what core" :&lt;BR /&gt;&amp;gt;&amp;gt; PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatibility libc.1_ID@@/main/r10dav/libc_dav/libc_dav_cpe/9&lt;BR /&gt;&amp;gt;&amp;gt; /ux/core/libs/libc/shared_pa1/libc.1_ID&lt;BR /&gt;&amp;gt;&amp;gt; Nov 10 1999 10:53:12&lt;BR /&gt;&amp;gt;&amp;gt; SMART_BIND&lt;BR /&gt;&amp;gt;&amp;gt; 92453-07 dld dld dld.sl B.10.32 990202&lt;BR /&gt;&lt;BR /&gt;Part of the result of "strings core" :&lt;BR /&gt;&amp;gt;&amp;gt; &lt;HP-UX&gt;&lt;/HP-UX&gt;&amp;gt;&amp;gt; psmcasv1&lt;BR /&gt;&amp;gt;&amp;gt; B.10.20&lt;BR /&gt;&amp;gt;&amp;gt; 9000/813&lt;BR /&gt;&amp;gt;&amp;gt; 2004556739&lt;BR /&gt;&amp;gt;&amp;gt; acp.x&lt;BR /&gt;&amp;gt;&amp;gt; iceMiceMiceM&lt;BR /&gt;&amp;gt;&amp;gt; (@ NpiceM&lt;BR /&gt;&amp;gt;&amp;gt; iceM&lt;BR /&gt;&amp;gt;&amp;gt; ?PbM&lt;BR /&gt;&amp;gt;&amp;gt; ;dZ"@&lt;BR /&gt;&amp;gt;&amp;gt; /dev/console&lt;BR /&gt;&amp;gt;&amp;gt; proc[1] icode: execve("%F") failed, errno %E&lt;BR /&gt;&amp;gt;&amp;gt; Z$Revision: 92453-07 linker linker crt0.o B.10.30 980611 $&lt;BR /&gt;&amp;gt;&amp;gt; /usr/lib/dld.sl&lt;BR /&gt;&amp;gt;&amp;gt; ERROR: mmap failed for dld&lt;BR /&gt;&lt;BR /&gt;The use of xdb tells us :&lt;BR /&gt;- "Procedure : $$dyncall_external"&lt;BR /&gt;- "Child died due to: bus error"&lt;BR /&gt;&lt;BR /&gt;There's nothing special in the syslog.log file.&lt;BR /&gt;&lt;BR /&gt;Can you help us ?</description>
      <pubDate>Tue, 26 Mar 2002 10:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690585#M723353</guid>
      <dc:creator>GRP_2</dc:creator>
      <dc:date>2002-03-26T10:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: mmap failed for dld</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690586#M723354</link>
      <description>I think it is a swap problem (not enough swap space). Look at your swapinfo output.&lt;BR /&gt;There are many threads about mmap failed here.&lt;BR /&gt;&lt;BR /&gt;Ruediger</description>
      <pubDate>Tue, 26 Mar 2002 11:10:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690586#M723354</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2002-03-26T11:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: mmap failed for dld</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690587#M723355</link>
      <description>Using 'strings' on a core file is generally useless, because anything in a processes memory at the time it crashed can appear.  This can include all sorts of error messages that probably have nothing to do with the fault, and in your case this is true - 'mmap failed for dld' is unlikely to have anything to do with the problem.&lt;BR /&gt;&lt;BR /&gt;What you've really got is a 'bus error', which occurs when your program tries to read from a mis-aligned pointer.  Basically, its a bug in your code.&lt;BR /&gt;&lt;BR /&gt;First, make sure your application is compiled with -g so that full debug information is available, then get a full stack trace from xdb or some other debugger.  That will show you the line of code that caused the core dump.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 26 Mar 2002 11:17:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690587#M723355</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-03-26T11:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: mmap failed for dld</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690588#M723356</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Use&lt;BR /&gt;file core&lt;BR /&gt;&lt;BR /&gt;This will tell you what happened.&lt;BR /&gt;&lt;BR /&gt;Please post the output.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;       Steve Steel</description>
      <pubDate>Tue, 26 Mar 2002 12:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690588#M723356</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-03-26T12:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: mmap failed for dld</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690589#M723357</link>
      <description>We have 3 core files.&lt;BR /&gt;&lt;BR /&gt;- 1st file&lt;BR /&gt;The result of "file core" : received SIGBUS&lt;BR /&gt;xdb : bus error in the procedure $$dyncall_external&lt;BR /&gt;&lt;BR /&gt;- 2nd file&lt;BR /&gt;The result of "file core" : received SIGBUS&lt;BR /&gt;xdb : bus error in the procedure $$dyncall_external&lt;BR /&gt;&lt;BR /&gt;- 3rd file&lt;BR /&gt;The result of "file core" : received SIGSEGV&lt;BR /&gt;xdb : segmentation violation in the procedure _msgd&lt;BR /&gt;&lt;BR /&gt;Thanks in advance ...</description>
      <pubDate>Tue, 26 Mar 2002 12:17:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690589#M723357</guid>
      <dc:creator>GRP_2</dc:creator>
      <dc:date>2002-03-26T12:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: mmap failed for dld</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690590#M723358</link>
      <description>A core file from a binary isn't of much use unless you also have the source and compile it with the '-g' option as steven suggests. That and weeding out the bug from the code is a programmers task.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Tue, 26 Mar 2002 12:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-mmap-failed-for-dld/m-p/2690590#M723358</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2002-03-26T12:55:25Z</dc:date>
    </item>
  </channel>
</rss>

