[omniORB] Sun solaris crash

Aeilt Zemering a.zemering@optichrome.com
Fri, 8 Dec 2000 09:59:42 -0000



Hi,


I am having a problem with a C++ server with embedded python. It crashes
with either a
segmentation violation or a bus error.
I am using omniORB3.02 and omniORBPython1.2 on Sun Solaris 2.5

I have enclosed both the omniTrace and the output from dbx.

Does this look familiar to anybody ?


omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id:
omniORB: Initial reference `NameService' resolved from configuration file.
omniORB: strand Rope::incrRefCount: old value = 1
omniORB: Creating Python ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id:
omniORB: releaseObjRef() -- deleted.
omniORB: ref count: 2
omniORB: ref count: 1
omniORB: strand Rope::incrRefCount: old value = 2
omniORB: Creating Python ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CosNaming/NamingContext:1.0
 most derived id:
omniORB: strand Ripper: start.
omniORB: scavenger : start.
omniORB: Python thread state scavenger start.
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote:
key<0x3a5c617261616165733a6d6973676174657761793
a3a3a49523a4d52506d69466163746f7279>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:MRPmiFactory:1.0
omniORB: strand Rope::incrRefCount: old value = 1
omniORB: Creating Python ref to remote:
key<0x3a5c617261616165733a6d697367617465
7761793a3a3a49523a4d52506d69466163746f7279>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:MRPmiFactory:1.0
omniORB: releaseObjRef(IDL:MRPmiFactory:1.0) -- deleted.
omniORB: ref count: 1
omniORB: ref count: 0
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 2
omniORB: ObjRef(IDL:MRPmiFactory:1.0) -- deleted.
ksh: 29110 Segmentation Fault(coredump)




This is the dbx output:

Current function is omniAnonObjRef::~omniAnonObjRef (optimized)
   66   omniAnonObjRef::~omniAnonObjRef() {}
(dbx)   [1] _lwp_kill(0x0, 0xb, 0x0, 0x13d407, 0x0, 0x13d405), at 0xef17898c
  [2] __libthread_segvhdlr(0xb, 0xefffd848, 0xefffd688, 0xefffd5c8,
0x13d410, 0x
13d440), at 0xef2232fc
  ---- called from signal handler with signal 11 (SIGSEGV) ------
  [3] MT::LockImpl::lock(), at 0xef491f9c
  [4] CORBA::Object::~Object(0x32c560, 0x0, 0x32c53c, 0xee7ed324,
0xefffd8e8, 0x
ef1d3848), at 0xef41f878
=>[5] omniAnonObjRef::~omniAnonObjRef(this = ???, delete = ???) (optimized),
at
0xee794d80 (line ~66) in "anonObject.cc"
  [6] static omni::releaseObjRef(objref = ???) (optimized), at 0xee792100
(line
~343) in "omniInternal.cc"
  [7] static CORBA::release(o = ???) (optimized), at 0xee856390 (line ~2553)
in
"CORBA.h"
  [8] static omniPy::stringToObject(uri = ???) (optimized), at 0xee855808
(line
~563) in "pyObjectRef.cc"
  [9] pyORB_string_to_object(self = ???, args = ???) (optimized), at
0xee84d0a4
(line ~75) in "pyORBFunc.cc"
  [10] PyEval_CallObjectWithKeywords(0x1e8490, 0x198ee8, 0x0, 0x198ee8,
0x83, 0x
1e1720), at 0x95a00
  [11] eval_code2(0x1f5d94, 0x2b85ec, 0x0, 0x0, 0x0, 0x1f5df8), at 0x942d4


Thanks



----------------------------------------------------------------------
Aeilt Zemering, Senior Programmer

Optimus, The Management System for the Printing Industry

Optichrome Computer Systems Ltd.
Maybury Road, Woking, United Kingdom
UK: Tel: +44 1483 740233 Fax: +44 1483 760644
mailto:a.zemering@optimus2020.com http://www.optimus2020.com

This is an e-mail from Optichrome Computer Systems Limited. The contents of
this e-mail are intended
only for the named recipient and may be privileged or confidential. If you
are not the intended
recipient please notify us immediately and do not copy, distribute or take
any action based
on this e-mail.