[Fresco-devel] client exit problems

[email protected] Wed, 10 Sep 2003 20:30:35 +0200
Newsgroups gmane.comp.video.fresco.devel
Message-ID <20030910183035.GA3929@balthasar>
hi

i found here are still exit-problems for clients... i will summarize the
behavior of the crashes...
i think it's not a bad idea to make the server more stable... even though
it sounds like _WORK_ and seems not to be a very lazy job... ;-)

if you not say "hey... don't change anything... we will remove this architecture/mechanism
soon..." i'll try to work on it...
 
ok... start...

1)
any time i kill the client by pressing the [X]-button the client crashes with
a assertion-error like:

omniORB: Assertion failed.  This indicates a bug in the application using
omniORB, or maybe in omniORB itself. e.g. using the ORB after it has
been shut down.
 file: current.cc
 line: 135
 info: !pd_callDescriptor
Killed

i don't know what this means...
<klugscheiss>my "internal sense" called to me: "maybe here are still CORBA-CALL's active" ...</klugscheiss>
but ... i'm new in CORBA... and don't really know what happens... ^^;;;;;

2)
after trying killing a client over and over again:
while true; do ./helloworld; sleep 2; done
*[X] pressing*
*wait*
*[X] pressing*
*wait*
*[X] pressing*
*wait*
*[X] pressing*
*wait*
*[X] pressing*
*wait*
*[X] pressing*
*wait*
...

sometimes this will crash the server... :-(

here is the stack-trace:

Program received signal SIGABRT, Aborted.
[Switching to Thread 65541 (LWP 3656)]
0x40a8ba91 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x40a8ba91 in kill () from /lib/libc.so.6
#1  0x403ac0e6 in pthread_kill () from /lib/libpthread.so.0
#2  0x403ac3d5 in raise () from /lib/libpthread.so.0
#3  0x40a8b86f in raise () from /lib/libc.so.6
#4  0x40a8cbc9 in abort () from /lib/libc.so.6
#5  0x40a0f3ec in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#6  0x40a0f420 in std::terminate() () from /usr/lib/libstdc++.so.5
#7  0x40a0f5c7 in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#8  0x400cec23 in omniObjRef::_invoke(omniCallDescriptor&, bool) () from /usr/local/lib/libomniORB4.so.0
#9  0x4066c339 in Fresco::_objref_Controller::handle_positional(Fresco::_objref_PickTraversal*, Fresco::Input::Event const&) (this=0x8746d58, t=0x80f5250, e=@0x42602010) at ControllerSK.cc:1173
#10 0x40915b9d in PositionalFocus::dispatch(Fresco::Input::Event&) (this=0x8728f28, event=@0x42602010)
    at ../../../Fresco-CVS/Fresco/Berlin/src/PositionalFocus.cc:355
#11 0x40911acc in EventManager::next_event() (this=0x8728d88)
    at ../../../Fresco-CVS/Fresco/Berlin/src/EventManager.cc:86
#12 0x4091076f in ScreenManager::run() (this=0x80efc98)
    at ../../../Fresco-CVS/Fresco/Berlin/src/ScreenManager.cc:154
#13 0x4091042a in ScreenManager::run_thread(void*) (X=0x80efc98)
    at ../../../Fresco-CVS/Fresco/Berlin/src/ScreenManager.cc:128
#14 0x4044da5c in Prague::Thread::start(void*) (X=0x80efcc8)
    at ../../../Fresco-CVS/Fresco/Prague/src/Sys/Thread.cc:145
#15 0x403a9a92 in pthread_start_thread () from /lib/libpthread.so.0
#16 0x403a9b0a in pthread_start_thread_event () from /lib/libpthread.so.0

(gdb) cont
Continuing.
[New Thread 786440 (LWP 3791)]
omniORB: Assertion failed.  This indicates a bug in the application using
omniORB, or maybe in omniORB itself. e.g. using the ORB after it has
been shut down.
 file: omniInternal.cc
 line: 664
 info: *pid

Program received signal SIGABRT, Aborted.
0x40a8ba91 in kill () from /lib/libc.so.6

mfg.
cinap_lenrek