Issues with Solid from trunk and qtcreator 2.0.1...

Dawit A adawit at kde.org
Wed Nov 10 08:04:02 GMT 2010


Well

On Sat, Nov 6, 2010 at 6:09 PM, Thiago Macieira <thiago at kde.org> wrote:
> On Saturday, 6 de November de 2010 13:58:33 Dawit A wrote:
>> Hmm... if the call times out though, why doesn't it return an error ?
>> I get back the expected reply for the introspection call instead...
>
> Can you check with strace on the system bus when the reply was actually sent?
>
> strace -ttt -e sendmsg,recvmsg -s 512 -p $PID_OF_SYSTEM_BUS

I cannot figure out when the reply was sent back because there is a
lot of chatter on the system dbus, but I definitely see the pause
after the following message was sent

1289374216.174405 sendmsg(23, {msg_name(0)=NULL,
msg_iov(2)=[{"l\2\1\1I\32\0\0\305\261\5\0-\0\0\0\6\1s\0\5\0\0\0:1.61\0\0\0\5\1u\0\32\0\0\0\10\1g\0\1s\0\0\7\1s\0\4\0\0\0:1.7\0\0\0\0",
64}, {"D\32\0\0<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS
Object Introspection
1.0//EN\"\n\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">\n<node>\n
 <interface name=\"org.freedesktop.DBus.Introspectable\">\n    <method
name=\"Introspect\">\n      <arg name=\"data\" direction=\"out\"
type=\"s\"/>\n    </method>\n  </interface>\n  <interface
name=\"org.freedesktop.DBus.Properties\">\n    <method name=\"Get\">\n
     <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n      <arg
name=\"propname\" direction=\"in\" type=\"s\"/>\n      <"..., 6729}],
msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 6793

The next recvmsg for that same file descriptor (23) happens 25 secs
later and it seems to be the response to the interospection because
there is a bunch of data coming down the pipe line (

1289374241.206764 recvmsg(23, {msg_name(0)=NULL,
msg_iov(1)=[{"l\1\0\1\211\0\0\0\33\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/freedesktop/DBus\0\0\0\6\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\2\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\3\1s\0\10\0\0\0AddMatch\0\0\0\0\0\0\0\0\10\1g\0\1s\0\0\204\0\0\0type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.UDisks'\0'\0\0gerUserSettings'\0\0\0l\1\1\1\235\0\0\0\22\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/freedesktop/DBus\0\0\0\6\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\2\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\3\1s\0\v\0\0\0RemoveMatch\0\0\0\0\0\10\1g\0\1s\0\0\230\0\0\0type='signal',sender='org.freedesktop.DBus',interface='org.fr"...,
2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_CMSG_CLOEXEC) = 281

1289374241.207002 recvmsg(23, 0x7fff03705ea0, MSG_CMSG_CLOEXEC) = -1
EAGAIN (Resource temporarily unavailable)

....
....
...




More information about the kde-core-devel mailing list