<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#c7edcc>
<DIV><FONT face=Arial>Hi,</FONT></DIV>
<DIV><FONT face=Arial>I find another case that dbus-daemon doesn't notice the
sending request at all.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>BR,</FONT></DIV>
<DIV><FONT face=Arial>Edison Lin</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt 新細明體">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt 新細明體; font-color: black"><B>From:</B>
<A title=edison_lin@gemtek.com.tw
href="mailto:edison_lin@gemtek.com.tw">Edison_lin-林俊翰</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>To:</B> <A title=ernaveenverma@gmail.com
href="mailto:ernaveenverma@gmail.com">Naveen Verma</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>Cc:</B> <A title=dbus@lists.freedesktop.org
href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>Sent:</B> Wednesday, May 27, 2009 11:35
AM</DIV>
<DIV style="FONT: 10pt 新細明體"><B>Subject:</B> Re: Why sometimes the
signal/method call can't be sent successfully</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial>Hi,</FONT></DIV>
<DIV><FONT face=Arial>The attached files are the logs after open verbose mode.
After comparing these two logs I found one place different : After removing
the message from outgoing queue, for failed case the dispatch status always
shows complete, as for the successful case there's always data remains. You
could find this after the verbose message
"_dbus_connection_send_preallocated_and_unlock middle"</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>For your reference,</FONT></DIV>
<DIV><FONT face=Arial>BR,</FONT></DIV>
<DIV><FONT face=Arial>Edison</FONT></DIV>
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt 新細明體; font-color: black"><B>From:</B>
<A title=edison_lin@gemtek.com.tw
href="mailto:edison_lin@gemtek.com.tw">Edison_lin-林俊翰</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>To:</B> <A title=ernaveenverma@gmail.com
href="mailto:ernaveenverma@gmail.com">Naveen Verma</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>Cc:</B> <A title=dbus@lists.freedesktop.org
href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</A>
</DIV>
<DIV style="FONT: 10pt 新細明體"><B>Sent:</B> Tuesday, May 26, 2009 8:23
PM</DIV>
<DIV style="FONT: 10pt 新細明體"><B>Subject:</B> Re: Why sometimes the
signal/method call can't be sent successfully</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial>Hi,</FONT></DIV>
<DIV><FONT face=Arial>I think it's probably not my sender's fault, because
sometimes the sending request seems to disappear</FONT></DIV>
<DIV><FONT face=Arial>through observing dbus-monitor even if I use the
following command:</FONT></DIV>
<DIV><FONT face=Arial><STRONG>dbus-send --session --type=signal
--dest=com.wiley.test / com.wiley.test.TestSignal
string::"rock"</STRONG></FONT></DIV>
<DIV><FONT face=Arial>Any idea is appreciated !</FONT></DIV>
<DIV><STRONG><FONT face=Arial></FONT></STRONG> </DIV>
<DIV><FONT face=Arial>BR,</FONT></DIV>
<DIV><FONT face=Arial>Edison Lin</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt 新細明體">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt 新細明體; font-color: black"><B>From:</B>
<A title=edison_lin@gemtek.com.tw
href="mailto:edison_lin@gemtek.com.tw">Edison_lin-林俊翰</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>To:</B> <A title=ernaveenverma@gmail.com
href="mailto:ernaveenverma@gmail.com">Naveen Verma</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>Cc:</B> <A
title=dbus@lists.freedesktop.org
href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</A>
</DIV>
<DIV style="FONT: 10pt 新細明體"><B>Sent:</B> Tuesday, May 26, 2009 6:33
PM</DIV>
<DIV style="FONT: 10pt 新細明體"><B>Subject:</B> Re: Why sometimes the
signal/method call can't be sent successfully</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial>Hi </FONT><FONT face=新細明體>Naveen,</FONT></DIV>
<DIV>I'm looking at session bus, and I'm using low level C API to do this.
The attached is the source code of the sender, do I miss something ?</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial>Appreciate,</FONT></DIV>
<DIV><FONT face=Arial>Edison Lin</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt 新細明體">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt 新細明體; font-color: black"><B>From:</B>
<A title=ernaveenverma@gmail.com
href="mailto:ernaveenverma@gmail.com">Naveen Verma</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>To:</B> <A
title=Edison_Lin@gemtek.com.tw
href="mailto:Edison_Lin@gemtek.com.tw">Edison_Lin-林俊翰</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>Cc:</B> <A
title=dbus@lists.freedesktop.org
href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</A>
</DIV>
<DIV style="FONT: 10pt 新細明體"><B>Sent:</B> Tuesday, May 26, 2009 6:02
PM</DIV>
<DIV style="FONT: 10pt 新細明體"><B>Subject:</B> Re: Why sometimes the
signal/method call can't be sent successfully</DIV>
<DIV><BR></DIV><BR>
<DIV class=gmail_quote><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#c7edcc">
<DIV><FONT face=Arial>Hi,</FONT></DIV>
<DIV><FONT face=Arial>I used the dbus-monitor to monitor
the status of message bus, and I found that sometimes after
sending a signal/method call and flush the connection, nothing
happened(I meant the information about the sending action) in the
description produced from dbus-monitor. After several times of retries
then it shows the sending message, at the same time the receiver got
the request. I'm wondering the reason causing this ? Is it a usual
case so that I have to establish a mechanism to ensure the delivering
of request ?</FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR>-This is strange, I am also using dbu-monitor quit a lot but
never face this issue. Are you looking at system bus or session bus?
<BR></DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#c7edcc">
<DIV><FONT face=Arial></FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Appreciate,</FONT></DIV>
<DIV><FONT face=Arial>Edison Lin</FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR>-Br<BR>Naveen<BR> <BR></DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#c7edcc">
<DIV><FONT
face=Arial></FONT></DIV></DIV><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></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>