<?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 with BUS_ADRALN error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329498#M683752</link>
    <description>&amp;gt;the 3rd party has recently ported to 64 bit&lt;BR /&gt;&lt;BR /&gt;Then you could ask them if this is a bug they know about in their code or should you be looking at your code, and ask for any hints.</description>
    <pubDate>Tue, 30 Dec 2008 07:34:07 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-12-30T07:34:07Z</dc:date>
    <item>
      <title>Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329485#M683739</link>
      <description>Hi, I am working on HP-UX B.11.23 U ia64 platform. I have trying to port 32 bit code to 64 bit. I have compiled it run. It dumps a core when the control branches from my file to another file which is a third party libraries via function call it fails. And during debugging i see that the value of a variable rqst is not available. I am not able to get a concrete picture of the reason for crash. As the application is crashing when a function in third party library is called, is it possible to say that there is a problem with that code and mine is clean.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HP gdb 5.7 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.7 (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 `4telback'.&lt;BR /&gt;Program terminated with signal 10, Bus error.&lt;BR /&gt;BUS_ADRALN - Invalid address alignment. Please refer to the following link that helps in handling unaligned data: &lt;A href="http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#pragma-pack-ex3" target="_blank"&gt;http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#pragma-pack-ex3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /hubd/environ/hubdaec1/HLLIB/lib/libhublog.sl has been stripped.  &lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;#0  get_tcp_service (service=0x400000000000b990 "TSC720", &lt;BR /&gt;    ip_addr=0x9fffffffffffe158, port=0x9fffffffffffe150) at min_tcp_serv.c:146&lt;BR /&gt;146     min_tcp_serv.c: No such file or directory.&lt;BR /&gt;        in min_tcp_serv.c&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  get_tcp_service (service=0x400000000000b990 "TSC720", &lt;BR /&gt;    ip_addr=0x9fffffffffffe158, port=0x9fffffffffffe150) at min_tcp_serv.c:146&lt;BR /&gt;#1  0x400000000001f6f0:0 in connect_ipc (service=0x400000000000b990 "TSC720", &lt;BR /&gt;    qos=0x0, timeout=60, connection_id=0x9fffffffffffe7d8) at conn_ipc.c:335&lt;BR /&gt;#2  0x40000000000261f0:0 in ti_start_line_test (line=0x9fffffffffffe860, &lt;BR /&gt;    timeout=50, session=0x9fffffffffffe7d8) at ti_asynch.c:153&lt;BR /&gt;#3  0x40000000000251c0:0 in ti_line_test (line=0x9fffffffffffe860, &lt;BR /&gt;    progress_update=0x9fffffffef6a6460, check_for_cancel=0, timeout=50, &lt;BR /&gt;    result=0x9fffffffffffe900) at ti_synch.c:241&lt;BR /&gt;#4  0x4000000000023970:0 in line_test (rqst=&lt;NOT available=""&gt;)&lt;BR /&gt;    at /hubd/home/id817019/4TEL/src/svc.c:377&lt;BR /&gt;#5  0xc0000000045c8d30:0 in _tmsvcdsp () at tmsvcdsp.c:475&lt;BR /&gt;#6  0xc00000000461b8e0:0 in _tmrunserver () at tmrunsvr.c:1882&lt;BR /&gt;#7  0xc0000000045c7300:0 in _tmstartserver () at tmstrtsrvr.c:141&lt;BR /&gt;warning: &lt;BR /&gt;ERROR: Use the "objectdir" command to specify the search&lt;BR /&gt;path for objectfile BS-47bc.o.&lt;BR /&gt;If NOT specified will behave as a non -g compiled binary.&lt;BR /&gt;&lt;BR /&gt;#8  0x400000000000c8c0:0 in main+0x60 ()&lt;/NOT&gt;</description>
      <pubDate>Mon, 29 Dec 2008 13:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329485#M683739</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-29T13:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329486#M683740</link>
      <description>&amp;gt;I have trying to port 32 bit code to 64 bit.&lt;BR /&gt;&lt;BR /&gt;Have you read all of the documentation about porting and alignment issues?  Have you compiled with +w64bit +wlint?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;And during debugging I see that the value of a variable rqst is not available.&lt;BR /&gt;&lt;BR /&gt;Have you compiled with -g and NO optimization options?  Why is rqst important?  Where is the last frame of your code?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I am not able to get a concrete picture of the reason for crash. As the application is crashing when a function in third party library is called, is it possible to say that there is a problem with that code and mine is clean.&lt;BR /&gt;&lt;BR /&gt;Of course not.  An alignment trap is a user problem.  Typically when porting from 32 to 64 bit, if you pass an address of an int to a function that wants a long*, you will get this trap 50% of the time.&lt;BR /&gt;It could also be due to using pragma pack on structs.</description>
      <pubDate>Mon, 29 Dec 2008 14:06:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329486#M683740</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-29T14:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329487#M683741</link>
      <description>No I have not compiled my code using +W64bit +WIint, but I have used +DD64 flag. &lt;BR /&gt;&lt;BR /&gt;Yes I have compiled it with -g (debug)flag but with more flags like +p +O2 +Ofltacc=relaxed +Onolimit +DSmontecito +FPD -Wl,+pi,1M -Wl,+pd,1M -Wl,+mergeseg -Wl,+s +w1.&lt;BR /&gt;&lt;BR /&gt;I have checked the datatypes of the aruguments with the datatypes of the arguments that the funuction is expected&lt;BR /&gt;&lt;BR /&gt;This is frame0&lt;BR /&gt;&lt;BR /&gt;#0 get_tcp_service (service=0x400000000000b990 "TSC720", &lt;BR /&gt;ip_addr=0x9fffffffffffe158, port=0x9fffffffffffe150) at min_tcp_serv.c:146&lt;BR /&gt;146 min_tcp_serv.c: No such file or directory.&lt;BR /&gt;in min_tcp_serv.c&lt;BR /&gt;&lt;BR /&gt;And this is the last frame.&lt;BR /&gt;&lt;BR /&gt;#8 0x400000000000c8c0:0 in main+0x60 ()&lt;BR /&gt;&lt;BR /&gt;rqst is an argument for a funtions in my code for which i am not able to find the value while debugging. Later in the code it is being accessed. But it is not crashing the place where it is being accessed. &lt;BR /&gt;&lt;BR /&gt;There is no pragma pack used in the code too....&lt;BR /&gt;&lt;BR /&gt;Below is the frame that belongs to my code &lt;BR /&gt;&lt;BR /&gt;#4 0x4000000000023970:0 in line_test (rqst=&lt;NOT available=""&gt;)&lt;BR /&gt;at /hubd/home/id817019/4TEL/src/svc.c:377&lt;BR /&gt;&lt;BR /&gt;But the line no 377 is just a debug statement which is getting printed in the log.&lt;BR /&gt;&lt;BR /&gt;After this line I have a function call of 3rd party library.&lt;/NOT&gt;</description>
      <pubDate>Mon, 29 Dec 2008 14:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329487#M683741</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-29T14:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329488#M683742</link>
      <description>min_tcp_serv.c:146 look line 146 of min_tcp_serv.c&lt;BR /&gt;&lt;BR /&gt;what is the line you can see?&lt;BR /&gt;how buffers on that line are allocated?&lt;BR /&gt;what are the types of those buffers in that line.&lt;BR /&gt;if you examine the values of those params, what do you find?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Dec 2008 14:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329488#M683742</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2008-12-29T14:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329489#M683743</link>
      <description>Except this frame&lt;BR /&gt;&lt;BR /&gt;#4 0x4000000000023970:0 in line_test (rqst=&lt;NOT available=""&gt;)&lt;BR /&gt;at /hubd/home/id817019/4TEL/src/svc.c:377&lt;BR /&gt;&lt;BR /&gt;rest all belong to 3rd party libraries on which I dont have any control....&lt;/NOT&gt;</description>
      <pubDate>Mon, 29 Dec 2008 14:56:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329489#M683743</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-29T14:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329490#M683744</link>
      <description>so you need to contact your lib vendor for help on this debug or debug at assembly level to identify where the buffer comes from, is it a global or a param which you could have not aligned properly.</description>
      <pubDate>Mon, 29 Dec 2008 15:09:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329490#M683744</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2008-12-29T15:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329491#M683745</link>
      <description>&amp;gt;I have not compiled my code using +w64bit +wlint&lt;BR /&gt;&lt;BR /&gt;Don't even think about porting until you have done this.  What version of aCC6 do you have?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;but with more flags like +p +O2 +Ofltacc=relaxed +Onolimit +DSmontecito +FPD -Wl,+pi,1M -Wl,+pd,1M -Wl,+mergeseg -Wl,+s +w1.&lt;BR /&gt;&lt;BR /&gt;Don't use +O2 until you are done, it prevents debugging.  +w1 is obsolete, replace by just +w on IPF.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I have checked the datatypes of the arguments with the datatypes of the arguments that the function is expected&lt;BR /&gt;&lt;BR /&gt;No structs being passed?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;This is frame 0, And this is the last frame.&lt;BR /&gt;&lt;BR /&gt;(This was in your initial message.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;rqst is an argument for a functions in my code for which I am not able to find the value while debugging.&lt;BR /&gt;&lt;BR /&gt;Remove that +O2.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Below is the frame that belongs to my code&lt;BR /&gt;#4 0x4000000000023970:0 in line_test (rqst=&lt;NOT available=""&gt;) svc.c:377&lt;BR /&gt;&amp;gt;But the line 377 is just a debug statement which is getting printed in the log.&lt;BR /&gt;&amp;gt;After this line I have a function call of 3rd party library.&lt;BR /&gt;&lt;BR /&gt;Do you pass rqst to that ti_line_test?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Laurent: what is the line you can see?&lt;BR /&gt;&lt;BR /&gt;All good questions.  If you don't have the source you will have to debug in assembly mode:&lt;BR /&gt;(gdb) frame 0&lt;BR /&gt;(gdb) disas $pc-16*8 $pc+16*4&lt;BR /&gt;(gdb) info reg&lt;/NOT&gt;</description>
      <pubDate>Mon, 29 Dec 2008 15:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329491#M683745</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-29T15:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329492#M683746</link>
      <description>(gdb) frame 0&lt;BR /&gt;(gdb) disas $pc-16*8 $pc+16*4&lt;BR /&gt;(gdb) info reg&lt;BR /&gt;&lt;BR /&gt;exactly what I meant!</description>
      <pubDate>Mon, 29 Dec 2008 15:24:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329492#M683746</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2008-12-29T15:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329493#M683747</link>
      <description>I have a doubt. I have gone through many of the docs from hp site. All of them say to use +DD64 for 64bit compilation on itanium platform. I have no idea of +w64bit and +wlint.&lt;BR /&gt;&lt;BR /&gt;I am using  A.06.15 version of aCC.&lt;BR /&gt;&lt;BR /&gt;Yeah I am passing pointers to structures.&lt;BR /&gt;&lt;BR /&gt;No I do not pass rqst to the function.&lt;BR /&gt;&lt;BR /&gt;Can you please help by suggesting some site or some info on how to debug in assembly mode. &lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Dec 2008 15:51:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329493#M683747</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-29T15:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329494#M683748</link>
      <description>Yeah I have learnt that +w64bit and +wlint are for enabling the warning messages during porting to 64bit thanks for that....</description>
      <pubDate>Mon, 29 Dec 2008 15:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329494#M683748</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-29T15:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329495#M683749</link>
      <description>But I think its equivalent to +M2 option which I have already been using.</description>
      <pubDate>Mon, 29 Dec 2008 16:01:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329495#M683749</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-29T16:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329496#M683750</link>
      <description>&amp;gt;All of them say to use +DD64 for 64bit compilation on Integrity platform. I have no idea of +w64bit and +wlint.&lt;BR /&gt;&lt;BR /&gt;You must have +DD64.  The +w* options enable porting and other warnings.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I am passing pointers to structures.&lt;BR /&gt;&lt;BR /&gt;Do they contain pointers or longs?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can you please help by suggesting some site or some info on how to debug in assembly mode.&lt;BR /&gt;&lt;BR /&gt;You would have to learn the Itanium instruction set.&lt;BR /&gt;Just post the output.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I have learned that +w64bit and +wlint are for enabling the warning messages during porting to 64bit&lt;BR /&gt;&lt;BR /&gt;They should help.  Have you looked at the 64-bit porting guide:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=2308852bcbe02110852bcbe02110275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=2308852bcbe02110852bcbe02110275d6e10RCRD&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I think its equivalent to +M2 option which I have already been using.&lt;BR /&gt;&lt;BR /&gt;Better to use the new option that says what it does, not the obsolete PA one.&lt;BR /&gt;&lt;BR /&gt;Should we assume that your third party library has been ported to 64 bit for more than a decade and can't possibly have any problems?</description>
      <pubDate>Mon, 29 Dec 2008 16:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329496#M683750</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-29T16:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329497#M683751</link>
      <description>Okay. Yeah the 3rd party has recently ported to 64 bit on the same platform.</description>
      <pubDate>Mon, 29 Dec 2008 23:07:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329497#M683751</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-29T23:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329498#M683752</link>
      <description>&amp;gt;the 3rd party has recently ported to 64 bit&lt;BR /&gt;&lt;BR /&gt;Then you could ask them if this is a bug they know about in their code or should you be looking at your code, and ask for any hints.</description>
      <pubDate>Tue, 30 Dec 2008 07:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329498#M683752</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-30T07:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329499#M683753</link>
      <description>yeah Dennis..I think I need to inform them as my application crashes only when their code it hit. I am passing arguments this way&lt;BR /&gt;&lt;BR /&gt;func( emp* e1 ) is suppose the funtion prototype of the 3rd party library.&lt;BR /&gt;&lt;BR /&gt;I am creating a variable emp e2; and i am calling the function by passing then address of the variable i have created. func(&amp;amp;e2).&lt;BR /&gt;&lt;BR /&gt;I am even passing function pointers as arguments too....eg.func(&amp;amp;e2,&amp;amp;fun,NULL).I am passing NULL for which it is expecting a function pointer whose return type is int.&lt;BR /&gt;&lt;BR /&gt;I feel like I am passing the arguments which hold good values. Let me know if there is any discrepancy in it.</description>
      <pubDate>Tue, 30 Dec 2008 08:08:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329499#M683753</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-30T08:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329500#M683754</link>
      <description>&amp;gt;I think I need to inform them as my application crashes only when their code is hit.&lt;BR /&gt;&lt;BR /&gt;That doesn't prove it is their problem.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I am passing arguments this way&lt;BR /&gt;&amp;gt;func(emp *e1) is suppose the prototype of the 3rd party library.&lt;BR /&gt;&lt;BR /&gt;Instead of func, mention names that are in the stack trace.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I am even passing function pointers as arguments too.  eg. func(&amp;amp;e2,&amp;amp;fun,NULL).  I am passing NULL for which it is expecting a function pointer&lt;BR /&gt;&lt;BR /&gt;I assume the interface allows NULL?&lt;BR /&gt;Do you know if fun is being called, before it aborts?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I feel like I am passing the arguments which hold good values. Let me know if there is any discrepancy in it.&lt;BR /&gt;&lt;BR /&gt;Nothing obvious but I would need more details.&lt;BR /&gt;&lt;BR /&gt;Where is the gdb dump I asked for?</description>
      <pubDate>Tue, 30 Dec 2008 08:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329500#M683754</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-30T08:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329501#M683755</link>
      <description>#3 0x40000000000251c0:0 in ti_line_test (line=0x9fffffffffffe860, &lt;BR /&gt;progress_update=0x9fffffffef6a6460, check_for_cancel=0, timeout=50, &lt;BR /&gt;result=0x9fffffffffffe900) at ti_synch.c:241&lt;BR /&gt;&lt;BR /&gt;The above is the frame i was trying to explain. And the function is ti_line_test&lt;BR /&gt;&lt;BR /&gt;which is being called from frame 4&lt;BR /&gt;&lt;BR /&gt;I hope u r asking for the core dump. I am not able to attach it here.</description>
      <pubDate>Tue, 30 Dec 2008 08:36:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329501#M683755</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-30T08:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329502#M683756</link>
      <description>The function which I am passing as a pointer is not being called before the application aborts.</description>
      <pubDate>Tue, 30 Dec 2008 08:38:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329502#M683756</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-30T08:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329503#M683757</link>
      <description>I am sorry. I got u now. Below is the assembly that you have asked for&lt;BR /&gt;&lt;BR /&gt;(gdb) frame 0&lt;BR /&gt;#0  get_tcp_service (service=0x400000000000d120 "TSC720", &lt;BR /&gt;    ip_addr=0x9fffffffffffe1d8, port=0x9fffffffffffe1d0) at min_tcp_serv.c:146&lt;BR /&gt;146     min_tcp_serv.c: No such file or directory.&lt;BR /&gt;        in min_tcp_serv.c&lt;BR /&gt;(gdb) disas $pc-16*8 $pc+16*4&lt;BR /&gt;Dump of assembler code from 0x4000000000034dc0:0 to 0x4000000000034e80:0:&lt;BR /&gt;;;; File: min_tcp_serv.c&lt;BR /&gt;;;; Line: 138&lt;BR /&gt;0x4000000000034dc0:0 &lt;GET_TCP_SERVICE&gt;:&lt;BR /&gt;          cmp.eq           p6=r0,r41&lt;BR /&gt;0x4000000000034dc0:1 &lt;GET_TCP_SERVICE&gt;:          nop.m            0x0&lt;BR /&gt;0x4000000000034dc0:2 &lt;GET_TCP_SERVICE&gt;:&lt;BR /&gt;    (p6)  br.cond.dptk.few get_tcp_service+384;;&lt;BR /&gt;;;; Line: 142&lt;BR /&gt;0x4000000000034dd0:0 &lt;GET_TCP_SERVICE&gt;:          mov              r47=r41&lt;BR /&gt;0x4000000000034dd0:1 &lt;GET_TCP_SERVICE&gt;:          mov              r9=24;;&lt;BR /&gt;0x4000000000034dd0:2 &lt;GET_TCP_SERVICE&gt;:          add              r9=r9,r1&lt;BR /&gt;0x4000000000034de0:0 &lt;GET_TCP_SERVICE&gt;:          nop.m            0x0&lt;BR /&gt;0x4000000000034de0:1 &lt;GET_TCP_SERVICE&gt;:          mov              r14=r1;;&lt;BR /&gt;0x4000000000034de0:2 &lt;GET_TCP_SERVICE&gt;:          nop.i            0x0&lt;BR /&gt;0x4000000000034df0:0 &lt;GET_TCP_SERVICE&gt;:          ld8.acq          r10=[r9]&lt;BR /&gt;0x4000000000034df0:1 &lt;GET_TCP_SERVICE&gt;:&lt;BR /&gt;          adds             r9=8,r9;;&lt;BR /&gt;0x4000000000034df0:2 &lt;GET_TCP_SERVICE&gt;:          mov              b6=r10&lt;BR /&gt;0x4000000000034e00:0 &lt;GET_TCP_SERVICE&gt;:         ld8              r1=[r9]&lt;BR /&gt;0x4000000000034e00:1 &lt;GET_TCP_SERVICE&gt;:         nop.m            0x0&lt;BR /&gt;0x4000000000034e00:2 &lt;GET_TCP_SERVICE&gt;:         br.call.dptk.few b0=b6;;&lt;BR /&gt;0x4000000000034e10:0 &lt;GET_TCP_SERVICE&gt;:         mov              r1=r44&lt;BR /&gt;0x4000000000034e10:1 &lt;GET_TCP_SERVICE&gt;:         mov              r38=r8;;&lt;BR /&gt;;;; Line: 143&lt;BR /&gt;0x4000000000034e10:2 &lt;GET_TCP_SERVICE&gt;:&lt;BR /&gt;          cmp.eq           p6=r0,r38&lt;BR /&gt;0x4000000000034e20:0 &lt;GET_TCP_SERVICE&gt;:         nop.m            0x0&lt;BR /&gt;0x4000000000034e20:1 &lt;GET_TCP_SERVICE&gt;:         nop.m            0x0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=================================================&lt;BR /&gt;&lt;BR /&gt;(gdb) info reg&lt;BR /&gt;  pr0:                0x1  &lt;BR /&gt;  pr1:                0x1  &lt;BR /&gt;  pr2:                  0  &lt;BR /&gt;  pr3:                  0  &lt;BR /&gt;  pr4:                  0  &lt;BR /&gt;  pr5:                  0  &lt;BR /&gt;  pr6:                  0  &lt;BR /&gt;  pr7:                0x1  &lt;BR /&gt;  pr8:                0x1  &lt;BR /&gt;  pr9:                  0  &lt;BR /&gt; pr10:                  0  &lt;BR /&gt; pr11:                  0  &lt;BR /&gt; pr12:                0x1  &lt;BR /&gt; pr13:                  0  &lt;BR /&gt; pr14:                  0  &lt;BR /&gt; pr15:                0x1  &lt;BR /&gt; pr16:                  0  &lt;BR /&gt; pr17:                  0  &lt;BR /&gt; pr18:                  0  &lt;BR /&gt; pr19:                  0  &lt;BR /&gt; pr20:                  0  &lt;BR /&gt; pr21:                  0  &lt;BR /&gt; pr22:                  0  &lt;BR /&gt; pr23:                  0  &lt;BR /&gt; pr24:                  0  &lt;BR /&gt; pr25:                  0  &lt;BR /&gt; pr26:                  0  &lt;BR /&gt; pr27:                  0  &lt;BR /&gt; pr28:                  0  &lt;BR /&gt; pr29:                  0  &lt;BR /&gt; pr30:                  0  &lt;BR /&gt; pr31:                  0  &lt;BR /&gt; pr32:                  0  &lt;BR /&gt; pr33:                  0  &lt;BR /&gt; pr34:                  0  &lt;BR /&gt; pr35:                  0  &lt;BR /&gt; pr36:                  0  &lt;BR /&gt; pr37:                  0  &lt;BR /&gt; pr38:                  0  &lt;BR /&gt; pr39:                  0  &lt;BR /&gt; pr40:                  0  &lt;BR /&gt; pr41:                  0  &lt;BR /&gt; pr42:                  0  &lt;BR /&gt; pr43:                  0  &lt;BR /&gt; pr44:                  0  &lt;BR /&gt; pr45:                  0  &lt;BR /&gt; pr46:                  0  &lt;BR /&gt; pr47:                  0  &lt;BR /&gt; pr48:                  0  &lt;BR /&gt; pr49:                  0  &lt;BR /&gt; pr50:                  0  &lt;BR /&gt; pr51:                  0  &lt;BR /&gt; pr52:                  0  &lt;BR /&gt; pr53:                  0  &lt;BR /&gt; pr54:                  0  &lt;BR /&gt; pr55:                  0  &lt;BR /&gt; pr56:                  0  &lt;BR /&gt; pr57:                  0  &lt;BR /&gt; pr58:                  0  &lt;BR /&gt; pr59:                  0  &lt;BR /&gt; pr60:                  0  &lt;BR /&gt; pr61:                  0  &lt;BR /&gt; pr62:                  0  &lt;BR /&gt; pr63:                  0  &lt;BR /&gt;  gr0:                  0  &lt;BR /&gt;  gr1: 0x6000000000000c88  &lt;BR /&gt;  gr2: 0xc0000000001a4e60  &lt;BR /&gt;  gr3:                  0  &lt;BR /&gt;  gr4:                  0  &lt;BR /&gt;  gr5: 0xc000000000000408  &lt;BR /&gt;  gr6: 0xc00000000002bdc0  &lt;BR /&gt;  gr7: 0x9fffffffef7f8f38  &lt;BR /&gt;  gr8: 0x60000000000c9f48  &lt;BR /&gt;  gr9:                  0  &lt;BR /&gt; gr10:                0x1  &lt;BR /&gt; gr11:              0x100  &lt;BR /&gt; gr12: 0x9fffffffffffe1c0  &lt;BR /&gt; gr13: 0x9fffffffef7dd430  &lt;BR /&gt; gr14:                0x6  &lt;BR /&gt; gr15: 0x9fffffffef7dc060  &lt;BR /&gt; gr16: 0xc000000000000008  &lt;BR /&gt; gr17:               0x1f  &lt;BR /&gt; gr18:                  0  &lt;BR /&gt; gr19: 0x9fffffffef7ff8d0  &lt;BR /&gt; gr20: 0x9fffffffffffe000  &lt;BR /&gt; gr21:                  0  &lt;BR /&gt; gr22: 0x9fffffff7f7e8880  &lt;BR /&gt; gr23:               0x38  &lt;BR /&gt; gr24:                  0  &lt;BR /&gt; gr25: 0xc000000000047810  &lt;BR /&gt; gr26:                  0  &lt;BR /&gt; gr27:                  0  &lt;BR /&gt; gr28:                  0  &lt;BR /&gt; gr29:                  0  &lt;BR /&gt; gr30:                  0  &lt;BR /&gt; gr31:              0x710  &lt;BR /&gt; gr32: 0x400000000000d120  &lt;BR /&gt; gr33: 0x9fffffffffffe1d8  &lt;BR /&gt; gr34: 0x9fffffffffffe1d0  &lt;BR /&gt; gr35: 0x400000000000d120  &lt;BR /&gt; gr36: 0x9fffffffffffe1d8  &lt;BR /&gt; gr37: 0x9fffffffffffe1d0  &lt;BR /&gt; gr38: 0x60000000000c9f18  &lt;BR /&gt; gr39:                  0  &lt;BR /&gt; gr40: 0x60000000000ca974  &lt;BR /&gt; gr41: 0x9fffffffffffe8e7  &lt;BR /&gt; gr42:                  0  &lt;BR /&gt; gr43:                  0  &lt;BR /&gt; gr44: 0x6000000000000c88  &lt;BR /&gt; gr45: 0xc000000000000915  &lt;BR /&gt; gr46: 0x40000000000330e0  &lt;BR /&gt; gr47: 0x9fffffffffffe8e7  &lt;BR /&gt; gr48: 0xc000000000000791  &lt;BR /&gt;  br0: 0x4000000000034e10  &lt;BR /&gt;  br1:                  0  &lt;BR /&gt;  br2:                  0  &lt;BR /&gt;  br3:                  0  &lt;BR /&gt;  br4:                  0  &lt;BR /&gt;  br5:                  0  &lt;BR /&gt;  br6: 0xc0000000000ba2a0  &lt;BR /&gt;  br7: 0xe00000012c0006c0  &lt;BR /&gt;  rsc:               0x1f  &lt;BR /&gt;  bsp: 0x9fffffffef7ff6d8  &lt;BR /&gt;bspst: 0x9fffffffef7ff6d8  &lt;BR /&gt; rnat:                  0  &lt;BR /&gt;  ccv:                  0  &lt;BR /&gt; unat:                  0  &lt;BR /&gt; fpsr:    0x9a04d8a70437f  &lt;BR /&gt;  pfs: 0xc000000000000791  &lt;BR /&gt;       (sor:0, sol:15, sof:17)&lt;BR /&gt;   lc:                  0  &lt;BR /&gt;   ec:                  0  &lt;BR /&gt;   ip: 0x4000000000034e40:1&lt;BR /&gt;  cfm:              0x791  &lt;BR /&gt;       (sor:0, sol:15, sof:17)&lt;BR /&gt;  psr:       0x5355535045  &lt;BR /&gt;(gdb) &lt;BR /&gt;&lt;BR /&gt;0x4000000000034e20:2 &lt;GET_TCP_SERVICE&gt;:&lt;BR /&gt;    (p6)  br.cond.dptk.few get_tcp_service+352;;&lt;BR /&gt;;;; Line: 145&lt;BR /&gt;0x4000000000034e30:0 &lt;GET_TCP_SERVICE&gt;:&lt;BR /&gt;          adds             r8=24,r38;;&lt;BR /&gt;0x4000000000034e30:1 &lt;GET_TCP_SERVICE&gt;:         ld8              r8=[r8]&lt;BR /&gt;0x4000000000034e30:2 &lt;GET_TCP_SERVICE&gt;:         nop.i            0x0;;&lt;BR /&gt;0x4000000000034e40:0 &lt;GET_TCP_SERVICE&gt;:&lt;BR /&gt;          ld8              r40=[r8];;&lt;BR /&gt;;;; Line: 146&lt;BR /&gt;0x4000000000034e40:1 &lt;GET_TCP_SERVICE&gt;:         ld8              r8=[r40]&lt;BR /&gt;0x4000000000034e40:2 &lt;GET_TCP_SERVICE&gt;:         nop.i            0x0;;&lt;BR /&gt;0x4000000000034e50:0 &lt;GET_TCP_SERVICE&gt;:         st8              [r36]=r8&lt;BR /&gt;;;; Line: 147&lt;BR /&gt;0x4000000000034e50:1 &lt;GET_TCP_SERVICE&gt;:         mov              r42=1&lt;BR /&gt;0x4000000000034e50:2 &lt;GET_TCP_SERVICE&gt;:&lt;BR /&gt;          br.cond.dptk.few get_tcp_service+368;;&lt;BR /&gt;;;; Line: 151&lt;BR /&gt;0x4000000000034e60:0 &lt;GET_TCP_SERVICE&gt;:         mov              r43=2&lt;BR /&gt;;;; Line: 152&lt;BR /&gt;0x4000000000034e60:1 &lt;GET_TCP_SERVICE&gt;:         mov              r42=0&lt;BR /&gt;0x4000000000034e60:2 &lt;GET_TCP_SERVICE&gt;:         nop.i            0x0;;&lt;BR /&gt;0x4000000000034e70:0 &lt;GET_TCP_SERVICE&gt;:         nop.m            0x0&lt;BR /&gt;0x4000000000034e70:1 &lt;GET_TCP_SERVICE&gt;:         nop.m            0x0&lt;BR /&gt;0x4000000000034e70:2 &lt;GET_TCP_SERVICE&gt;:&lt;BR /&gt;          br.cond.dptk.few get_tcp_service+400;;&lt;BR /&gt;End of assembler dump.&lt;BR /&gt;(gdb) &lt;BR /&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;&lt;/GET_TCP_SERVICE&gt;</description>
      <pubDate>Tue, 30 Dec 2008 09:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329503#M683757</guid>
      <dc:creator>K!rn Kumr</dc:creator>
      <dc:date>2008-12-30T09:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump with BUS_ADRALN error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329504#M683758</link>
      <description>&amp;gt;The above is the frame I was trying to explain.&lt;BR /&gt;&lt;BR /&gt;Should I be asking why the third party lib is compiled with debug info?  Would they provide the source file of the place where it aborts?&lt;BR /&gt;&lt;BR /&gt;Can you print the values of:&lt;BR /&gt;p *line&lt;BR /&gt;P *progress_update&lt;BR /&gt;p *result&lt;BR /&gt;&lt;BR /&gt;Also use ptype to see if the types/fields match what you have:&lt;BR /&gt;ptype line&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I hope you are asking for the core dump.&lt;BR /&gt;&lt;BR /&gt;Of course not, that would be useless without a packcore.&lt;BR /&gt;I asked for:&lt;BR /&gt;(gdb) set redirect-file gdb.out&lt;BR /&gt;(gdb) set redirect on&lt;BR /&gt;(gdb) bt&lt;BR /&gt;(gdb) frame 0&lt;BR /&gt;(gdb) disas $pc-16*12 $pc+16*4&lt;BR /&gt;(gdb) info reg&lt;BR /&gt;(gdb) set redirect off&lt;BR /&gt;&lt;BR /&gt;Then attach gdb.out.</description>
      <pubDate>Tue, 30 Dec 2008 09:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-with-bus-adraln-error/m-p/4329504#M683758</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-30T09:28:59Z</dc:date>
    </item>
  </channel>
</rss>

