Hi Karel,

On Monday 06 July 2009 19:13, Karel Gardas wrote:
> Certainly I would compile with debug. I would also give a try to
> different compilers than 4.3.0 -- assuming you have not seen this error
> before. I would also verify the application to see that I'm really not
> trying to marshal local object.

Unfortunately I'm not familiar enough with Corba to know precisely what that 
means. Isn't it possible to throw a more meaningful message instead of the 
assertion?

> As I read it now, I would probably do 
> this in reversed order.

Seems so that I solved that problem comparing my software step by step with 
the event demo. The only difference was that my PushConsumer had been 
developed in BOA times, and switching to POA I had changed it to be derived 
from CosEventComm::PushConsumer, not from POA_CosEventComm::PushConsumer (not 
even bein aware that such a namespace exists). Supplying 
the "connect_push_consumer" function with the old consumer caused the 
assertion, and unfortunately the compiler did not complain. It did, however, 
with the POA consumer, but that problem was of course solved using 
consumer->_this().

BTW, I had already used "disable-optimize", "enable-debug", 
and "disable-threads". Now my code runs again, only at the very end I get a 
Segmentation fault in memcpy () from /lib64/libc.so.6, but I'm not really 
sure that it is related to MICO. In this context:

Which MICO resources should be freed after use? Should event channels be 
released or not? Should factories or proxies be deleted or not?

I could nowhere find anything about such questions. I will send you a separate 
mail on the documentation issue.

Thank you, Klaus

> Kretschel Klaus wrote:
> > Hi,
> >
> > until now our software used Mico 2.3.11 without problems. Now I wanted to
> > port it to Suse Linux 11 using 64 bit architecture (g++ 4.3) and thus had
> > to upgrade to Mico 2.3.13. Everything compiles fine. However, I get a
> > run-time error using event channels (the executable is named dispatcher):
> >
> > donau1: starting dispatcher ...
> > [469675298 - 140197343930112] static.cc:698: assertion failed
> > ----
>> ...
_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to