R: [omniORB] Profiling

Sandro Tolaini tolaini@libero.it
Mon, 18 Jun 2001 12:48:13 +0200


[omniORB on Solaris/x86]
> As far as I know, it works OK, but we don't have any Solaris x86
> machines here. What problems are you having?

This is what happens when we try to compile omniORB:

../../../bin/sun4_sosV_5.8/omniidl -bcxx -Wba -p../../../src/lib/omniORB2  -
WbF
-ComniORB3 ../../../idl/corbaidl.idl
Abort - core dumped

This is the backtrace from gdb of python (which is responsible of the
coredump):\

#0  0xdf9a6971 in __sigprocmask () from /usr/lib/libthread.so.1
#1  0xdf99d4b5 in _resetsig () from /usr/lib/libthread.so.1
#2  0xdf99cdbe in _sigon () from /usr/lib/libthread.so.1
#3  0xdf99a7d0 in _lmutex_unlock () from /usr/lib/libthread.so.1
#4  0xdf99f477 in _thrp_kill () from /usr/lib/libthread.so.1
#5  0xdf99f368 in thr_kill () from /usr/lib/libthread.so.1
#6  0xdfb9b6ff in raise () from /usr/lib/libc.so.1
#7  0xdfb8bb30 in abort () from /usr/lib/libc.so.1
#8  0xdf8c7088 in __do_global_ctors_aux ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#9  0xdf8a4def in IdlWarning ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#10 0xdf8bdb03 in AstValidateVisitor::visitForward ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#11 0xdf8cc78b in Forward::accept ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#12 0xdf8bda31 in AstValidateVisitor::visitModule ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#13 0xdf8cc5bb in Module::accept ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#14 0xdf8bd9b9 in AstValidateVisitor::visitAST ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#15 0xdf8cc3fb in AST::accept ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#16 0xdf8b3fe9 in AST::setDeclarations ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#17 0xdf899b0f in yyparse ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#18 0xdf8b3e40 in AST::process ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#19 0xdf8c62c6 in IdlPyCompile ()
   from /net/jeeg/home/jeeg/sandro/omni/lib/sun4_sosV_5.8/_omniidlmodule.so
#20 0x8058fa2 in call_cfunction (func=0x80debf8, arg=0x8109e3c, kw=0x0)
    at Python/ceval.c:2838
#21 0x8058e96 in call_object (func=0x80debf8, arg=0x8109e3c, kw=0x0)
    at Python/ceval.c:2801
#22 0x80595fb in do_call (func=0x80debf8, pp_stack=0x8047610, na=1, nk=0)
    at Python/ceval.c:3116
#23 0x8057a87 in eval_code2 (co=0x8112f40, globals=0x8111b7c, locals=0x0,
    args=0x80d8534, argcount=0, kws=0x80d8534, kwcount=0, defs=0x81399a8,
    defcount=1, closure=0x0) at Python/ceval.c:1948
#24 0x805935c in fast_function (func=0x814c7cc, pp_stack=0x8047720, n=0,
na=0,
    nk=0) at Python/ceval.c:3015
#25 0x8057af1 in eval_code2 (co=0x80d87c0, globals=0x80cba04,
    locals=0x80cba04, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:1966
#26 0x8055085 in PyEval_EvalCode (co=0x80d87c0, globals=0x80cba04,
    locals=0x80cba04) at Python/ceval.c:341
#27 0x806ca0f in run_node (n=0x80c92f8,
    filename=0x8047a87 "../../../bin/sun4_sosV_5.8/omniidlrun.py",
    globals=0x80cba04, locals=0x80cba04, flags=0x80478c4)
    at Python/pythonrun.c:1045
#28 0x806c9ca in run_err_node (n=0x80c92f8,
    filename=0x8047a87 "../../../bin/sun4_sosV_5.8/omniidlrun.py",
    globals=0x80cba04, locals=0x80cba04, flags=0x80478c4)
    at Python/pythonrun.c:1032
#29 0x806c99e in PyRun_FileExFlags (fp=0x80c6660,
    filename=0x8047a87 "../../../bin/sun4_sosV_5.8/omniidlrun.py",
start=257,
    globals=0x80cba04, locals=0x80cba04, closeit=1, flags=0x80478c4)
    at Python/pythonrun.c:1023
#30 0x806be20 in PyRun_SimpleFileExFlags (fp=0x80c6660,
    filename=0x8047a87 "../../../bin/sun4_sosV_5.8/omniidlrun.py",
closeit=1,
    flags=0x80478c4) at Python/pythonrun.c:665
#31 0x806b980 in PyRun_AnyFileExFlags (fp=0x80c6660,
    filename=0x8047a87 "../../../bin/sun4_sosV_5.8/omniidlrun.py",
closeit=1,
    flags=0x80478c4) at Python/pythonrun.c:479
#32 0x8052040 in Py_Main (argc=7, argv=0x8047910) at Modules/main.c:320
#33 0x8051ab8 in main (argc=8, argv=0x8047910) at ./Modules/ccpython.cc:10

We have gcc-2.95.3 recompiled from sources
(--enable-shared --enable-threads) and python 2.1 recompiled from sources
(--enable-threads).

Any hints?

Cheers,
  Sandro.