crash while doing a proxy call of a dead process

viklaus j.viglione at amesys.fr
Sun Dec 2 03:19:01 PST 2007


hello,

I'm working on an embedded system where about 10 processes are communicating
together using DBus (with Glib).
each process launch his own server for Dbus and his client.
sometimes some of theses processes have to be restarted and if a message is
sent to one of theses processes which doesn't exist anymore, the process
sender of the message is killed while calling the method with the function
dbus_g_proxy_call in the dead process's client library . That's because the
server of the dead process is dead too.

is there a way to know if a server is still working before doing this call ?
or to know if a proxy object exists before doing a call ?

Furthermore, do you know if crashes can be due to multi acces on the same
client (to call the same method periodically) by all of the others process ?

Thanx
-- 
View this message in context: http://www.nabble.com/crash-while-doing-a-proxy-call-of-a-dead-process-tf4897739.html#a14027428
Sent from the Free Desktop - dbus mailing list archive at Nabble.com.



More information about the dbus mailing list