<?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: PA Risk Executable on Itanium Server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222371#M92007</link>
    <description>I thought its your code as the stack shows many fnc_**** names.&lt;BR /&gt;&lt;BR /&gt;Just to confirm, is fnc_InitDgn your code or its also in some third party library? which third party library?&lt;BR /&gt;&lt;BR /&gt;May be I am confused by the naming convention used.&lt;BR /&gt;&lt;BR /&gt;From where did you get the third party libraries with debugging symbols?&lt;BR /&gt;&lt;BR /&gt;PS: Every answer does not deserve 10 points&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 26 Jun 2008 17:36:13 GMT</pubDate>
    <dc:creator>Srimalik</dc:creator>
    <dc:date>2008-06-26T17:36:13Z</dc:date>
    <item>
      <title>PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222349#M91985</link>
      <description>Hi&lt;BR /&gt;I have an executable compiled on HP-UX11i(11.11) that I ran on an HP-UX11i(11.23) Itanium server and it crashed. Gave following error:&lt;BR /&gt;[HP ARIES64]: Core file for 64 bit PA-RISC application&lt;BR /&gt;[HP ARIES64]: &lt;EXEC&gt; saved to core.&lt;EXEC&gt;.&lt;BR /&gt;Memory fault(coredump)&lt;BR /&gt;&lt;BR /&gt;BUT, When I ran the same exec on the Itanium server by using wdb (debuuger) it runs successfully! Any ideas please? &lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Rao&lt;/EXEC&gt;&lt;/EXEC&gt;</description>
      <pubDate>Wed, 25 Jun 2008 14:14:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222349#M91985</guid>
      <dc:creator>Rao Uppuluri</dc:creator>
      <dc:date>2008-06-25T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: PA-RISC Executable on Integrity server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222350#M91986</link>
      <description>&lt;P&gt;Well, if it aborts, you should just debug from the core file. Getting a stack trace would be the first step.&lt;BR /&gt;&lt;BR /&gt;I've had a few cases where it runs in the debugger. The obvious cases are uninitialized variables.&lt;BR /&gt;I've seen other cases where the debugger's private mapping of shlibs causes readonly strings to be writable and then it won't abort. But that should fail on PA too.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2011 14:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222350#M91986</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-11T14:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222351#M91987</link>
      <description>Dennis&lt;BR /&gt;Tks for the reply. I typed following (I am not familiar yet with debugging core files)&lt;BR /&gt;&lt;BR /&gt;wdb -c core.usermaster usermaster&lt;BR /&gt;&lt;BR /&gt;(usermaster is exec name)&lt;BR /&gt;It produced following output.&lt;BR /&gt;&lt;BR /&gt;Detected 64-bit executable.&lt;BR /&gt;Invoking /usr/ccs/bin/gdb64.&lt;BR /&gt;HP gdb 3.4 for PA-RISC 2.0 (wide), HP-UX 11.00.&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 3.4 (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 `usermaster'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;#0  fnc_mbStrLen (string=0x80000001000065d7 "") at multibyte.c:1029&lt;BR /&gt;1029    multibyte.c: No such file or directory.&lt;BR /&gt;&lt;BR /&gt;Does this help you find anything? Also, is it possible for you to give me instructions to debug a core file, please? (to get stack trace)&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jun 2008 15:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222351#M91987</guid>
      <dc:creator>Rao Uppuluri</dc:creator>
      <dc:date>2008-06-25T15:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222352#M91988</link>
      <description>you have to give "bt" command to get a stack trace.&lt;BR /&gt;&lt;BR /&gt; fnc_mbStrLen is causing a segfault.&lt;BR /&gt;Please confirm that 0x80000001000065d7 is valid address. You can try printing the string if it is a invalid address the stack will change(print function will dump somewhere). Then you need to trace this variable.&lt;BR /&gt;&lt;BR /&gt;You can use this link for more gdb commands&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=e8080f1bace021100f1bace02110275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=e8080f1bace021100f1bace02110275d6e10RCRD&lt;/A&gt;</description>
      <pubDate>Wed, 25 Jun 2008 15:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222352#M91988</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-06-25T15:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222353#M91989</link>
      <description>Hi Srikrishnan&lt;BR /&gt;I did the following gdb &lt;EXEC&gt; core on the Itanium server&lt;BR /&gt;&lt;BR /&gt;and typed bt to get stack trace.&lt;BR /&gt;========= gdb output==========&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  fnc_mbStrLen (string=0x80000001000065d7 "") at multibyte.c:1029&lt;BR /&gt;#1  0xc0000000080693b0 in fnc_StrLen (string=0x9fffffffe00033a8 "\n")&lt;BR /&gt;    at str.c:767&lt;BR /&gt;#2  0xc00000000805ef44 in fnc_LoadIniFile (&lt;BR /&gt;    IniFilename=0x9fffffffdfef87b0 "app.ini") at param.c:362&lt;BR /&gt;#3  0xc00000000805f880 in fnc_GetParamStr (&lt;BR /&gt;    Section=0xc00000000801ca40 "Memory", &lt;BR /&gt;    Item=0xc00000000801ca48 "TakeOverSIGUSR1", Default=0x0) at param.c:694&lt;BR /&gt;#4  0xc00000000805fad8 in fnc_GetParamLong (&lt;BR /&gt;    Section=0xc00000000801ca40 "Memory", &lt;BR /&gt;    Item=0xc00000000801ca48 "TakeOverSIGUSR1", Default=0) at param.c:754&lt;BR /&gt;#5  0xc00000000804f63c in EachTime () at mem.c:692&lt;BR /&gt;#6  0xc00000000804dd20 in fnc_Malloc (size=1024) at mem.c:214&lt;BR /&gt;#7  0xc00000000805ee98 in fnc_LoadIniFile (&lt;BR /&gt;    IniFilename=0x9fffffffdfef87b0 "app.ini") at param.c:342&lt;BR /&gt;#8  0xc00000000805f880 in fnc_GetParamStr (Section=0xc000000008018938 "Debug", &lt;BR /&gt;    Item=0xc000000008018ad8 "Dgn", Default=0xc000000008018ae0 "Off")&lt;BR /&gt;    at param.c:694&lt;BR /&gt;#9  0xc00000000804169c in fnc_InitDgn () at dgn.c:411&lt;BR /&gt;#10 0xc000000007fc3300 in cdm_Initialise () at cdmslab.c:7543&lt;BR /&gt;#11 0xc000000007e49fbc in link_Initialise () at appclk.c:257&lt;BR /&gt;#12 0x4000000000002cb4 in main () at usermaster.c:59&lt;BR /&gt;&lt;BR /&gt;(gdb) p 0x80000001000065d7&lt;BR /&gt;$1 = 9223372041149769175&lt;BR /&gt;(gdb) &lt;BR /&gt;=====+++++ end gdb output =====&lt;BR /&gt;Does that mean it is a valid address?&lt;BR /&gt;&lt;BR /&gt;Tks&lt;BR /&gt;&lt;BR /&gt;&lt;/EXEC&gt;</description>
      <pubDate>Wed, 25 Jun 2008 15:59:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222353#M91989</guid>
      <dc:creator>Rao Uppuluri</dc:creator>
      <dc:date>2008-06-25T15:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: PA-RISC Executable on Integrity server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222354#M91990</link>
      <description>&lt;P&gt;(gdb) p 0x80000001000065d7&lt;BR /&gt;$1 = 9223372041149769175&lt;BR /&gt;&amp;gt;Does that mean it is a valid address?&lt;BR /&gt;&lt;BR /&gt;No, you just used calculator mode to convert hex to decimal.&lt;BR /&gt;&lt;BR /&gt;You need to do:&lt;BR /&gt;(gdb) p string&lt;BR /&gt;(gdb) x /8gx 0x80000001000065d7-7&lt;BR /&gt;&lt;BR /&gt;The first uses debug info. The second debugs at the machine code level.&lt;BR /&gt;&lt;BR /&gt;For debugging core files there is more documentation here:&lt;BR /&gt;&lt;A target="_blank" href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=09080f1bace021100f1bace02110275d6e10RCRD"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=09080f1bace021100f1bace02110275d6e10RCRD&lt;/A&gt;&lt;BR /&gt;See: Debugging core files using HP WDB&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2011 14:04:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222354#M91990</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-11T14:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222355#M91991</link>
      <description>Shalom Rao,&lt;BR /&gt;&lt;BR /&gt;For this and other reasons, you want to recompile.&lt;BR /&gt;&lt;BR /&gt;The emulation that permits PA-RISC an executable  to run on Intanium servers comes with a 70% performance penalty.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 25 Jun 2008 16:41:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222355#M91991</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-06-25T16:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: PA-RISC Executable on Integrity server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222356#M91992</link>
      <description>&lt;P&gt;&amp;gt;SEP: For this and other reasons, you want to recompile.&lt;BR /&gt;&lt;BR /&gt;Because of the advanced compiler debugging options? ;-)&lt;BR /&gt;There is +check= (runtime checking) and +wlint.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The emulation that permits PA-RISC an executable to run on Integrity servers comes with a 70% performance penalty.&lt;BR /&gt;&lt;BR /&gt;It highly depends on what PA box you were using and whether the application was CPU bound. See:&lt;BR /&gt;&lt;A target="_blank" href="http://www.hp.com/go/aries"&gt;http://www.hp.com/go/aries&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2011 14:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222356#M91992</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-11T14:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222357#M91993</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The degree of performance penality under Aries is dependent upon both options configured and work type.  These are summarized in the ARIES manpages:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/ARIES.5.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/ARIES.5.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 25 Jun 2008 16:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222357#M91993</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-06-25T16:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: PA-RISC Executable on Integrity server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222358#M91994</link>
      <description>&lt;P&gt;&amp;gt;Srikrishan: Please confirm that 0x80000001000065d7 is valid address.&lt;BR /&gt;&lt;BR /&gt;This may have nothing to do with the abort. I.e. it's just a parm of the aborting function.&lt;BR /&gt;&lt;BR /&gt;The real problem is on line 1029 of multibyte.c. What's on that line?&lt;BR /&gt;Since the executable has debug info, why not use it? ;-)&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2011 14:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222358#M91994</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-11T14:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222359#M91995</link>
      <description>Thank you all for quick responses.&lt;BR /&gt;&lt;BR /&gt;* I can't really re-compile on Itanium because I am using a third party library calls and they are not supported under Itanium. So, I really want to compile it under PA Risk and run it on Itanium. If it helps, I ran this same PA executable on a different Itanium server (located at a diff location in the company) and it works! That server is also has 11iv2. Couldn't really figured out the differences between our servers yet.&lt;BR /&gt;&lt;BR /&gt;Dennis,&lt;BR /&gt;&amp;gt;The real problem is on line 1029 of multibyte.c. What's on that line? &lt;BR /&gt;&amp;gt;Since the executable has debug info, why not use it? ;-) &lt;BR /&gt;&lt;BR /&gt;Can you please elobarate on how I can examine this issue? &lt;BR /&gt;Thank you</description>
      <pubDate>Wed, 25 Jun 2008 17:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222359#M91995</guid>
      <dc:creator>Rao Uppuluri</dc:creator>
      <dc:date>2008-06-25T17:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: PA-RISC Executable on Integrity server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222360#M91996</link>
      <description>&lt;P&gt;&amp;gt;I ran this same PA executable on a different Integrity server and it works! That server is also has 11iv2. Couldn't really figured out the differences between our servers yet.&lt;BR /&gt;&lt;BR /&gt;Check the patch levels of Aries, libc and linker.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;The real problem is on line 1029 of multibyte.c. What's on that line?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can you please elaborate on how I can examine this issue?&lt;BR /&gt;&lt;BR /&gt;I assume you have the source file multibyte.c?&lt;BR /&gt;Otherwise you could do "info locals".&lt;BR /&gt;&lt;BR /&gt;Or you can debug at machine level:&lt;BR /&gt;(gdb) disas $pc-4*20 $pc+4*4&lt;BR /&gt;(gdb) info reg&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2011 14:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222360#M91996</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-11T14:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222361#M91997</link>
      <description>Dennis&lt;BR /&gt;I am getting the patch info for linker,aries and libc. &lt;BR /&gt;I don't have source for multibyte.c ( there is a manpage for multibyte).&lt;BR /&gt;when I tried the steps you provided in gdb, it provided output that I can't comprehend.&lt;BR /&gt;&lt;BR /&gt;TFYH&lt;BR /&gt;Rao</description>
      <pubDate>Wed, 25 Jun 2008 20:29:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222361#M91997</guid>
      <dc:creator>Rao Uppuluri</dc:creator>
      <dc:date>2008-06-25T20:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: PA-RISC Executable on Integrity server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222362#M91998</link>
      <description>&lt;P&gt;&amp;gt;I don't have source for multibyte.c (there is a manpage for multibyte).&lt;BR /&gt;&lt;BR /&gt;The man page for multibyte(3C) is HP's code. fnc_mbStrLen is your code.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;when I tried the steps you provided in gdb, it provided output that I can't comprehend.&lt;BR /&gt;&lt;BR /&gt;;-)&lt;BR /&gt;Just attach them to the thread and I'll look at them.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2011 14:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222362#M91998</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-11T14:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222363#M91999</link>
      <description>Not to disagree slightly with Dennis as to the pertinence of the address -- but with that address being just over 4Gb, and maxdsiz_64bit defaulting to 4Gb... I can't help but wonder if you did something like realloc() of an array without checking the return for failure and assuming the reallocation succeeded... then walking off the end of the array into unallocated virtual memory.&lt;BR /&gt;&lt;BR /&gt;Based on perusing documentation -- "maint info sections" should dump the executable+core memory ranges... it might be worth seeing what's there (and what isn't). If the data ends at 0x10000000 (or very close... you fail the allocation that pushes you over, it doesn't mean you always get exactly there).. that would fit.</description>
      <pubDate>Wed, 25 Jun 2008 23:12:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222363#M91999</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2008-06-25T23:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222364#M92000</link>
      <description>Rao,&lt;BR /&gt;&lt;BR /&gt;The top two frames in the stack are:&lt;BR /&gt;#########################################&lt;BR /&gt;#0 fnc_mbStrLen (string=0x80000001000065d7 "") at multibyte.c:1029&lt;BR /&gt;#1 0xc0000000080693b0 in fnc_StrLen (string=0x9fffffffe00033a8 "\n")&lt;BR /&gt;at str.c:767 &lt;BR /&gt;##########################################&lt;BR /&gt;In frame 1 (fnc_StrLen) it seems you are trying to calculate the length of string "\n"&lt;BR /&gt;which should be 1. &lt;BR /&gt;&lt;BR /&gt;Then from this function you are calling fnc_mbStrLen with a empty string(length 0).&lt;BR /&gt;Maybe you should look into this.&lt;BR /&gt;&lt;BR /&gt;Secondly the address passed to both these functions are in different areas(not near each other 0x8000000 and 0x9fffffff). &lt;BR /&gt;&lt;BR /&gt;How does "\n" becomes ""...you need to trace the flow in your code.&lt;BR /&gt;&lt;BR /&gt;Try to find out: how you end up calling fnc_mbStrLen("") from fnc_StrLen("\n").&lt;BR /&gt;Note that the parameters are changed.&lt;BR /&gt;&lt;BR /&gt;It may help.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 26 Jun 2008 01:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222364#M92000</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-06-26T01:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222365#M92001</link>
      <description>0x9ffffff.... would be at the top of the private octant for data/heap/mmf/stack, so is very likely a stack variable address. 0x80000... is more likely a heap allocation address [or is meant to be but may rather be a bad pointer arithmetic result after a failed allocation, hence my query about a realloc() in this path]. That's because it is near the low end of the octant (where the heap/BSS starts and then grows towards the memory mappings, thread stacks and main process stack that live on the other end and come towards lower addresses).</description>
      <pubDate>Thu, 26 Jun 2008 01:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222365#M92001</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2008-06-26T01:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222366#M92002</link>
      <description>Hi, Don&lt;BR /&gt;I am not familiar with the octant concept.&lt;BR /&gt;As per your comments &lt;BR /&gt;0x80000... should heap area&lt;BR /&gt;0x9ffff... should be on stack&lt;BR /&gt;&lt;BR /&gt;I see a different range of address in frame 8&lt;BR /&gt;i.e 0xc0000000080.. It lies near to the code seg, are these the environment variables?&lt;BR /&gt;&lt;BR /&gt;It may be off topic for this thread, may not be related to the thread in any way. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2008 04:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222366#M92002</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-06-26T04:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: PA-RISC Executable on Integrity server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222367#M92003</link>
      <description>&lt;P&gt;&amp;gt;Don: Not to disagree slightly with Dennis as to the pertinence of the address -- but with that address being just over 4Gb, and maxdsiz_64bit defaulting to 4Gb.&lt;BR /&gt;&lt;BR /&gt;That address is trivially close to the start of the PA64 data area, 26071 bytes.&lt;BR /&gt;&lt;BR /&gt;I'm assuming two things:&lt;BR /&gt;1) If 64 bit, it needs more than 4 Gb. ;-)&lt;BR /&gt;2) The debugger would give an error when tracing the stack if the "string" had a bad address, rather than just "".&lt;BR /&gt;#0 fnc_mbStrLen (&lt;BR /&gt;string=0x80000001000065d7 )&lt;BR /&gt;&lt;BR /&gt;This address is big for IPF64 but not for PA64.&lt;BR /&gt;Also, the debugger won't complain about bad alignment though.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Don: Based on perusing documentation - "maint info sections" should dump the executable+core memory ranges.&lt;BR /&gt;&lt;BR /&gt;A better option would just be to use gdb's "info file".&lt;BR /&gt;&lt;BR /&gt;Or better yet, use the command:&lt;BR /&gt;$ elfdump -S -o core&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Sri: Try to find out: how you end up calling fnc_mbStrLen("") from fnc_StrLen("\n").&lt;BR /&gt;&amp;gt;Note that the parameters are changed.&lt;BR /&gt;&lt;BR /&gt;Yes, looking at the source would help.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Don: 0x80000... is more likely a heap allocation address&lt;BR /&gt;&lt;BR /&gt;Or a global/static variable. Try using:&lt;BR /&gt;info sym 0x80000001000065d7&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Sri: I am not familiar with the octant concept.&lt;BR /&gt;&lt;BR /&gt;(PA has quadrants, IPF has octants. They are related to space or region registers.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;0x80000... should heap area&lt;BR /&gt;&amp;gt;0x9ffff... should be on stack&lt;BR /&gt;&amp;gt;I see a different range of address in frame 8. i.e 0xc0000000080.. It lies near to the code seg, are these the environment variables?&lt;BR /&gt;&lt;BR /&gt;No, these are shlib text, or shared memory.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2011 14:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222367#M92003</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-11T14:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: PA Risk Executable on Itanium Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222368#M92004</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;My maxdsiz_64bit  is 4GB.&lt;BR /&gt;&lt;BR /&gt;I don't have source multibyte.c, may be it is part of the 3rd party libraries I am using.&lt;BR /&gt;I am attaching the gdb and elfdump output.&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Thu, 26 Jun 2008 12:46:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pa-risk-executable-on-itanium-server/m-p/4222368#M92004</guid>
      <dc:creator>Rao Uppuluri</dc:creator>
      <dc:date>2008-06-26T12:46:25Z</dc:date>
    </item>
  </channel>
</rss>

