[omniORB]:Bus Error in application ported from ORBIX2000 to omniORB4.0.5

Mahesh Bhatt mahesh_bhatt at credence.com
Thu Feb 10 17:37:26 GMT 2005


Hi,

I am porting my GUI based application (myApp) from Orbix2000 to
OmniORB4.0.5 on Sun Solaris 8.

After porting application to omniORB4.0.5, my application is
producing bus error. Following is the runtime output:

(dbx) debug myApp
Reading myApp
Reading ld.so.1
Reading libomniORB4.so.0
Reading libomniDynamic4.so.0
Reading libomniCodeSets4.so.0
Reading libomnithread.so.3
Reading libCOS4.so.0
Reading libsunmath.so.1
Reading libm.so.1
Reading libOIreg.so.4
Reading libOI.so.5
Reading libX11.so.4
Reading libXext.so.0
Reading libXt.so.4
Reading libGL.so.1
Reading libGLU.so.1
Reading libdl.so.1
Reading libnsl.so.1
Reading libsocket.so.1
Reading libXm.so.4
Reading libintl.so.1
Reading libl.so.1
Reading libCrun.so.1
Reading libw.so.1
Reading libc.so.1
Reading libpthread.so.1
Reading librt.so.1
Reading libdga.so.1
Reading libSM.so.6
Reading libICE.so.6
Reading libXmu.so.4
Reading libmp.so.2
Reading libaio.so.1
Reading libc_psr.so.1
Reading libthread.so.1
detected a multithreaded program
(dbx) cont
Running: myApp
signal BUS (invalid address alignment) in malloc at 0x3db16c


dynamic dependencies of executable files using omniORB4.0.5:
=============================================
ldd myApp
        libomniORB4.so.0 =>
/net/manali/manalibackup/omniORB/omni_inst/lib/libomniORB4.so.0
        libomniDynamic4.so.0 =>
/net/manali/manalibackup/omniORB/omni_inst/lib/libomniDynamic4.so.0
        libomniCodeSets4.so.0 =>
/net/manali/manalibackup/omniORB/omni_inst/lib/libomniCodeSets4.so.0
        libomnithread.so.3 =>
/net/manali/manalibackup/omniORB/omni_inst/lib/libomnithread.so.3
        libCOS4.so.0 =>
/net/manali/manalibackup/omniORB/omni_inst/lib/libCOS4.so.0
        libsunmath.so.1 =>       /opt/SUNWspro/lib/libsunmath.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libOIreg.so.4 =>         /usr/ids/lib/libOIreg.so.4
        libOI.so.5 =>    /usr/local/ObjectBuilder_5.1.4/lib/libOI.so.5
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libXt.so.4 =>    /usr/lib/libXt.so.4
        libGL.so.1 =>    /usr/lib/libGL.so.1
        libGLU.so.1 =>   /usr/lib/libGLU.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libXm.so.4 =>    /usr/lib/libXm.so.4
        libintl.so.1 =>  /usr/lib/libintl.so.1
        libl.so.1 =>     /usr/lib/libl.so.1
        libCrun.so.1 =>  /usr/lib/libCrun.so.1
        libw.so.1 =>     /usr/lib/libw.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
        libSM.so.6 =>    /usr/lib/libSM.so.6
        libICE.so.6 =>   /usr/lib/libICE.so.6
        libXmu.so.4 =>   /usr/lib/libXmu.so.4
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libaio.so.1 =>   /usr/lib/libaio.so.1
        /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1


dynamic dependencies of executable files using ORBIX2000:
===========================================
ldd myApp
        libit_dynany_sc52.so.3 =>
/opt/iona/shlib/libit_dynany_sc52.so.3
        libit_poa_sc52.so.3 =>   /opt/iona/shlib/libit_poa_sc52.so.3
        libit_art_sc52.so.3 =>   /opt/iona/shlib/libit_art_sc52.so.3
        libit_ifc_sc52.so.3 =>
/opt/iona/shlib/default/libit_ifc_sc52.so.3
        libthread.so.1 =>        /usr/lib/libthread.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libit_naming_sc52.so.3 =>
/opt/iona/shlib/libit_naming_sc52.so.3
        libsunmath.so.1 =>       /opt/SUNWspro/lib/libsunmath.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libOIreg.so.4 =>         /usr/ids/lib/libOIreg.so.4
        libOI.so.5 =>    /usr/local/ObjectBuilder_5.1.4/lib/libOI.so.5
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libXt.so.4 =>    /usr/lib/libXt.so.4
        libGL.so.1 =>    /usr/lib/libGL.so.1
        libGLU.so.1 =>   /usr/lib/libGLU.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libXm.so.4 =>    /usr/lib/libXm.so.4
        libintl.so.1 =>  /usr/lib/libintl.so.1
        libl.so.1 =>     /usr/lib/libl.so.1
        libCrun.so.1 =>  /usr/lib/libCrun.so.1
        libw.so.1 =>     /usr/lib/libw.so.1
        libit_poa_location_sc52.so.3 =>
/opt/iona/shlib/libit_poa_location_sc52.so.3
        libit_location_sc52.so.3 =>
/opt/iona/shlib/libit_location_sc52.so.3
        libposix4.so.1 =>        /usr/lib/libposix4.so.1
        libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
        libSM.so.6 =>    /usr/lib/libSM.so.6
        libICE.so.6 =>   /usr/lib/libICE.so.6
        libXmu.so.4 =>   /usr/lib/libXmu.so.4
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libaio.so.1 =>   /usr/lib/libaio.so.1
        /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1


Any suggestions, what could be the cause of bus error while using
omniORB?

Thanks in advance for your help!
Mahesh





More information about the omniORB-list mailing list