<?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 dump while porting from 32 bit to 64 bit Itanium System in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939977#M760710</link>
    <description>Just to be paranoid/certain, Sandeep - you are using the +DD64 compiler option to enable 64-bit compilation yes?&lt;BR /&gt;&lt;BR /&gt;ISTR that while Alpha was "64-bit" there were some compiler tricks - not sure if they were enabled by default or not - which effectively took advantage of initial addresses being below a 32-bit boundary.  So long as one didn't actually try to go beyond 32bits of memory one was OK.  That being the case, I could see where there might be some lurking bugs in what someone would thing was "64-bit clean" Alpha code.</description>
    <pubDate>Wed, 07 Feb 2007 21:11:25 GMT</pubDate>
    <dc:creator>rick jones</dc:creator>
    <dc:date>2007-02-07T21:11:25Z</dc:date>
    <item>
      <title>Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939970#M760703</link>
      <description>Hi I am getting this core dump when i run an application built for Itanium system.&lt;BR /&gt;I tried to set break point in the main of the program..but it doesnt even reach there.All i can see is its crashing in strcpy method of dynamic loader ? Any thoughts on this ??&lt;BR /&gt;&lt;BR /&gt;SEGV_ACCERR - Invalid Permissions for object&lt;BR /&gt;#0  0x9fffffffef7db8a0:0 in strcpy+0x20 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x9fffffffef7db8a0:0 in strcpy+0x20 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;#1  0x9fffffffef7ad480:0 in _dlopen+0x860 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;#2  0x9fffffffeec42f00:0 in __dlopen+0xe0 () from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;#3  0x9fffffffeec42920:0 in dlopen+0x40 () from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;#4  0x9fffffffef7ad480:0 in _dlopen+0x860 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Feb 2007 04:42:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939970#M760703</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-07T04:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939971#M760704</link>
      <description>Any reason you are porting to 64 bit mode?  You don't have to do that to go to IPF.&lt;BR /&gt;Have you compiled with +w64bit?&lt;BR /&gt;&lt;BR /&gt;Are you calling dlopen?  Set a breakpoint there and see who is calling it.  It seems that it is being passed a bad pointer.  In gdb you can do:&lt;BR /&gt;(gdb) p /x $r32&lt;BR /&gt;(gdb) x /s $r32&lt;BR /&gt;&lt;BR /&gt;If "break dlopen" doesn't work, you may have to use "catch load" first.</description>
      <pubDate>Wed, 07 Feb 2007 06:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939971#M760704</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-07T06:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939972#M760705</link>
      <description>Hi Dennis,&lt;BR /&gt;     I'm trying to port from Tru64 to Hpux.I didnt specify +w64 bit flag .Let me try with this &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sandeep&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Feb 2007 09:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939972#M760705</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-07T09:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939973#M760706</link>
      <description>&lt;!--!*#--&gt;Hi Dennis,&lt;BR /&gt;     I'm trying to port from Tru64 to Hpux.I didnt specify +w64 bit flag .Let me try with this &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sandeep&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Feb 2007 09:25:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939973#M760706</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-07T09:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939974#M760707</link>
      <description>&lt;!--!*#--&gt;Hi Dennis,&lt;BR /&gt;  I could set break point on dlopen and then immediately after the first breakpoint being hit.i tried a single stepping which caused a core dump.&lt;BR /&gt;&lt;BR /&gt;(gdb) break dlopen&lt;BR /&gt;Breakpoint 1 (deferred) at "dlopen" ("dlopen" was not found).&lt;BR /&gt;Breakpoint deferred until a shared library containing "dlopen" is loaded.&lt;BR /&gt;(gdb) r&lt;BR /&gt;Breakpoint 1, 0x9fffffffeec428f0:2 in dlopen+0x12 ()&lt;BR /&gt;   from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;(gdb) s&lt;BR /&gt;Single stepping until exit from function dlopen, &lt;BR /&gt;which has no line number information.&lt;BR /&gt;Pid 22167 in trap loop, signal 11&lt;BR /&gt;warning: Temporarily disabling or deleting shared library breakpoints:&lt;BR /&gt;warning: Disabling breakpoint #1 &lt;BR /&gt;&lt;BR /&gt;Program terminated with signal SIGSEGV, Segmentation fault.&lt;BR /&gt;The program no longer exists.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Feb 2007 09:40:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939974#M760707</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-07T09:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939975#M760708</link>
      <description>&lt;!--!*#--&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;SEGV_ACCERR - Invalid Permissions for object&lt;BR /&gt;#0  0xc00000000006b8a0:0 in strcpy+0x20 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc00000000006b8a0:0 in strcpy+0x20 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;#1  0xc00000000003d480:0 in _dlopen+0x860 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;#2  0xc000000000378f00:0 in __dlopen+0xe0 () from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;#3  0xc000000000378920:0 in dlopen+0x40 () from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;#4  0xc00000000003d480:0 in _dlopen+0x860 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) p /x $r32&lt;BR /&gt;$1 = 0x4c0&lt;BR /&gt;(gdb) x /x $r32&lt;BR /&gt;0x4c0:  Cannot access memory at address 0x4c0&lt;BR /&gt;(gdb) x /s $r32&lt;BR /&gt;0x4c0:   &lt;ADDRESS 0x4c0="" out="" of="" bounds=""&gt;&lt;BR /&gt;&lt;/ADDRESS&gt;</description>
      <pubDate>Wed, 07 Feb 2007 10:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939975#M760708</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-07T10:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939976#M760709</link>
      <description>&amp;gt;I'm trying to port from Tru64 to Hpux.&lt;BR /&gt;&lt;BR /&gt;I thought Tru64 was already 64 bit and so you should be 64 bit clean?  If not, you should be in 32 bit mode, unless you need the large address space.&lt;BR /&gt;&lt;BR /&gt;What version of gdb do you have?  This is not a complete stack trace so we can't figure out who is calling dlopen.  Download the latest.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;(gdb) p /x $r32&lt;BR /&gt;$1 = 0x4c0&lt;BR /&gt;&amp;gt;(gdb) x /x $r32&lt;BR /&gt;0x4c0:  Cannot access memory at address 0x4c0&lt;BR /&gt;&lt;BR /&gt;This is not a valid pointer to a string, it seems truncated to 32 bits.  You may have 64 bit porting issues.</description>
      <pubDate>Wed, 07 Feb 2007 18:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939976#M760709</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-07T18:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939977#M760710</link>
      <description>Just to be paranoid/certain, Sandeep - you are using the +DD64 compiler option to enable 64-bit compilation yes?&lt;BR /&gt;&lt;BR /&gt;ISTR that while Alpha was "64-bit" there were some compiler tricks - not sure if they were enabled by default or not - which effectively took advantage of initial addresses being below a 32-bit boundary.  So long as one didn't actually try to go beyond 32bits of memory one was OK.  That being the case, I could see where there might be some lurking bugs in what someone would thing was "64-bit clean" Alpha code.</description>
      <pubDate>Wed, 07 Feb 2007 21:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939977#M760710</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2007-02-07T21:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939978#M760711</link>
      <description>&amp;gt;Rick: you are using the +DD64 compiler option?&lt;BR /&gt;&lt;BR /&gt;There is no need to ask since that is evident from the stack trace.  Of course we don't know if this gcc, g++ or aC++ code.</description>
      <pubDate>Wed, 07 Feb 2007 21:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939978#M760711</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-07T21:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939979#M760712</link>
      <description>I'm using aCC compiler with &lt;BR /&gt;+DD64 option .All the libraries are ELF-64 bit code.</description>
      <pubDate>Thu, 08 Feb 2007 11:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939979#M760712</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-08T11:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939980#M760713</link>
      <description>The CFLAGS being used are&lt;BR /&gt;CFLAGS = +DD64 -D__ia64 -DHPUX -g +tru64 -g -AA &lt;BR /&gt;&lt;BR /&gt;I later added +z option to generate pic code for shared libraries .But still the result is the same.The code crashes even before main of my program is reached.</description>
      <pubDate>Thu, 08 Feb 2007 13:06:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939980#M760713</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-08T13:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939981#M760714</link>
      <description>&amp;gt;CFLAGS = +DD64 -D__ia64 -DHPUX -g +tru64 &lt;BR /&gt;-AA&lt;BR /&gt;&lt;BR /&gt;Remove -D__ia64 since that is the default.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I later added +z option to generate pic code&lt;BR /&gt;&lt;BR /&gt;The IPF default is PIC, +z is ignored.&lt;BR /&gt;&lt;BR /&gt;You need to find who is calling dlopen.  You should also install a newer gdb so your stack trace is complete.  Also, when you get to dlopen, try tracing the stack there.&lt;BR /&gt;&lt;BR /&gt;YOor previous output is probably all bogus.  I wanted you to do this when you were in dlopen, not at the abort.  So either use "frame 3" to get there or do this in dlopen:&lt;BR /&gt;(gdb) p /x $r32&lt;BR /&gt;(gdb) x /x $r32&lt;BR /&gt;(gdb) x /s $r32&lt;BR /&gt;&lt;BR /&gt;You may also want to use "catch load" to see when shlibs are being loaded.</description>
      <pubDate>Thu, 08 Feb 2007 19:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939981#M760714</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-08T19:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939982#M760715</link>
      <description>Hi Dennis,&lt;BR /&gt; I set break points on dlopen and caught the library loads.It seems all the libraries got loaded.Just after this trace i did a single step.It crashed.&lt;BR /&gt;&lt;BR /&gt;Breakpoint 1, 0x9fffffffeebf68f0:2 in dlopen+0x12 ()&lt;BR /&gt;   from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x9fffffffeebf68f0:2 in dlopen+0x12 () from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;#1  0x9fffffffef72f400:0 in real_load+0x900 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#2  0x9fffffffef72e9d0:0 in load_locale+0x180 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#3  0x9fffffffef72ba20:0 in find_locale+0xfa0 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#4  0x9fffffffef732620:0 in T_2d_2ca0_cl_do_setlocale+0xf0 ()&lt;BR /&gt;   from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#5  0x9fffffffef727840:0 in setlocale+0x140 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#6  0x9fffffffeed35450:0 in __rw::__rw_use_c_lib_locale::__rw_use_c_lib_locale(char const*,int)+0x140 () from /usr/lib/hpux64/libstd_v2.so.1&lt;BR /&gt;#7  0x9fffffffeed383a0:0 in std::ctype&lt;CHAR&gt;::_C_initfacet(std::locale const&amp;amp;)&lt;BR /&gt;   +0x60 () from /usr/lib/hpux64/libstd_v2.so.1&lt;BR /&gt;#8  0x9fffffffeed3d320:0 in std::locale::_C_install_facet(__rw::__rw_facet_base*,std::locale::id const&amp;amp;) const+0x120 () from /usr/lib/hpux64/libstd_v2.so.1&lt;BR /&gt;#9  0x9fffffffeed3c3c0:0 in std::locale::_C_make_facet(std::locale::id const&amp;amp;,bool,int,__rw::__rw_facet_base* (*)(int,char const*,unsigned long)) const&lt;BR /&gt;   +0x3e0 () from /usr/lib/hpux64/libstd_v2.so.1&lt;BR /&gt;#10 0x9fffffffeee23050:0 in std::ios_base::Init::Init()+0x16c0 ()&lt;BR /&gt;   from /usr/lib/hpux64/libstd_v2.so.1&lt;BR /&gt;#11 0x9fffffffef02e6e0:0 in __sinit_Usage_cc_+0x30 ()&lt;BR /&gt;    at /opt/aCC/include_std/iostream:48&lt;BR /&gt;#12 0x9fffffffef79f050:0 in EM_mark_BOS+0x50 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) n&lt;BR /&gt;Single stepping until exit from function dlopen, &lt;BR /&gt;which has no line number information.&lt;BR /&gt;&lt;/CHAR&gt;</description>
      <pubDate>Fri, 09 Feb 2007 04:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939982#M760715</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-09T04:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939983#M760716</link>
      <description>Hi Dennis,&lt;BR /&gt;  The compiler team asked me to install a patch for linker PHSS 34858.With the patch applied also it crashed.&lt;BR /&gt;&lt;BR /&gt;this time its unable to load any library&lt;BR /&gt;&lt;BR /&gt;0x9fffffffef7a5d00:1 in LE_rpath+0x1 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) n&lt;BR /&gt;Single stepping until exit from function LE_rpath, &lt;BR /&gt;which has no line number information.&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGBUS, Bus error&lt;BR /&gt;  si_code: 1 - BUS_ADRALN - Invalid address alignment.&lt;BR /&gt;0x9fffffffef7a5d00:1 in LE_rpath+0x1 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) n&lt;BR /&gt;Single stepping until exit from function LE_rpath, &lt;BR /&gt;which has no line number information.&lt;BR /&gt;&lt;BR /&gt;Program terminated with signal SIGBUS, Bus error.&lt;BR /&gt;The program no longer exists.&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Feb 2007 12:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939983#M760716</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-09T12:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939984#M760717</link>
      <description>&amp;gt;I set break points on dlopen and caught the library loads.  It seems all the libraries got loaded.Just after this trace i did a single step.It crashed.&lt;BR /&gt;&lt;BR /&gt;I need to see the inputs into dlopen. Please print them before you continue.  Also you neglected to mention you were were using aCC, since you mentioned CFLAGS.&lt;BR /&gt;&lt;BR /&gt;You are currently initializating iostreams, are you threaded?  If so, did you compile everything with -mt?&lt;BR /&gt;&lt;BR /&gt;It appears you have massive corruption of of the runtime data structures.  Do you have any static initializations?&lt;BR /&gt;&lt;BR /&gt;Try "rbreak sinit" and see which of them are yours, before it aborts.</description>
      <pubDate>Fri, 09 Feb 2007 14:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939984#M760717</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-09T14:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939985#M760718</link>
      <description>Hi Dennis,&lt;BR /&gt;          The mystery surrounding the core dump was attributed to a missing shared object file.&lt;BR /&gt;I was able to figure it out through gdb that it was this shared object  /usr/lib/nls/loc/hpux64/locales.1/C which was being attempted to be loaded.&lt;BR /&gt;This was not present on the system. &lt;BR /&gt;Only     C.iso88591   C.iso885915  C.utf8 were present.The only alternative was to copy/create a link to one of these shared object file.After making the copy , things started working fine.&lt;BR /&gt; I'm not sure if this shared object C was supposed to be installed during OS install and somehow went missing ! &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sandeep &lt;BR /&gt;</description>
      <pubDate>Wed, 14 Feb 2007 11:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939985#M760718</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-14T11:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939986#M760719</link>
      <description>&amp;gt;I was able to figure it out through gdb that it was this shared object /usr/lib/nls/loc/hpux64/locales.1/C which was being attempted to be loaded. This was not present on the system. &lt;BR /&gt;&lt;BR /&gt;This is not how dlopen is suppose to work.  If it isn't there, dlopen returns an error and setlocale is suppose to recover from it.  dlopen isn't suppose to abort.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I'm not sure if this shared object C was supposed to be installed&lt;BR /&gt;&lt;BR /&gt;No, the American Nerd (C) locale not suppose to have any libs in /usr/lib/nls/loc.&lt;BR /&gt;&lt;BR /&gt;You may want to try a small test case that just calls setlocale(LC_ALL, "C") and see if you can duplicate the problem.&lt;BR /&gt;&lt;BR /&gt;Did you ever print the inputs for dlopen and now setlocale?  For setlocale, use $r33.&lt;BR /&gt;&lt;BR /&gt;What version of libstd_v2.so.1 do you have?</description>
      <pubDate>Wed, 14 Feb 2007 17:57:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939986#M760719</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-14T17:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939987#M760720</link>
      <description>Hi Dennis,&lt;BR /&gt; Please let me know if this information is ok or do you need more info .&lt;BR /&gt;Thanks,&lt;BR /&gt;Sandeep&lt;BR /&gt;&lt;BR /&gt;what ./usr/lib/hpux64/libstd_v2.so.1&lt;BR /&gt;./usr/lib/hpux64/libstd_v2.so.1:&lt;BR /&gt;        HP aC++ for Integrity Servers B3910B A.06.10 [Mar 22 2006] C++ Standard Library (RogueWave Version 2.02.01)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEGV_ACCERR - Invalid Permissions for object&lt;BR /&gt;bt&lt;BR /&gt;#0  0xc000000005035cb0:1 in strcpy+0x31 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc000000005035cb0:1 in strcpy+0x31 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;#1  0xc000000005047fa0:0 in _dlopen+0xac0 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;#2  0xc000000005096020:0 in __dlopen+0xf0 () from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;#3  0xc000000005095a60:0 in dlopen+0x40 () from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;#4  0xc000000005047fa0:0 in _dlopen+0xac0 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) q&lt;BR /&gt;upc1&amp;gt;gdb -c core ng_nm_reader&lt;BR /&gt;HP gdb 5.4.0 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.4.0 (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 `ng_nm_reader'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;SEGV_ACCERR - Invalid Permissions for object&lt;BR /&gt;#0  0xc000000005035cb0:1 in strcpy+0x31 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) up&lt;BR /&gt;#1  0xc000000005047fa0:0 in _dlopen+0xac0 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) x /s $r33&lt;BR /&gt;0xa:     &lt;ADDRESS 0xa="" out="" of="" bounds=""&gt;&lt;BR /&gt;(gdb) up&lt;BR /&gt;#2  0xc000000005096020:0 in __dlopen+0xf0 () from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;(gdb) up&lt;BR /&gt;#3  0xc000000005095a60:0 in dlopen+0x40 () from /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;(gdb) x /s $r33&lt;BR /&gt;0xa:     &lt;ADDRESS 0xa="" out="" of="" bounds=""&gt;&lt;BR /&gt;(gdb) up&lt;BR /&gt;#4  0xc000000005047fa0:0 in _dlopen+0xac0 () from /usr/lib/hpux64/dld.so&lt;BR /&gt;(gdb) x /s $r33&lt;BR /&gt;0x9fffffffffffcd10:      "C"&lt;BR /&gt;(gdb) x /s $r32&lt;BR /&gt;0x9fffffffffffc4b1:      "usr/lib/nls/loc/hpux64/locales.1/C"&lt;/ADDRESS&gt;&lt;/ADDRESS&gt;</description>
      <pubDate>Thu, 15 Feb 2007 11:27:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939987#M760720</guid>
      <dc:creator>Sandeep M</dc:creator>
      <dc:date>2007-02-15T11:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump while porting from 32 bit to 64 bit Itanium System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939988#M760721</link>
      <description>&amp;gt;Please let me know if this information is ok or do you need more info .&lt;BR /&gt;&lt;BR /&gt;Ok, all my previous questions may be little confusing, so from the start:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;HP aC++ for Integrity Servers B3910B A.06.10 [Mar 22 2006]&lt;BR /&gt;&lt;BR /&gt;This is PHSS_34441, the latest.  I don't know of any problems here.&lt;BR /&gt;&lt;BR /&gt;SEGV_ACCERR - Invalid Permissions for object&lt;BR /&gt;#0 0xc000000005035cb0:1 in strcpy+0x31 /usr/lib/hpux64/dld.so&lt;BR /&gt;&lt;BR /&gt;Ok, let's see what's strcpy is doing.  Do:&lt;BR /&gt;(gdb) frame 0&lt;BR /&gt;(gdb) info reg&lt;BR /&gt;(gdb) disas 0xc000000005035cb0-0x30 0xc000000005035cb0+16*4&lt;BR /&gt;&lt;BR /&gt;&amp;gt;(gdb) up&lt;BR /&gt;&lt;BR /&gt;Hmm, frame 4 is bogus, since it matches frame 2.  Perhaps getting a newer gdb may help?&lt;BR /&gt;&lt;BR /&gt;Instead of doing this, use:&lt;BR /&gt;(gdb) frame 3&lt;BR /&gt;(gdb) info reg&lt;BR /&gt;(gdb) disas 0x9fffffffeec42920-0x40 0x9fffffffeec42920+16*4&lt;BR /&gt;&lt;BR /&gt;Note you may want to set a breakpoint at dlopen to see how many times you hit it:&lt;BR /&gt;&lt;BR /&gt;(gdb) b dlopen&lt;BR /&gt;(this returns a breakpoint number, say N)&lt;BR /&gt;&lt;BR /&gt;(gdb) command N&lt;BR /&gt;p /x $r32&lt;BR /&gt;p /x $r33&lt;BR /&gt;x /s $r32&lt;BR /&gt;c&lt;BR /&gt;end&lt;BR /&gt;&lt;BR /&gt;This will print the parms and continue.</description>
      <pubDate>Thu, 15 Feb 2007 23:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-while-porting-from-32-bit-to-64-bit-itanium-system/m-p/3939988#M760721</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-15T23:27:19Z</dc:date>
    </item>
  </channel>
</rss>

