Hello,<div><br class="webkit-block-placeholder"></div><div>I&#39;ve built an application using omniORB and while I&#39;m generating dynamic ELF everything is working fine.</div><div>The problem is when I generate a static binary for i386 cpu : there is a SIGSEGV in function ORB_init.</div>
<div><br class="webkit-block-placeholder"></div><div>here is the output from valgrind :</div><div><br>&nbsp;</div><div><div>==5489== Thread 16:</div><div>==5489== Conditional jump or move depends on uninitialised value(s)</div>
<div>==5489== &nbsp; &nbsp;at 0x84F988C: strlen (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div><div>==5489== &nbsp; &nbsp;by 0x8310710: omniORB::logger::~logger() (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div>
<div>==5489== &nbsp; &nbsp;by 0x836CCB6: omni::omniCodeSet::logCodeSets() (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div><div>==5489== &nbsp; &nbsp;by 0x82F1D70: CORBA::ORB_init(int&amp;, char**, char const*, char const* (*) [2]) (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div>
<div>==5489== &nbsp; &nbsp;by 0x812EB56: CEqpInterfaceImpl_v2::InitOrb() (EqpInterface_v2.cpp:234)</div><div>==5489== &nbsp; &nbsp;by 0x812F04E: CEqpInterfaceImpl_v2::Start(char const*, ISecurityModule*) (EqpInterface_v2.cpp:305)</div><div>==5489== &nbsp; &nbsp;by 0x810538D: CMsgCom::MsgComMain(CMsgCom*) (msgcom.cpp:581)</div>
<div>==5489== &nbsp; &nbsp;by 0x825B429: cbth_handler(void*) (linuxthread.cpp:27)</div><div>==5489== &nbsp; &nbsp;by 0x845C8D9: start_thread (pthread_create.c:296)</div><div>==5489== &nbsp; &nbsp;by 0x850E31D: clone (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div>
<div>omniORB: Native char code sets:.</div><div>omniORB: Transmission char code sets:.</div><div>omniORB: Native wide char code sets:.</div><div>==5489==&nbsp;</div><div>==5489== Conditional jump or move depends on uninitialised value(s)</div>
<div>==5489== &nbsp; &nbsp;at 0x84F98D1: strlen (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div><div>==5489== &nbsp; &nbsp;by 0x8310710: omniORB::logger::~logger() (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div>
<div>==5489== &nbsp; &nbsp;by 0x836CEDC: omni::omniCodeSet::logCodeSets() (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div><div>==5489== &nbsp; &nbsp;by 0x82F1D70: CORBA::ORB_init(int&amp;, char**, char const*, char const* (*) [2]) (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div>
<div>==5489== &nbsp; &nbsp;by 0x812EB56: CEqpInterfaceImpl_v2::InitOrb() (EqpInterface_v2.cpp:234)</div><div>==5489== &nbsp; &nbsp;by 0x812F04E: CEqpInterfaceImpl_v2::Start(char const*, ISecurityModule*) (EqpInterface_v2.cpp:305)</div><div>==5489== &nbsp; &nbsp;by 0x810538D: CMsgCom::MsgComMain(CMsgCom*) (msgcom.cpp:581)</div>
<div>==5489== &nbsp; &nbsp;by 0x825B429: cbth_handler(void*) (linuxthread.cpp:27)</div><div>==5489== &nbsp; &nbsp;by 0x845C8D9: start_thread (pthread_create.c:296)</div><div>==5489== &nbsp; &nbsp;by 0x850E31D: clone (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div>
<div>omniORB: Transmission wide char code sets:.</div><div>==5489==&nbsp;</div><div>==5489== Invalid read of size 4</div><div>==5489== &nbsp; &nbsp;at 0x83460B1: omni::omni_cdrStream_initialiser::attach() (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div>
<div>==5489== &nbsp; &nbsp;by 0x82F1D7C: CORBA::ORB_init(int&amp;, char**, char const*, char const* (*) [2]) (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div><div>==5489== &nbsp; &nbsp;by 0x812EB56: CEqpInterfaceImpl_v2::InitOrb() (EqpInterface_v2.cpp:234)</div>
<div>==5489== &nbsp; &nbsp;by 0x812F04E: CEqpInterfaceImpl_v2::Start(char const*, ISecurityModule*) (EqpInterface_v2.cpp:305)</div><div>==5489== &nbsp; &nbsp;by 0x810538D: CMsgCom::MsgComMain(CMsgCom*) (msgcom.cpp:581)</div><div>==5489== &nbsp; &nbsp;by 0x825B429: cbth_handler(void*) (linuxthread.cpp:27)</div>
<div>==5489== &nbsp; &nbsp;by 0x845C8D9: start_thread (pthread_create.c:296)</div><div>==5489== &nbsp; &nbsp;by 0x850E31D: clone (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div><div>==5489== &nbsp;Address 0x4 is not stack&#39;d, malloc&#39;d or (recently) free&#39;d</div>
<div>==5489==&nbsp;</div><div>==5489== Process terminating with default action of signal 11 (SIGSEGV)</div><div>==5489== &nbsp;Access not within mapped region at address 0x4</div><div>==5489== &nbsp; &nbsp;at 0x83460B1: omni::omni_cdrStream_initialiser::attach() (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div>
<div>==5489== &nbsp; &nbsp;by 0x82F1D7C: CORBA::ORB_init(int&amp;, char**, char const*, char const* (*) [2]) (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div><div>==5489== &nbsp; &nbsp;by 0x812EB56: CEqpInterfaceImpl_v2::InitOrb() (EqpInterface_v2.cpp:234)</div>
<div>==5489== &nbsp; &nbsp;by 0x812F04E: CEqpInterfaceImpl_v2::Start(char const*, ISecurityModule*) (EqpInterface_v2.cpp:305)</div><div>==5489== &nbsp; &nbsp;by 0x810538D: CMsgCom::MsgComMain(CMsgCom*) (msgcom.cpp:581)</div><div>==5489== &nbsp; &nbsp;by 0x825B429: cbth_handler(void*) (linuxthread.cpp:27)</div>
<div>==5489== &nbsp; &nbsp;by 0x845C8D9: start_thread (pthread_create.c:296)</div><div>==5489== &nbsp; &nbsp;by 0x850E31D: clone (in /home/blunderer/Work/thales/ittem/ittem/v_ittem/ITTEM/Gau/Delivery/Linux/bin/ITTEM_GAU)</div><div>==5489==&nbsp;</div>
<div>==5489== ERROR SUMMARY: 83698 errors from 294 contexts (suppressed: 0 from 0)</div><div>==5489== malloc/free: in use at exit: 0 bytes in 0 blocks.</div><div>==5489== malloc/free: 0 allocs, 0 frees, 0 bytes allocated.</div>
<div>==5489== For counts of detected errors, rerun with: -v</div><div>==5489== All heap blocks were freed -- no leaks are possible.</div><div><br class="webkit-block-placeholder"></div></div><div><br class="webkit-block-placeholder">
</div><div>Does anybody know something about that?</div><div><br class="webkit-block-placeholder"></div><div>Thank you</div>