- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hi ,why SIGBUS Error ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 05:16 PM
тАО07-10-2003 05:16 PM
Hi ,why SIGBUS Error ?
I am a developer worked on hpux11i+Oracle+Orbix. Now I encount a big problem -- My server process coredumped by receiving signal 10. It has runned smoothly in the past week. I have also taken care avoiding memory leak or involid memory access in my program .
below is the information generated by gdb:
$ /home/test1/clo2/Management > gdb /home/test1/clo2/Management/ltManagerServer core
Detected 64-bit executable.
Invoking /opt/langtools/bin/gdb64.
HP gdb 3.0 for PA-RISC 2.0 (wide), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..(no debugging symbols found)...
warning: exec file is newer than core file.
Core was generated by `ltManagerServe'.
Program terminated with signal 10, Bus error.
(no debugging symbols found)...
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.
/home/iona/asp60sp2/shlib/pa20_64/libit_naming_acca0331.5: No such file or directory.
#0 0xc000000002198c94 in ?? ()
(gdb) info registers
flags: 32000041 r17: 0 pcsqh: 99f2c00 cr0: 0
r1: 800003ffff3845f8 r18: 50002da9 pcoqt: c000000002198c98 cr8: 21df368
rp: c000000002198c1f r19: 8000000100035888 pcsqt: 99f2c00 cr9: 21df378
r3: 0 r20: 8000000100cbfff8 eiem: ffffffffffffffff ccr: a1f5e8
r4: 80000001003b9fc0 r21: 90 iir: 50a10010 cr12: a1f5f8
r5: fffffffffffffffc r22: 800003ffff3d4418 isr: 99f2c00 cr13: a1f5f0
r6: 0 r23: 8000000100039888 ior: c000000000000004 cr24: a1f600
r7: 80000001003b9fc8 r24: 392d8 ipsw: 804061f cr25: a1f608
r8: 8000000100039888 r25: c0000000000beb30 goto: 1fb980 cr26: a1f610
r9: 50002da9 r26: b sr4: 8022400 mpsfu_high: 800000010035bf18
r10: 8000000100c2ace0 dp: 800003ffff384df8 sr0: 99f2c00 mpsfu_low: a1f620
r11: 0 ret0: 0 sr1: 0 mpsfu_ovfl: 41
r12: 2 ret1: 36 sr2: 0 pad: 4f52f2284eb1e570
r13: 8000000100c32cb0 sp: 800003ffff16e4c0 sr3: 0 fpsr: 800000000000000
r14: 2 r31: 8000000100039888 sr5: 900b400 fpe1: 0
r15: 0 sar: 3a sr6: 5d0c800 fpe2: 0
r16: 8000000100c7c830 pcoqh: c000000002198c94 sr7: 99f2c00 fpe3: 0
anybody can told me how to do ?
any help are appreciated greatly .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 05:52 PM
тАО07-10-2003 05:52 PM
Re: Hi ,why SIGBUS Error ?
You can get tusc from here:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.3/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 05:57 PM
тАО07-10-2003 05:57 PM
Re: Hi ,why SIGBUS Error ?
I don't know the gcc compiler options but the ANSI C compiler option that you need to use is -g. That will include symbolic data for the debugger in the executable; do not optimize at all as that will distort the debugger data.
Rm all your .o's; change the compiler options to use -g; do a make and do not strip. Execute your code and allow it to dump core. Now, when you use the debugger you can generate a stack trace, it will display the call stack and even give the source file and line number. With that you should have no trouble finding your bug --- and it is your code somewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 05:59 PM
тАО07-10-2003 05:59 PM
Re: Hi ,why SIGBUS Error ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 06:31 PM
тАО07-10-2003 06:31 PM
Re: Hi ,why SIGBUS Error ?
Is it possible that it is oracle's or orbix's fault ?
I am lost in sea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 07:34 PM
тАО07-10-2003 07:34 PM
Re: Hi ,why SIGBUS Error ?
Perhaps oracle made the application do it.
What has changed since last week?
If its nothing, examine your oracle binaries, especially the ones involved in the error.
I have had several instances of oracle binaries mysteriously changing size and becoming corrupt. It caused all kinds of problems, Oracle blamed it on the disk(right, raid 1 mirror/ux).
I tracked down the problem binary and used scp to copy it to the affected system.
Relink Oracle.
Never a bad idea.
su - oracle
$ORACLE_HOME/bin
you can use
$relink all
which will re-link all the executables.
Make sure that you set your
$ORACLE_HOME/lib in your SHLIB_PATH variable.
If you are using 64 bit oracle version make sure also you have $ORACLE_HOME/lib64 in the SHLIB_PATH variable.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 09:32 PM
тАО07-10-2003 09:32 PM
Re: Hi ,why SIGBUS Error ?
(gdb) info stack
#0 0xc000000002198c94 in .stub+0xa6c () from /lib/pa20_64/libc.2
#1 0xc00000000219b414 in free+0x1a4 () from /lib/pa20_64/libc.2
#2 0xc0000000003e4d14 in operator delete+0x34 () from /lib/pa20_64/libCsup_v2.2
#3 0xc000000000daf5f8 in __dl__16CORBA_IT_MemBaseSFPv+0x28 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#4 0xc000000000f0d244 in IT_Binding_ThreadContextImpl::__dt+0x324 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#5 0xc000000000f0cb14 in IT_Binding_thread_context_impl_dtor+0x34 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#6 0xc000000001026268 in IT_TSVoidStar::run_destructor+0x60 () from /home/iona/asp60sp2/shlib/default/pa20_64/libit_ifc_acca0331.5
#7 0xc000000001026540 in IT_TSVoidStarCleaner::__dt+0xa0 () from /home/iona/asp60sp2/shlib/default/pa20_64/libit_ifc_acca0331.5
#8 0xc0000000003e5018 in __cxxTerm+0x48 () from /lib/pa20_64/libCsup_v2.2
#9 0xc000000002185088 in exit+0x88 () from /lib/pa20_64/libc.2
#10 0xc000000001878fd8 in Ldipme10+0x1ee2b0 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#11 0xc000000001d52270 in Ldipme10+0x6c7548 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#12 0xc000000001d4fa98 in Ldipme10+0x6c4d70 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#13 0xc000000001b49384 in Ldipme10+0x4be65c () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#14 0xc000000001961fb8 in Ldipme10+0x2d7290 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#15 0xc0000000017cdc18 in Ldipme10+0x142ef0 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#16 0xc000000001776fa4 in Ldipme10+0xec27c () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#17 0xc000000001728830 in Ldipme10+0x9db08 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#18 0xc000000001726688 in Ldipme10+0x9b960 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#19 0xc0000000017acd5c in Ldipme10+0x122034 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#20 0xc0000000010c88c0 in __text_seg+0x886f8 () from /oracle/app/oracle/product/9.2.0/lib/libocci.sl
#21 0xc0000000010c0764 in __text_seg+0x8059c () from /oracle/app/oracle/product/9.2.0/lib/libocci.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 09:32 PM
тАО07-10-2003 09:32 PM
Re: Hi ,why SIGBUS Error ?
(gdb) info stack
#0 0xc000000002198c94 in .stub+0xa6c () from /lib/pa20_64/libc.2
#1 0xc00000000219b414 in free+0x1a4 () from /lib/pa20_64/libc.2
#2 0xc0000000003e4d14 in operator delete+0x34 () from /lib/pa20_64/libCsup_v2.2
#3 0xc000000000daf5f8 in __dl__16CORBA_IT_MemBaseSFPv+0x28 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#4 0xc000000000f0d244 in IT_Binding_ThreadContextImpl::__dt+0x324 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#5 0xc000000000f0cb14 in IT_Binding_thread_context_impl_dtor+0x34 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#6 0xc000000001026268 in IT_TSVoidStar::run_destructor+0x60 () from /home/iona/asp60sp2/shlib/default/pa20_64/libit_ifc_acca0331.5
#7 0xc000000001026540 in IT_TSVoidStarCleaner::__dt+0xa0 () from /home/iona/asp60sp2/shlib/default/pa20_64/libit_ifc_acca0331.5
#8 0xc0000000003e5018 in __cxxTerm+0x48 () from /lib/pa20_64/libCsup_v2.2
#9 0xc000000002185088 in exit+0x88 () from /lib/pa20_64/libc.2
#10 0xc000000001878fd8 in Ldipme10+0x1ee2b0 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#11 0xc000000001d52270 in Ldipme10+0x6c7548 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#12 0xc000000001d4fa98 in Ldipme10+0x6c4d70 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#13 0xc000000001b49384 in Ldipme10+0x4be65c () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#14 0xc000000001961fb8 in Ldipme10+0x2d7290 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#15 0xc0000000017cdc18 in Ldipme10+0x142ef0 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#16 0xc000000001776fa4 in Ldipme10+0xec27c () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#17 0xc000000001728830 in Ldipme10+0x9db08 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#18 0xc000000001726688 in Ldipme10+0x9b960 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#19 0xc0000000017acd5c in Ldipme10+0x122034 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#20 0xc0000000010c88c0 in __text_seg+0x886f8 () from /oracle/app/oracle/product/9.2.0/lib/libocci.sl
#21 0xc0000000010c0764 in __text_seg+0x8059c () from /oracle/app/oracle/product/9.2.0/lib/libocci.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 09:33 PM
тАО07-10-2003 09:33 PM
Re: Hi ,why SIGBUS Error ?
(gdb) info stack
#0 0xc000000002198c94 in .stub+0xa6c () from /lib/pa20_64/libc.2
#1 0xc00000000219b414 in free+0x1a4 () from /lib/pa20_64/libc.2
#2 0xc0000000003e4d14 in operator delete+0x34 () from /lib/pa20_64/libCsup_v2.2
#3 0xc000000000daf5f8 in __dl__16CORBA_IT_MemBaseSFPv+0x28 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#4 0xc000000000f0d244 in IT_Binding_ThreadContextImpl::__dt+0x324 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#5 0xc000000000f0cb14 in IT_Binding_thread_context_impl_dtor+0x34 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#6 0xc000000001026268 in IT_TSVoidStar::run_destructor+0x60 () from /home/iona/asp60sp2/shlib/default/pa20_64/libit_ifc_acca0331.5
#7 0xc000000001026540 in IT_TSVoidStarCleaner::__dt+0xa0 () from /home/iona/asp60sp2/shlib/default/pa20_64/libit_ifc_acca0331.5
#8 0xc0000000003e5018 in __cxxTerm+0x48 () from /lib/pa20_64/libCsup_v2.2
#9 0xc000000002185088 in exit+0x88 () from /lib/pa20_64/libc.2
#10 0xc000000001878fd8 in Ldipme10+0x1ee2b0 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#11 0xc000000001d52270 in Ldipme10+0x6c7548 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#12 0xc000000001d4fa98 in Ldipme10+0x6c4d70 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#13 0xc000000001b49384 in Ldipme10+0x4be65c () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#14 0xc000000001961fb8 in Ldipme10+0x2d7290 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#15 0xc0000000017cdc18 in Ldipme10+0x142ef0 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#16 0xc000000001776fa4 in Ldipme10+0xec27c () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#17 0xc000000001728830 in Ldipme10+0x9db08 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#18 0xc000000001726688 in Ldipme10+0x9b960 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#19 0xc0000000017acd5c in Ldipme10+0x122034 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#20 0xc0000000010c88c0 in __text_seg+0x886f8 () from /oracle/app/oracle/product/9.2.0/lib/libocci.sl
#21 0xc0000000010c0764 in __text_seg+0x8059c () from /oracle/app/oracle/product/9.2.0/lib/libocci.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 09:33 PM
тАО07-10-2003 09:33 PM
Re: Hi ,why SIGBUS Error ?
(gdb) info stack
#0 0xc000000002198c94 in .stub+0xa6c () from /lib/pa20_64/libc.2
#1 0xc00000000219b414 in free+0x1a4 () from /lib/pa20_64/libc.2
#2 0xc0000000003e4d14 in operator delete+0x34 () from /lib/pa20_64/libCsup_v2.2
#3 0xc000000000daf5f8 in __dl__16CORBA_IT_MemBaseSFPv+0x28 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#4 0xc000000000f0d244 in IT_Binding_ThreadContextImpl::__dt+0x324 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#5 0xc000000000f0cb14 in IT_Binding_thread_context_impl_dtor+0x34 () from /home/iona/asp60sp2/shlib/pa20_64/libit_art_acca0331.5
#6 0xc000000001026268 in IT_TSVoidStar::run_destructor+0x60 () from /home/iona/asp60sp2/shlib/default/pa20_64/libit_ifc_acca0331.5
#7 0xc000000001026540 in IT_TSVoidStarCleaner::__dt+0xa0 () from /home/iona/asp60sp2/shlib/default/pa20_64/libit_ifc_acca0331.5
#8 0xc0000000003e5018 in __cxxTerm+0x48 () from /lib/pa20_64/libCsup_v2.2
#9 0xc000000002185088 in exit+0x88 () from /lib/pa20_64/libc.2
#10 0xc000000001878fd8 in Ldipme10+0x1ee2b0 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#11 0xc000000001d52270 in Ldipme10+0x6c7548 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#12 0xc000000001d4fa98 in Ldipme10+0x6c4d70 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#13 0xc000000001b49384 in Ldipme10+0x4be65c () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#14 0xc000000001961fb8 in Ldipme10+0x2d7290 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#15 0xc0000000017cdc18 in Ldipme10+0x142ef0 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#16 0xc000000001776fa4 in Ldipme10+0xec27c () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#17 0xc000000001728830 in Ldipme10+0x9db08 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#18 0xc000000001726688 in Ldipme10+0x9b960 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#19 0xc0000000017acd5c in Ldipme10+0x122034 () from /oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
#20 0xc0000000010c88c0 in __text_seg+0x886f8 () from /oracle/app/oracle/product/9.2.0/lib/libocci.sl
#21 0xc0000000010c0764 in __text_seg+0x8059c () from /oracle/app/oracle/product/9.2.0/lib/libocci.sl