[omniORB] omniORB4 Application crash

Thomas Amsler amsler@cs.ucdavis.edu
Thu Jul 11 17:51:01 2002


This is a multi-part message in MIME format.
--------------050107080502010800090004
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I am running our OpenRCT server on a Linux RH7.3 system with all the 
latest distribution updates.  The server utilizes omniORB 4.0 and 
omniNotify 2.0 alpha.  Both are built from the latest CVS source.  I am 
getting sporadic server crashes. I attached three files with debugging 
and error messages.  The first file ErrorMessage.txt shows the message 
that's printed to the screen from the server.  The second file 
GDBMessage.txt shows the GDB back trace of the OpenRCT server  core 
file.  The third file, ClientMessage.txt,  shows the OpenRCT client 
error messages.

-- 
Thomas Amsler
amsler@cs.ucdavis.edu
http://davinci.cs.ucdavis.edu/thomas

"Imagination is more important than knowledge."
	--Albert Einstein



--------------050107080502010800090004
Content-Type: text/plain;
 name="ErrorMessage.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ErrorMessage.txt"

ERROR: Check transaction command failed!
omniORB: WARNING -- an omni_tracedcondition was destroyed,
 but there are still threads waiting on it!


--------------050107080502010800090004
Content-Type: text/plain;
 name="GDBMessage.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="GDBMessage.txt"

amia# gdb rctd core.11787 
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `rctd'.
Program terminated with signal 6, Aborted.
Reading symbols from /opt/omni/lib/i586_linux_2.0_glibc2.1/libCOS4.so.0...done.
Loaded symbols for /opt/omni/lib/i586_linux_2.0_glibc2.1/libCOS4.so.0
Reading symbols from /opt/omni/lib/i586_linux_2.0_glibc2.1/libCOSDynamic4.so.0...done.
Loaded symbols for /opt/omni/lib/i586_linux_2.0_glibc2.1/libCOSDynamic4.so.0
Reading symbols from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniORB4.so.0...done.
Loaded symbols for /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniORB4.so.0
Reading symbols from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniDynamic4.so.0...done.
Loaded symbols for /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniDynamic4.so.0
Reading symbols from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomnithread.so.3...done.
Loaded symbols for /opt/omni/lib/i586_linux_2.0_glibc2.1/libomnithread.so.3
Reading symbols from /lib/i686/libpthread.so.0...done.
Loaded symbols for /lib/i686/libpthread.so.0
Reading symbols from /usr/local/pgsql/lib/libpq.so.2...done.
Loaded symbols for /usr/local/pgsql/lib/libpq.so.2
Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x42029331 in kill () from /lib/i686/libc.so.6
(gdb) bt
#0  0x42029331 in kill () from /lib/i686/libc.so.6
#1  0x405dac4b in raise () from /lib/i686/libpthread.so.0
#2  0x4202a8c2 in abort () from /lib/i686/libc.so.6
#3  0x40628b8b in __default_terminate () at ../../gcc/libgcc2.c:-1
#4  0x40628baa in __terminate () from /usr/lib/libstdc++-libc6.2-2.so.3
#5  0x406298e5 in throw_helper (eh=0x8137200, pc=0x402807ea, my_udata=0x414aecdc, offset_p=0x414aecd8) from /usr/lib/libstdc++-libc6.2-2.so.3
#6  0x40629b0a in __throw () from /usr/lib/libstdc++-libc6.2-2.so.3
#7  0x405c1319 in omni_condition::~omni_condition () from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomnithread.so.3
#8  0x402e4ad9 in omni_tracedcondition::~omni_tracedcondition () from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniORB4.so.0
#9  0x402897ed in __static_initialization_and_destruction_0 () from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniORB4.so.0
#10 0x40289862 in global destructors keyed to omni::orbAsyncInvoker () from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniORB4.so.0
#11 0x402807eb in __do_global_dtors_aux () from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniORB4.so.0
#12 0x40340d89 in _fini () from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniORB4.so.0
#13 0x4000bbd2 in _dl_fini () from /lib/ld-linux.so.2
#14 0x4202bc5b in exit () from /lib/i686/libc.so.6
#15 0x08054f5e in DatabaseServer_i::db_trans_result_status (this=0x8139200, a_res=0x8122598, a_conn=0x8122380) at DatabaseServerImpl.cc:608
#16 0x08054852 in DatabaseServer_i::exec_db_query (this=0x8139200, 
    a_query=0x8122328 "select group_id from rct_groups where group_name='Tom's Group' and class_id= 'C1'") at DatabaseServerImpl.cc:222
#17 0x0806382e in GroupServer_i::get_group_id_from_group_name (this=0x8139318, a_class_id=0x8122318 "C1", a_group_name=0x813c648 "Tom's Group")
    at /opt/omni/include/omniORB4/stringtypes.h:198
#18 0x08087f9f in UserServer_i::is_user_manager_of_assembly (this=0x8139150, a_class_name=0x812d930 "ECS 1", a_assembly_name=0x813c648 "Tom's Group", 
    a_user_id=0x8134d08 "U1", a_type=2) at /opt/omni/include/omniORB4/stringtypes.h:198
#19 0x080c2966 in _0RL_lcfn_1eee694240835464_51000000 (cd=0x414af27c, svnt=0x813916c) at UserServerSK.cc:841
#20 0x402814bd in omniCallDescriptor::doLocalCall (this=0x414af27c, servant=0x813916c) at ../../../../include/omniORB4/callDescriptor.h:166
#21 0x402e2d60 in omniCallHandle::upcall (this=0x414af8ec, servant=0x813916c, desc=@0x414af27c) at callHandle.cc:145
#22 0x080c4e3e in RCT::_impl_UserServer::_dispatch (this=0x414af7a4, _handle=@0x414af8ec) at UserServerSK.cc:999
#23 0x402cfaa7 in omni::omniOrbPOA::dispatch (this=0x811c0f8, handle=@0x414af8ec, id=0x81391a0) at poa.cc:1656
#24 0x402b1e96 in omniLocalIdentity::dispatch (this=0x81391a0, handle=@0x414af8ec) at localIdentity.cc:202
#25 0x403075c7 in omni::GIOP_S::handleRequest () from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniORB4.so.0
#26 0x403070d5 in omni::GIOP_S::dispatcher () from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomniORB4.so.0
#27 0x403049fb in omni::giopWorker::execute (this=0x813ec80) at giopWorker.cc:171
#28 0x402aa362 in omniAsyncWorker::run (this=0x813eca8) at invoker.cc:152
#29 0x405c198c in omni_thread_wrapper () from /opt/omni/lib/i586_linux_2.0_glibc2.1/libomnithread.so.3
#30 0x405d7fef in pthread_start_thread () from /lib/i686/libpthread.so.0
(gdb) 


--------------050107080502010800090004
Content-Type: text/plain;
 name="ClientMessage.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ClientMessage.txt"

C:\thomas\OpenRctClient-1_0_0-RC2>java -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.O
RB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -jar rct.jar
        JacORB V 1.4, www.jacorb.org
        (C) Gerald Brose, FU Berlin/XTRADYNE Technologies, June 2002
[ POA RootPOA - ready ]
[ Connected to 169.237.7.207:2250 ]
[ Connected to 169.237.7.207:1364 ]
[ Connected to 169.237.7.207:1362 ]
[ ERROR: Abnormal connection termination. Lost 1 outstanding replie(s)! ]
org.omg.CORBA.COMM_FAILURE:   minor code: 0 completed: Maybe
        at org.jacorb.orb.connection.ReplyPlaceholder.getInputStream(Unknown Sou
rce)
        at org.jacorb.orb.Delegate.invoke(Unknown Source)
        at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
        at RCT._UserServerStub.is_user_manager_of_assembly(Unknown Source)
        at UserModule.isUserManagerOfAssembly(Unknown Source)
        at PageGui.<init>(Unknown Source)
        at PageGroupGui.<init>(Unknown Source)
        at PageModule.displayJoinPage(Unknown Source)
        at ClassViewPageGui.pressedCreateGroupButton(Unknown Source)
        at ClassViewPageGui.access$200(Unknown Source)
        at ClassViewPageGui$3.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
--------------050107080502010800090004--