<?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: Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to objec in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5507205#M638082</link>
    <description>&lt;P&gt;&amp;gt;#0&amp;nbsp; 0xc0000000003cb110:0 in free+0xb0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have heap corruption.&amp;nbsp; You need to use gdb's "set heap-check".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;#7&amp;nbsp; 0x4000000000011150:0 in main BS-6caa.c:82&lt;/P&gt;&lt;P&gt;&amp;gt;(gdb) # the frame # of main or __pthread_bound_body&lt;BR /&gt;&amp;gt;No frame with frame# or frame_address 13&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the comment said, you need to use frame 7.&amp;nbsp; But it is unlikely you have a stack overflow.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2012 21:44:19 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2012-01-24T21:44:19Z</dc:date>
    <item>
      <title>Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to object</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5506457#M638081</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently doing platform migration from sun solaris&amp;nbsp; to&amp;nbsp;HP-UX &amp;nbsp; B.11.31.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;version:&lt;BR /&gt;HP-UX hva03ads B.11.31 U ia64 0291095592 unlimited-user license&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;compiler:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hewlett-Packard Company&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - 41 -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HP C/aC++ Version A.06.25&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on sun solaris unix it worked fine.&amp;nbsp; When I am executing on HP it showing coredump error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i am trying to debug corefiles with gdb&amp;nbsp; &amp;lt;binary filename&amp;gt;&amp;nbsp; &amp;lt;corefilename&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it showing following warnings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HP gdb 6.1 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3.&lt;BR /&gt;Copyright 1986 - 2009 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 6.1 (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;Core was generated by `ksopogmf'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;SEGV_MAPERR - Address not mapped to object&lt;BR /&gt;&lt;BR /&gt;warning: Load module /logiciel/oracle/client_10204/lib/libclntsh.so.10.1 has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libutil.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libind.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libgmf.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/librpm.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libweibull.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /logiciel/oracle/client_10204/lib/libnnz10.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libgmfi.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libgmr.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libpp.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libgsttv.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libtctp.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/lib6pc.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libap.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /sopdev01/sop/sopdevt/version_encours/../lib/libatk.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;#0&amp;nbsp; 0xc0000000003cb110:0 in free+0xb0 () from /usr/lib/hpux64/libc.so.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(gdb) bt&lt;BR /&gt;#0&amp;nbsp; 0xc0000000003cb110:0 in free+0xb0 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#1&amp;nbsp; 0x40000000000a3870:0 in mon_free_data () at ./src/moniteur.c:298&lt;BR /&gt;#2&amp;nbsp; 0x40000000000a31b0:0 in svc_generique () at ./src/moniteur_tuxedo.c:583&lt;BR /&gt;#3&amp;nbsp; 0x40000000000219b0:0 in sopogmf_dlist () at ./src/ksopogmf.pc:617&lt;BR /&gt;#4&amp;nbsp; 0xc0000000257dcb30:0 in _tmsvcdsp () at tmsvcdsp.c:547&lt;BR /&gt;#5&amp;nbsp; 0xc000000025838e70:0 in _tmrunserver () at tmrunsvr.c:2121&lt;BR /&gt;#6&amp;nbsp; 0xc0000000257d9d90:0 in _tmstartserver () at tmstrtsrvr.c:166&lt;BR /&gt;#7&amp;nbsp; 0x4000000000011150:0 in main () at BS-6caa.c:82&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(gdb) frame 0&lt;BR /&gt;#0&amp;nbsp; 0xc0000000003cb110:0 in free+0xb0 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;(gdb) set $sp_save = $sp&lt;BR /&gt;(gdb) # the frame # of main or __pthread_bound_body&lt;BR /&gt;(gdb) frame 13&lt;BR /&gt;No frame with frame# or frame_address 13&lt;BR /&gt;(gdb) p $sp - $sp_save&lt;BR /&gt;$1 = 0&lt;BR /&gt;(gdb)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Mallesh&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2012 10:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5506457#M638081</guid>
      <dc:creator>Mallesham_kukat</dc:creator>
      <dc:date>2012-01-24T10:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to objec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5507205#M638082</link>
      <description>&lt;P&gt;&amp;gt;#0&amp;nbsp; 0xc0000000003cb110:0 in free+0xb0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have heap corruption.&amp;nbsp; You need to use gdb's "set heap-check".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;#7&amp;nbsp; 0x4000000000011150:0 in main BS-6caa.c:82&lt;/P&gt;&lt;P&gt;&amp;gt;(gdb) # the frame # of main or __pthread_bound_body&lt;BR /&gt;&amp;gt;No frame with frame# or frame_address 13&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the comment said, you need to use frame 7.&amp;nbsp; But it is unlikely you have a stack overflow.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2012 21:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5507205#M638082</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-24T21:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to objec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5511947#M638083</link>
      <description>&lt;P&gt;&amp;gt;You have heap corruption. You need to use gdb's "set heap-check".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to HP unix and Gdb .&amp;nbsp; please can you explain how set gdb's "set heap-check".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2012 05:30:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5511947#M638083</guid>
      <dc:creator>Mallesham_kukat</dc:creator>
      <dc:date>2012-01-30T05:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to objec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5512365#M638084</link>
      <description>&lt;P&gt;&amp;gt;please can you explain how set gdb's "set heap-check".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before you run, you issue "set heap-check on".&lt;/P&gt;&lt;P&gt;Use "help set heap-check" for more options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2012 08:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5512365#M638084</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-30T08:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to objec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5512559#M638085</link>
      <description>&lt;P&gt;Thanks Dennis Handly for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my issue is solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2012 09:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5512559#M638085</guid>
      <dc:creator>Mallesham_kukat</dc:creator>
      <dc:date>2012-01-30T09:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to objec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5512573#M638086</link>
      <description>&lt;P&gt;&amp;gt;Thanks Dennis Handly for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are happy, please click on the Kudos star.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Now my issue is solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be helpful to everyone else if you could explain how you solved the problem.&amp;nbsp; Was it forgetting to allocate one more more for a string?&amp;nbsp; Did gdb help?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2012 10:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5512573#M638086</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-30T10:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to objec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5654765#M638087</link>
      <description>&lt;P&gt;&lt;BR /&gt;yes. Actually this issue is raised due to&amp;nbsp; insuficiant allocation memory for a string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps_sc_nom_fic = (char *)malloc((strlen(ps_local)+strlen(ps_cs_ipn)+&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;strlen(ps_type)&lt;/STRONG&gt;&lt;/FONT&gt;+strlen(ps_num_jd)+strlen(ps_complement)+1)*sizeof(char));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then i added sufficient size. Now it is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for help&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2012 12:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-11-segmentation-fault-segv-maperr/m-p/5654765#M638087</guid>
      <dc:creator>Mallesham_kukat</dc:creator>
      <dc:date>2012-05-11T12:15:14Z</dc:date>
    </item>
  </channel>
</rss>

