<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Hello all, </div>
<div>I’m using <font face="Monospace" color="#642880"><b>dbus_g_proxy_call</b></font><font face="Monospace" color="#642880"><b> to transmit information (3 int variables) to a dbus-server</b></font><font face="Monospace" color="#642880"><b> on glib </b></font>2.24.0
(linux arm)</div>
<div><font face="Monospace" color="#642880"><b>The proxy has been initialized at application startup using:</b></font></div>
<div><font face="Monospace">bus = <font color="#642880"><b>dbus_g_bus_get</b></font>(<font color="#0000C0"><i>DBUS_BUS_SYSTEM</i></font>, &error);</font></div>
<div><font face="Monospace" color="#005032">DBusGProxy* Proxy = <font color="#642880"><b>dbus_g_proxy_new_for_name</b></font><font color="#000000">(bus, z_c_ServiceName, z_c_ObjInstance, z_c_Interface);</font></font></div>
<div><font face="Monospace">When using this proxy to send data, application crashes with signal 11 after a few calls to dbus_g_proxy_call</font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Monospace">After that I have tried to open a new Proxy before each call to dbus_g_proxy_call and closed it using <font color="#642880"><b>g_object_unref</b></font> after dbus_g_proxy_call has returned.</font></div>
<div><font face="Monospace">This works fine when the Proxy is declared static.</font></div>
<div><font face="Monospace"> </font></div>
<div><font face="Monospace">My question to you: Can a Proxy get invalid? What am I doing wrong?</font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div>Mit freundlichen Grüßen / Best regards </div>
<div> </div>
<div><b>Martin Eckert </b></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div>DC-IA/EWT1</div>
<div>Bosch Rexroth. The Drive & Control Company</div>
<div>Tel. 07192-22453</div>
<div>Fax 07192-22290</div>
<div><font face="Calibri, sans-serif" size="2"><a href="mailto:martin.eckert@boschrexroth.de"><font face="Arial, sans-serif" size="2" color="#0000FF">martin.eckert@boschrexroth.de</font></a></font></div>
<div><font face="Calibri, sans-serif" size="2"><a href="http://www.boschrexroth.com"><font face="Arial, sans-serif" size="2" color="#0000FF"><u>www.boschrexroth.com</u></font></a></font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div>Bosch Rexroth AG</div>
<div>Fornsbacher Str. 92</div>
<div>71540 Murrhardt</div>
<div>GERMANY</div>
<div> </div>
<div><font size="1">Firmensitz: Stuttgart, Registrierung: Amtsgericht Stuttgart HRB 23192</font></div>
<div><font size="1">Vorstand: Dr. Karl Tragl (Vorsitzender), Dr. Georg Hanen; Dr. Bertram Hoffmann; Dr. Stefan Spindler</font></div>
<div><font size="1">Vorsitzender des Aufsichtsrats: Dr. Siegfried Dais</font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
</font>
</body>
</html>