Wierd interaction between calls to the bus and subsiqent
Pending Calls
Havoc Pennington
hp at redhat.com
Fri Dec 16 19:00:54 PST 2005
On Fri, 2005-12-16 at 17:30 -0500, John (J5) Palmieri wrote:
> On Fri, 2005-12-16 at 17:19 -0500, John (J5) Palmieri wrote:
>
> >
> > hmm interesting running with DBUS_VERBOSE on I think I just caught the
> > problem but have no idea what is causing it. It shows that we enter
> > block_pending_call but then immediately after it shows a call to
> > send_with_reply_and_block. This is what most likely blocks us for 25
> > seconds. I can't fathom why it is doing that.
>
> Another red herring. D-Bug message is wrong in block_pending_call. It
> prints out the send_with_reply_and_block message. At any rate we block
> in a poll at that point and I can't even hit ctrl-c to kill the app.
> Perhaps we already got a reply but the check isn't working so we sit on
> the socket waiting?
Could be. If you figure out what code path is supposed to happen and put
debug spew along it, you could see what part of the path doesn't happen.
If you make a C debug case I'll have a look.
Havoc
More information about the dbus
mailing list