Hi,<br><br>If you are using session bus then in the session bus conf file usually in /etc/dbus-1/session.conf it has message size limit. I think by default it is 1MB. So if that is the problem then may be you can try by increasing the message sixe limit.
<br><br>-Br<br>Naveen<br><br><div class="gmail_quote">On Jan 21, 2008 5:53 PM, Thiago Macieira &lt;<a href="mailto:thiago@kde.org">thiago@kde.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Sumit Kumar Jain wrote:<br>&gt;Hi All,<br>&gt;I am using dbus glib binding. I have a code where i am trying to<br>&gt; transfer a 5 MB file over dbus. I am getting an error which is<br>&gt;<br>&gt;&quot;Failed to write file &#39;
copy-client.JK5K5T&#39;: fwrite() failed: Bad<br>&gt; address&quot;<br>&gt;<br>&gt;However for small file ( about 10-20 k), I am not getting the same<br>&gt; problem. I looked up the dbus specs and that says that the max message
<br>&gt; size is 2 pow 27. I am not able to understand the reason of failure. I<br>&gt; am attaching my code for your reference.<br><br></div>What happens if you limit your chunks to 1 MB?<br><font color="#888888"><br>--<br>
&nbsp;Thiago Macieira - thiago (AT) <a href="http://macieira.info" target="_blank">macieira.info</a> - thiago (AT) <a href="http://kde.org" target="_blank">kde.org</a><br>&nbsp; PGP/GPG: 0x6EF45358; fingerprint:<br>&nbsp; E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
<br></font><br>_______________________________________________<br>dbus mailing list<br><a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">
http://lists.freedesktop.org/mailman/listinfo/dbus</a><br><br></blockquote></div><br>