[omniORB] bidir example crashes on omniORB 4.0.0 on Mac OS X 10.2

Jahn Otto Næsgaard Andersen Jahn.O.Andersen@unimed.sintef.no
Wed Oct 30 10:44:00 2002


Hi,

I am using omniORB 4.0.0 on Mac OS X with gcc 3.1 (build 1161). It 
compiles out-of-the-box without problems, but I am having problems with 
the bidir example:


jotto@monstermac:~/download/omniORB-4.0.0/src/examples/bidir$ 
./bd_server
Bus error


This is the backtrace when running through gdb:


Program received signal EXC_BAD_ACCESS, Could not access memory.
0x006623c0 in 
omni::TypeCode_collector::duplicateRef(omni::TypeCode_base*) ()
(gdb) bt


#0  0x006623c0 in 
omni::TypeCode_collector::duplicateRef(omni::TypeCode_base*) ()
#1  0x006584a0 in omni::TypeCode_alias::TypeCode_alias(char const*, 
char const*, omni::TypeCode_base*) ()
#2  0x00654838 in CORBA::TypeCode::PR_alias_tc(char const*, char 
const*, CORBA::TypeCode*) ()
#3  0x006e8b00 in __static_initialization_and_destruction_0(int, int) ()
#4  0x8fe16350 in __dyld_call_module_initializers_for_library ()
#5  0x8fe160e4 in __dyld_call_module_initializers ()
#6  0x8fe106f0 in __dyld_link_in_need_modules ()
#7  0x8fe1016c in __dyld_bind_lazy_symbol_reference ()
#8  0x8fe00ec0 in __dyld_stub_binding_helper_interface ()
#9  0x00712204 in omni::TypeCode_alignTable::setNumEntries(unsigned) ()
#10 0x00655b08 in omni::TypeCode_base::TypeCode_base(CORBA::TCKind) ()
#11 0x006649c8 in omni::check_static_data_is_initialised() ()
#12 0x006e8248 in __static_initialization_and_destruction_0(int, int) ()
#13 0x8fe16350 in __dyld_call_module_initializers_for_library ()
#14 0x8fe160e4 in __dyld_call_module_initializers ()
#15 0x8fe106f0 in __dyld_link_in_need_modules ()
#16 0x8fe1016c in __dyld_bind_lazy_symbol_reference ()
#17 0x8fe00ec0 in __dyld_stub_binding_helper_interface ()
#18 0x00611400 in CORBA::Any::Any() ()
#19 0x006e7f2c in __static_initialization_and_destruction_0(int, int) ()
#20 0x8fe16350 in __dyld_call_module_initializers_for_library ()
#21 0x8fe160e4 in __dyld_call_module_initializers ()
#22 0x8fe106f0 in __dyld_link_in_need_modules ()
#23 0x8fe102d0 in __dyld_bind_lazy_symbol_reference ()
#24 0x8fe00ec0 in __dyld_stub_binding_helper_interface ()
#25 0x006e6624 in __static_initialization_and_destruction_0(int, int) ()
#26 0x8fe16350 in __dyld_call_module_initializers_for_library ()
#27 0x8fe160e4 in __dyld_call_module_initializers ()
#28 0x8fe106f0 in __dyld_link_in_need_modules ()
#29 0x8fe102d0 in __dyld_bind_lazy_symbol_reference ()
#30 0x8fe00ec0 in __dyld_stub_binding_helper_interface ()
#31 0x00003250 in main ()
#32 0x000024fc in _start (argc=1, argv=0xbffffd30, envp=0xbffffd38) at 
/SourceCache/Csu/Csu-45/crt.c:267
#33 0x0000237c in start ()


Bug or feature? :-)


Regards,
Jahn Otto