Open Source Telephony
 help / color / mirror / Atom feed
From: Brian Ruptash <bruptash@gmail.com>
To: ofono@ofono.org
Subject: RE: No D-Bus Reply to Activating Context
Date: Mon, 17 Feb 2014 09:40:25 +0100	[thread overview]
Message-ID: <009101cf2bbb$e7eb4cf0$b7c1e6d0$@gmail.com> (raw)
In-Reply-To: <52FA5B6B.6020106@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]

> > 09:20:42.611 gprs.c:863    pri_activate_callback
> > Activating context failed with error: Unknown error type
> 
> Looking at that line, we are sending a reply right after printing the
> message.  In case the message is NULL, you'd most likely crash inside
> D-Bus or get an assertion of some kind.
> 
> The pending variable is also not messed with anywhere else, so you
> should be getting a reply.
> 
> The only thing I can suggest is to try and simulate this behavior with
> phonesim and see if you can duplicate / debug it.

I traced the log and code and agree, which is why I can't understand why
the D-Bus reply is either not sent or perhaps not received, though it
only occurs in this particular sequence and is the only case a method
return is ever "lost".  dbus has a bug in that dbus-monitor can't trace
method returns, so I can't easily see what's happenning especially as
it's quite sporadic.

So I punted... I upgraded from ofono 1.12 to 1.14 which has a significant
overhaul to gdbus, though I can't find anything in the ofono mailing list
that explains what or why.  And I'll see if the issue persists.

> Regards,
> -Denis

Thanks, Denis.

-- Brian



      reply	other threads:[~2014-02-17  8:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-11 12:32 No D-Bus Reply to Activating Context Brian Ruptash
2014-02-11 17:18 ` Denis Kenzior
2014-02-17  8:40   ` Brian Ruptash [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='009101cf2bbb$e7eb4cf0$b7c1e6d0$@gmail.com' \
    --to=bruptash@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox