<?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: Inexplicable Bus Error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323794#M187863</link>
    <description>Kunal,&lt;BR /&gt;&lt;BR /&gt;Did you resolve the error?? If yes, What was the problem???&lt;BR /&gt;&lt;BR /&gt;Anil</description>
    <pubDate>Wed, 07 Jul 2004 15:49:49 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2004-07-07T15:49:49Z</dc:date>
    <item>
      <title>Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323784#M187853</link>
      <description>I have an inhouse application called adcorba, that depends on some third-party libraries.&lt;BR /&gt;&lt;BR /&gt;On HP-UX 11.0 and 11i, the application terminates with a bus error, (core dump):&lt;BR /&gt;20154 Bus error (core dumped) adcorba&lt;BR /&gt;&lt;BR /&gt;I've tried all the options posted on past ITRC messages. They include:&lt;BR /&gt;1. 64 bit kernel&lt;BR /&gt;2. Values of maxdsiz, etc., are maxed out at 1GB&lt;BR /&gt;3. Compiler is aCC 3.37&lt;BR /&gt;4. The system is patched with the latest patch bundles, and explicitly includes PHKL_27283 and   PHKL_27282 (which apparently have been known to fix such a problem)&lt;BR /&gt;&lt;BR /&gt;5. Here are the results of GDB. Since the third-party libs are not debug versions, gdb shows minimal info:&lt;BR /&gt;HP gdb 4.5 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00&lt;BR /&gt;and target hppa1.1-hp-hpux11.00.&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 4.5 (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 `adcorba'.&lt;BR /&gt;Program terminated with signal 10, Bus error.&lt;BR /&gt;#0  0xc75b380c in MMarshaller::pack+0x1c ()&lt;BR /&gt;   from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;&lt;BR /&gt;(libmaverick50.sl is the third-party library)&lt;BR /&gt;&lt;BR /&gt;6. Tried "bt" in gdb, but all it returns is:&lt;BR /&gt;#0  0xc75b380c in MMarshaller::pack+0x1c ()&lt;BR /&gt;   from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;#1  0xc764c02c in MRpcClientRvImpl::pack+0x2d8 ()&lt;BR /&gt;   from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;#2  0xc764d718 in MRpcClientRvImpl::syncInvoke+0x90 ()&lt;BR /&gt;   from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;#3  0xc7579f84 in MRpcClient::syncInvoke+0xa4 ()&lt;BR /&gt;   from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;#4  0xc757c318 in MRpcOperationProxy::syncInvoke+0x764 ()&lt;BR /&gt;   from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;Cannot access memory at address 0xffffde2d&lt;BR /&gt;&lt;BR /&gt;7. Tried "info share" in gdb (to see if libpthread and libcma were being mixed, but no luck). Here's what info share shows me:&lt;BR /&gt;(gdb) info share&lt;BR /&gt;Shared Object Libraries&lt;BR /&gt;      flags       tstart       tend       dstart       dend        dlt      &lt;BR /&gt;/tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/librepowww532.sl&lt;BR /&gt;    0x02000201  0xc5e00000  0xc5f10000  0x67a42000  0x67a5b000  0x67a422c4  &lt;BR /&gt;/tsi/ae/tools/tpcl/5.1.2_L/h7_110_aCC/debug/lib/libxerces-c2_1.sl&lt;BR /&gt;    0x02000201  0xc7800000  0xc7b14000  0x67a7e000  0x67b72000  0x67a81238  &lt;BR /&gt;/usr/lib/libnsl.1&lt;BR /&gt;    0x02000201  0xc0280000  0xc030a000  0x67a5d000  0x67a6a000  0x67a5d420  &lt;BR /&gt;/home/ca/tibco/adapter/adcorba/5.1/lib/libCorbautild.sl&lt;BR /&gt;    0x02000201  0xc5600000  0xc57d7000  0x67b74000  0x67bbc000  0x67b77774  &lt;BR /&gt;/home/ca/tibco/adapter/adcorba/5.1/lib/libCorbarvd.sl&lt;BR /&gt;    0x02000201  0xc5000000  0xc55b6000  0x67f96000  0x68082000  0x67fa1d1c  &lt;BR /&gt;/tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;    0x02000201  0xc7000000  0xc772f000  0x67bda000  0x67d10000  0x67bdf488  &lt;BR /&gt;/home/ca/tools/ORBacus/4.1.2/h7_110_aCC/debug/6.0.1/lib/libOB.sl.4.1.2&lt;BR /&gt;    0x02000201  0xc6000000  0xc6d21000  0x67d3a000  0x67e91000  0x67d4ba64  &lt;BR /&gt;/home/ca/tools/ORBacus/4.1.2/h7_110_aCC/debug/6.0.1/lib/libIDL.sl.4.1.2&lt;BR /&gt;    0x02000201  0xc5800000  0xc5ddd000  0x67e9f000  0x67f48000  0x67ea701c  &lt;BR /&gt;/home/ca/tools/ORBacus/4.1.2/h7_110_aCC/debug/6.0.1/lib/libCosNaming.sl.4.1.2&lt;BR /&gt;    0x02000201  0xc4680000  0xc4745000  0x67f48000  0x67f5a000  0x67f48e28  &lt;BR /&gt;/home/ca/tools/ORBacus/4.1.2/h7_110_aCC/debug/6.0.1/lib/libCosEvent.sl.4.1.2&lt;BR /&gt;    0x02000201  0xc4e00000  0xc4f8a000  0x67f62000  0x67f8a000  0x67f641ac  &lt;BR /&gt;/home/ca/tools/ORBacus/4.1.2/h7_110_aCC/debug/6.0.1/lib/libJTC.sl.2.0.1&lt;BR /&gt;    0x02000201  0xc3050000  0xc307b000  0x67f8a000  0x67f8d000  0x67f8a2dc  &lt;BR /&gt;/usr/lib/librt.2&lt;BR /&gt;    0x02000201  0xc062c000  0xc0630000  0x67f8d000  0x67f8e000  0x67f8d008  &lt;BR /&gt;/home/ca/tibco/tibrv/lib/libtibrvcmq.sl&lt;BR /&gt;    0x02000201  0xc0eac000  0xc0eb7000  0x68083000  0x68084000  0x68083024  &lt;BR /&gt;/home/ca/tibco/tibrv/lib/libtibrvcm.sl&lt;BR /&gt;    0x02000201  0xc1be0000  0xc1bfb000  0x68082000  0x68083000  0x68082038  &lt;BR /&gt;/home/ca/tibco/tibrv/lib/libtibrvft.sl&lt;BR /&gt;    0x02000201  0xc0ea4000  0xc0eac000  0x68084000  0x68085000  0x68084024  &lt;BR /&gt;/home/ca/tibco/tibrv/lib/libtibrvsd.sl&lt;BR /&gt;    0x02000201  0xc0e18000  0xc0e20000  0x680af000  0x680b0000  0x680af034  &lt;BR /&gt;/home/ca/tibco/tibrv/lib/libtibrv.sl&lt;BR /&gt;    0x02000201  0xc3380000  0xc33fb000  0x68089000  0x6808e000  0x680891a4  &lt;BR /&gt;/home/ca/tibco/tibrv/lib/libssl.sl&lt;BR /&gt;    0x02000201  0xc3340000  0xc3380000  0x6808e000  0x68092000  0x6808e0e8  &lt;BR /&gt;/home/ca/tibco/tibrv/lib/libcrypto.sl&lt;BR /&gt;    0x02000201  0xc4500000  0xc4641000  0x68098000  0x680a8000  0x680984fc  &lt;BR /&gt;/lib/libxnet.2&lt;BR /&gt;    0x02000201  0xc006d000  0xc0070000  0x680ab000  0x680ac000  0x680ab004  &lt;BR /&gt;/usr/lib/libxti.2&lt;BR /&gt;    0x02000201  0xc00c0000  0xc00d8000  0x680a8000  0x680ab000  0x680a80d8  &lt;BR /&gt;/lib/libpthread.1&lt;BR /&gt;    0x02000201  0xc0040000  0xc0059000  0x680ac000  0x680af000  0x680ac0b8  &lt;BR /&gt;/usr/lib/libstd.2&lt;BR /&gt;    0x02000201  0xc0660000  0xc069e000  0x680b2000  0x680b5000  0x680b2528  &lt;BR /&gt;/usr/lib/libstream.2&lt;BR /&gt;    0x02000201  0xc0630000  0xc0658000  0x680b7000  0x680ba000  0x680b7354  &lt;BR /&gt;/usr/lib/libCsup.2&lt;BR /&gt;    0x02000201  0xc0520000  0xc053b000  0x680ba000  0x680bd000  0x680ba430  &lt;BR /&gt;/usr/lib/libm.2&lt;BR /&gt;    0x02000201  0xc0090000  0xc00bc000  0x680bd000  0x680be000  0x680bd28c  &lt;BR /&gt;/usr/lib/libcl.2&lt;BR /&gt;    0x02000201  0xc0540000  0xc062b000  0x680c1000  0x680cd000  0x680c1648  &lt;BR /&gt;/usr/lib/libisamstub.1&lt;BR /&gt;    0x02000201  0xc0067000  0xc0068000  0x680be000  0x680bf000  0x680be004  &lt;BR /&gt;/usr/lib/libdld.2&lt;BR /&gt;    0x02000201  0xc0007000  0xc000a000  0x680e4000  0x680e5000  0x680e400c  &lt;BR /&gt;/usr/lib/libc.2&lt;BR /&gt;    0x02000201  0xc0100000  0xc0246000  0x680d1000  0x680e4000  0x680d1790  &lt;BR /&gt;/opt/graphics/OpenGL/lib/libogltls.sl&lt;BR /&gt;    0x02ff0201  0xc0005000  0xc0007000  0x680e9000  0x680ea000  0x680e9048  &lt;BR /&gt;/usr/lib/libnss_files.1&lt;BR /&gt;    0x02ff0201  0xc005c000  0xc0065000  0x67a39000  0x67a3a000  0x67a39048  &lt;BR /&gt;&lt;BR /&gt;8. Tried "info threads" from gdb. Here's what it shows me:&lt;BR /&gt;(gdb) info threads&lt;BR /&gt;*   32 system thread 21582   0xc75b380c in MMarshaller::pack+0x1c ()&lt;BR /&gt;   from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;    31 system thread 21622   0xc020cf38 in _select_sys+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    30 system thread 21611   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    29 system thread 21610   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    28 system thread 21609   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    27 system thread 21608   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    26 system thread 21607   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    25 system thread 21606   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    24 system thread 21605   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    23 system thread 21604   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    22 system thread 21603   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    21 system thread 21602   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    20 system thread 21601   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    19 system thread 21600   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    18 system thread 21599   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    17 system thread 21598   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    16 system thread 21597   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    15 system thread 21595   0xc020cf38 in _select_sys+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    14 system thread 21593   0xc020cf38 in _select_sys+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    13 system thread 21587   0xc020dd38 in _accept_sys+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    12 system thread 21586   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    11 system thread 21585   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    10 system thread 21584   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    9 system thread 21583   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    8 system thread 21581   0xc020dd38 in _accept_sys+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    7 system thread 21580   0xc020cf38 in _select_sys+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    6 system thread 21579   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    5 system thread 21550   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    4 system thread 21549   0xc020cf38 in _select_sys+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    3 system thread 21548   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    2 system thread 21547   0xc020cf38 in _select_sys+0x10 () from /usr/lib/libc.2&lt;BR /&gt;    1 system thread 21546   0xc020b540 in __ksleep+0x10 () from /usr/lib/libc.2&lt;BR /&gt;&lt;BR /&gt;9.I've tried tusc too, but I have not been able to make sense of its output. I've attached the tusc output to.&lt;BR /&gt;&lt;BR /&gt;What could be the problem?&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Kunal</description>
      <pubDate>Tue, 06 Jul 2004 05:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323784#M187853</guid>
      <dc:creator>Kunal_3</dc:creator>
      <dc:date>2004-07-06T05:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323785#M187854</link>
      <description>Hi Kunal,&lt;BR /&gt;&lt;BR /&gt;I saw the gdb output. Could you do a single stepping operation inGDB and get the exact API call which causes the Bus error. &lt;BR /&gt;&lt;BR /&gt;Last time when I had this problem it turned out that there was a malloc header corruption and the free() call was dumping core. So some change to a strcpy() was done to remove this error.&lt;BR /&gt;&lt;BR /&gt;manish&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jul 2004 06:18:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323785#M187854</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-07-06T06:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323786#M187855</link>
      <description>Hi Manish,&lt;BR /&gt;My application makes a call (syncInvoke) into the third-party library (libmaverick50.sl). That's the point after which I can't single-step anymore.&lt;BR /&gt;The third-party library is not really a debug version, and the third-party vendors have effectively said, "your headache buddy".&lt;BR /&gt;I've tried "thread apply all bt" in gdb, but again, its dumps a lot of info that I don't completely know what to do with.&lt;BR /&gt;Is there anything else I could try that could isolate the cause of the problem as being something stupid I'm doing? (like mixing other unmixable libs, missing a patch, etc.).&lt;BR /&gt;Thanks,&lt;BR /&gt;Kunal</description>
      <pubDate>Tue, 06 Jul 2004 06:57:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323786#M187855</guid>
      <dc:creator>Kunal_3</dc:creator>
      <dc:date>2004-07-06T06:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323787#M187856</link>
      <description>Hi Kunal,&lt;BR /&gt;&lt;BR /&gt;Does this happen for all data which you send to this API or only to some of them. If it happens always then it looks loke a problem in the your code. Just chek for all the mallocs and writes to the malloc area. If you are writing more than what you have allocated then this can be caused. &lt;BR /&gt;&lt;BR /&gt;If you have access Purify tool then you can run that on your application to get the exact location where there is an array bound write.&lt;BR /&gt;&lt;BR /&gt;One more thing, which is the libc patch installed on the system?&lt;BR /&gt;&lt;BR /&gt;manish</description>
      <pubDate>Tue, 06 Jul 2004 07:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323787#M187856</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-07-06T07:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323788#M187857</link>
      <description>since you dont have a debuggable library, you have may to do some assembly level debugging, looking at some instructions before and after this point along with register values etc.&lt;BR /&gt;&lt;BR /&gt;of course you are always at an advantage if you know what exactly you want to achieve when you make a call to this library function.&lt;BR /&gt;&lt;BR /&gt;since there is no single remedy for SIGBUS's, each has to be analysed in its own context.</description>
      <pubDate>Tue, 06 Jul 2004 07:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323788#M187857</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2004-07-06T07:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323789#M187858</link>
      <description>This API - syncInvoke(...) makes an RPC call, and its only parameter is a timeout value (time to wait for a response from the server).&lt;BR /&gt;The API sends a message to a server using RPC over TCP/IP.&lt;BR /&gt;&lt;BR /&gt;In response to "Does this happen for all data which you send to this API", yes.&lt;BR /&gt;I've varied the timeout value from 0 to 100 secs, but it consistently dumps.&lt;BR /&gt;I've also varied the size, contents, etc., of message data being sent from 0 bytes to 1 KB, from text to alphanumeric to special characters, but again, it consistently dumps.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, I don't have access to purify on HP (As an aside, the same application, and the same API work perfectly on Windows and Solaris).&lt;BR /&gt;&lt;BR /&gt;The libc patches installed on the system are:&lt;BR /&gt;# PHCO_23251 1.0 libc manpage cumulative patch &lt;BR /&gt;# PHCO_25569 1.0 libc cumulative header file patch &lt;BR /&gt;# PHCO_25898 1.0 cumulative 10.20 libc compatibility support &lt;BR /&gt;# PHCO_30030 1.0 libc cumulative patch &lt;BR /&gt;&lt;BR /&gt;"you have may to do some assembly level debugging ooking at some instructions before and after this point along with register values". What tools would you suggest to do this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Regards,&lt;BR /&gt;Kunal</description>
      <pubDate>Tue, 06 Jul 2004 09:18:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323789#M187858</guid>
      <dc:creator>Kunal_3</dc:creator>
      <dc:date>2004-07-06T09:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323790#M187859</link>
      <description>Your tusc output only tells that it is bus error. What options you have used on tusc for this?? Can run it with tusc -vfp -o "file_name" program and post.&lt;BR /&gt;&lt;BR /&gt;Also as tols by others, ahve you checked if you ar eupto date on libc patches??&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 06 Jul 2004 09:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323790#M187859</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-06T09:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323791#M187860</link>
      <description>gdb is sufficient as a tool as long as you can follow the disassembly and make out what is going on.</description>
      <pubDate>Tue, 06 Jul 2004 11:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323791#M187860</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2004-07-06T11:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323792#M187861</link>
      <description>The tusc output is attached as a zip file. Although I'm re-reviewing the patch list, I'm pretty sure I have the latest libc patches installed.&lt;BR /&gt;-Kunal</description>
      <pubDate>Wed, 07 Jul 2004 02:46:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323792#M187861</guid>
      <dc:creator>Kunal_3</dc:creator>
      <dc:date>2004-07-07T02:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323793#M187862</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This may have already been done but did you try type casting the value which you are passing to the API to the correct data type?&lt;BR /&gt;&lt;BR /&gt;manish</description>
      <pubDate>Wed, 07 Jul 2004 07:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323793#M187862</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-07-07T07:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323794#M187863</link>
      <description>Kunal,&lt;BR /&gt;&lt;BR /&gt;Did you resolve the error?? If yes, What was the problem???&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 07 Jul 2004 15:49:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323794#M187863</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-07T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323795#M187864</link>
      <description>Yes, I've tried typecasting the value too.&lt;BR /&gt;And, no, the problem is not yet solved.</description>
      <pubDate>Fri, 09 Jul 2004 04:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323795#M187864</guid>
      <dc:creator>Kunal_3</dc:creator>
      <dc:date>2004-07-09T04:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323796#M187865</link>
      <description>What does file core says??&lt;BR /&gt;&lt;BR /&gt;adb -k ./core&lt;BR /&gt;Once on adb prompt, do&lt;BR /&gt;$c/$C&lt;BR /&gt;&lt;BR /&gt;Whats does it give??&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 09 Jul 2004 06:00:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323796#M187865</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-09T06:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323797#M187866</link>
      <description>When I run adb, I see the message:&lt;BR /&gt;PA-32 adb ($h help $q quit)&lt;BR /&gt;Failed to get PDIR&lt;BR /&gt;adb&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Sill, running $c or $C shows:&lt;BR /&gt;can't unwind -- no_entry&lt;BR /&gt;&lt;BR /&gt;(is there anything else I need to do to run adb?)&lt;BR /&gt;&lt;BR /&gt;With gbd, the equivalent of $c (bt, backtrace) shows:&lt;BR /&gt;#0 0xc75b380c in MMarshaller::pack+0x1c ()&lt;BR /&gt;from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;#1 0xc764c02c in MRpcClientRvImpl::pack+0x2d8 ()&lt;BR /&gt;from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;#2 0xc764d718 in MRpcClientRvImpl::syncInvoke+0x90 ()&lt;BR /&gt;from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;#3 0xc7579f84 in MRpcClient::syncInvoke+0xa4 ()&lt;BR /&gt;from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;#4 0xc757c318 in MRpcOperationProxy::syncInvoke+0x764 ()&lt;BR /&gt;from /tsi/ae/tools/TRA/5.1.3_L/h7_110_aCC/debug/lib/libmaverick50.sl&lt;BR /&gt;Cannot access memory at address 0xffffde2d&lt;BR /&gt;</description>
      <pubDate>Sat, 10 Jul 2004 04:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323797#M187866</guid>
      <dc:creator>Kunal_3</dc:creator>
      <dc:date>2004-07-10T04:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323798#M187867</link>
      <description>has this API call ever worked for you, say in a different application etc ? have other API calls to this shared library worked ?&lt;BR /&gt;&lt;BR /&gt;make sure you are using a published API (one that has prototypes declared in a header file, for example), follow the prototype and documentation if any. the shared library's functionality (at least for this API) may require that you should call some initializer function before using any API.&lt;BR /&gt;&lt;BR /&gt;there are the other usual catches - a shared library built with aCC's '-AA' option cannot be used with a program or shared library built without that option. the aCC folks say you should use '-mt' if you are building for a multi-threaded process.&lt;BR /&gt;&lt;BR /&gt;then there *may* be issues if the vendor library was built with (old?) gcc/g++, especially if the library was not built with libgcc.a archived into it and depended on the program to be linked with libgcc : constructors for static global objects in shared libraries may not have been invoked, (as that is usually handled by the runtime support library - like aCC's libCsup). i am saying all this about initializers because the faulting routine is called "pack" - likely to be accessing some RPC data structure - and SIGSEGV indicates faulty memory acess, probably through an uninitialized pointer.&lt;BR /&gt;&lt;BR /&gt;you can try seeing what exactly is happening at the faulting address : e.g. gdb's "x/i $pc" will show the instruction, then you can examine the memory addresses and registers referenced in that instruction to see what is obviously wrong. that kind of debugging *may* give you clues but you may also not get anywhere with it. if you want to do it, keep the latest copies of the gdb manual and the PA-RISC runtime architecture documents handy.&lt;BR /&gt;</description>
      <pubDate>Sun, 11 Jul 2004 00:36:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323798#M187867</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2004-07-11T00:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323799#M187868</link>
      <description>I've been able to successfully use this API in a "toy" program (in a tiny, much scaled-down version of my current application - 1/200th the size of my app). But the usage of the API remained same across the actual program (adcorba) and the toy program. I had the vendors of the library verify that I was indeed, using it correctly (initialization and all).&lt;BR /&gt;&lt;BR /&gt;I'm also working on gradually scaling up the toy program, step-by-step, in the hope that at one point, the toy program too, will crash. That may give me a clue as to what's going wrong.&lt;BR /&gt;&lt;BR /&gt;I've requested the library vendors to try to send me the command line options that were used with aCC to build the library. If I understand what you're saying, a library that is built using -AA and/or -mt cannot be mixed with an application that is built without using these. Are there any other such caveats?&lt;BR /&gt;&lt;BR /&gt;I'm currently working on trying to figure out what's getting corrupted in the memory/registers at the time of the crash, using gdb.</description>
      <pubDate>Mon, 12 Jul 2004 00:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323799#M187868</guid>
      <dc:creator>Kunal_3</dc:creator>
      <dc:date>2004-07-12T00:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Inexplicable Bus Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323800#M187869</link>
      <description>Kunal,&lt;BR /&gt;   Could you find out the reason for this BUS errors?</description>
      <pubDate>Mon, 07 Mar 2005 21:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inexplicable-bus-error/m-p/3323800#M187869</guid>
      <dc:creator>Ramesh Thummalapenta_1</dc:creator>
      <dc:date>2005-03-07T21:10:46Z</dc:date>
    </item>
  </channel>
</rss>

