[omniORB] bind() hangs

botner@iex.com botner@iex.com
Wed, 6 May 1998 10:58:28 -0500


Hi,


I'm seeing the bind() call hang when I try to bind more than 3 objects
in a simple server that is based on the eg3_impl.cc.  Each object has
a unique id and kind.


Does anybody have any ideas?

This is the line in the eg3_impl.cc that is hanging:

testContext->bind(objectName,obj);

Here's the backtrace:


  [1] __sigprocmask(0x0, 0x0, 0x0, 0xffff7fff, 0x99a28, 0x0), at 0xef5035a4
  [2] __bounceself(0x99a43, 0x0, 0x0, 0x0, 0x99a00, 0x0), at 0xef4fc29c
  [3] _lrw_unlock(0xef7f4990, 0x3bd3f0, 0x108, 0xef7f49b0, 0xef7f4998, 0xef7f49c0), at 0xef4fa5dc
  [4] elf_bndr(0xef515168, 0xef4fc108, 0xef7c0720, 0xef4f7984, 0xef4f3e4b, 0xef4f1acc), at 0xef7db13c
  [5] _elf_rtbndr(0xef4f7984, 0x0, 0x0, 0x0, 0x0, 0x1), at 0xef7d4478
  [6] 0xef514ba8(0x99a43, 0x0, 0x99a3e, 0x99a3f, 0x0, 0x99a3d), at 0xef514ba7
  [7] cond_wait(0xa01f8, 0x9da38, 0x1, 0xef742f7c, 0xef70dace, 0x99a00), at 0xef4f7984
  [8] pthread_cond_wait(0xa01f8, 0x9da38, 0x0, 0x9ad34, 0x9, 0x4005248), at 0xef4f78c0
  [9] omni_condition::wait(0xa01f0, 0xa01f0, 0x1, 0x9ad30, 0x5, 0x14), at 0xef6e18d0
  [10] Strand::Sync::RdLock(0xefffea90, 0x1, 0xefffea90, 0x0, 0x9da38, 0x9ad34), at 0xef742f7c
  [11] Strand::Sync::Sync(0xefffea90, 0x9da38, 0x1, 0x9da38, 0x1, 0xefffea90), at 0xef742d84
  [12] NetBufferedStream::NetBufferedStream(0xefffea90, 0x9da38, 0x1, 0x1, 0x0, 0xef797c8c), at 0xef736f78
  [13] GIOP_C::GIOP_C(0xefffea90, 0x9da38, 0x0, 0xef79d160, 0x9b7f0, 0xef797c8c), at 0xef723bec
  [14] CosNaming::_proxy_NamingContext::bind(0xef79f5ec, 0xff00, 0xa0374, 0xef797c8c, 0xefffebe4, 0x0), at 0xef768630
=>[15] bindObjectToName(orb = 0x9b1b8, obj = 0xa0374, kind = 0x99018 "TrunkGroup"), line 182 in "wll_server.C"
  [16] main(argc = 1, argv = 0xefffed74), line 133 in "wll_server.C"
(dbx) 



Thanks,


Mark
-----
Mark Botner
IEX Corp.                                   "In a World Without Fences,
Voice: 972.301.4870                          Who Needs Gates?"
PGP5 public key available upon request       --- Scott McNealy