[omniORB] coredump when using omni_mutex

GAO,YAN (HP-Singapore,ex3) yan_gao@hp.com
Fri, 18 May 2001 11:21:02 +0800


Hi,

I write the following code

 Int main()
 {
   omni_mutex mu;
   mu.lock();
   exit(0);
  }

Then I would get coredump by receive signal abort()

It seems that I must call mu.unlock() before I exit in order to prevent the
happening of coredump.

Is this the designed behaviour and what can I do to prevent.

My machine is HP-UX 11 and using aCC 3.5

Regards,

Gao Yan