From: Aki Niemi <aki.niemi@nokia.com>
To: ofono@ofono.org
Subject: Re: ISI crash when disconnecting N900 from USB
Date: Tue, 19 Oct 2010 11:29:56 +0300 [thread overview]
Message-ID: <1287476996.30781.68.camel@tucson> (raw)
In-Reply-To: <1286942752.3425.2.camel@aeonflux>
[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]
On Wed, 2010-10-13 at 06:05 +0200, ext Marcel Holtmann wrote:
> -------- backtrace --------
> [0]: isi_registration_status() [network-registration.c:271]
> [1]: set_auto_resp_cb() [network-registration.c:535]
> [2]: g_isi_cleanup_req() [client.c:241]
> [3]: g_isi_client_destroy() [client.c:310]
> [4]: isi_netreg_remove() [network-registration.c:974]
> [5]: netreg_remove() [network.c:1724]
> [6]: flush_atoms() [modem.c:350]
> [7]: ofono_modem_set_powered() [modem.c:794]
> [8]: report_powered() [isigen.c:77]
> [9]: g_pn_nl_link() [netlink.c:203]
> [10]: main() [main.c:240]
> [11]: _start() [audio-settings.c:0]
It looks like there was an ongoing registration attempt when you
disconnected the USB cable. The isimodem driver cleans up that pending
registration request, and in doing so, calls the atom's registration
callback indicating a failure.
However, in that callback, the netreg atom makes a new query for current
registration state, and that is what is crashing the isimodem driver.
The driver shouldn't try to initiate any more ISI requests, as it is in
the process of being removed.
I'll push a fix shortly.
Cheers,
Aki
prev parent reply other threads:[~2010-10-19 8:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 4:05 ISI crash when disconnecting N900 from USB Marcel Holtmann
2010-10-19 8:29 ` Aki Niemi [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=1287476996.30781.68.camel@tucson \
--to=aki.niemi@nokia.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.