[Fresco-devel] problems with dead graphics again (sorry)

[email protected] Wed, 29 Oct 2003 18:00:53 +0100
Newsgroups gmane.comp.video.fresco.devel
Message-ID <20031029170053.GA1559@balthasar>
hi again...

by testing the actual cvs i get again problems if i shutdown a client while interacting
with it.

reported it to irc but get no answer :( (all people seems busy ^^)

ok... lets see...

the problem is if one of the special Traversals from PersonalFocus call 
TraversalImpl::update(); this results in a call to a dead Graphic.

the line where the exception is raised looks like:

(*parent).graphic->allocate((*child).id, info);

now the question for me is... where we sould catch this? _have_ traversals to deal with
dead graphics? or is this a special case and we just catch it in PositionalFocus or
EventManager? and how to handle it?

this is the backtrace:

#8  0x400a6c00 in omni::omniExHelper::OBJECT_NOT_EXIST(char const*, int, unsigned long, CORBA::CompletionStatus) () from /usr/local/lib/libomniORB4.so.0
#9  0x400c4ed5 in omniObjRef::_invoke(omniCallDescriptor&, bool) () from /usr/local/lib/libomniORB4.so.0
#10 0x40657cf6 in Fresco::_objref_Graphic::allocate(unsigned long, Fresco::Allocation::Info const&) (
    this=0x83a5680, t=0, i=@0xbedff6cc) at GraphicSK.cc:1300
#11 0x408dcb89 in TraversalImpl::update() (this=0x8104248) at TraversalImpl.cc:154
#12 0x409200b9 in PositionalFocus::damage(Fresco::_objref_Region*) (this=0x80f4110, region=0x83ca0e8)
    at PositionalFocus.cc:247
#13 0x4091c97c in EventManager::damage(Fresco::_objref_Region*) (this=0x80f3f70, r=0x83ca0e8)
    at EventManager.cc:105

PS:
sorry again for posting this boring stuff... it's not very creative i know -_-

cinap_lenrek