[Dbus-cxx-users] Bug in DBus::MethodProxy ?
Status: Beta
Brought to you by:
rvinyard
From: camillo s. <cam...@gm...> - 2011-01-04 13:31:13
|
Hi, recently i implemented a DBus::Object method in a DBus server and a corresponding MethodProxy in my DBus client. Since i didnt need a return value i used the signature void CMyClass::myMethod(string msg, int x, int y); thus calling something like pObj->create_method<void,string,int,int>(interfacename, methodname, sigc::mem_fun(*this, &CMyClass::myMethod)); at the server and accordingly DBus::MethodProxy<void,string,int,int>::pointer pProxyMethod = pObjProxy->create_method<void,string,int,int>(interfacename,methodname); at the client side. However I frequently encountered some unknown exceptions when issuing a proxy call prior to shutting down my threads (objects were still valid at that time), i.e. the call hung some time and then threw an unspecified exception. When I changed the signature of my method and proxy from void to return an int everything worked well. Anybody also observed something therelike or some explanations for this strange behaviour? Regards camillo |