/usr/sbin/ofonod:11:retry_deactivate:g_timeout_dispatch:g_main_dispatch:g_main_context_dispatch:g_main_context_iterate

Bug #1492483 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ofono (Ubuntu)
Fix Released
High
Alfonso Sanchez-Beato

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding ofono. This problem was most recently seen with version 1.12.bzr6900+15.04.20150724.1-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/43df4bf55fd748577600faae19a8de3b0c3df55d contains more details.

Tags: vivid
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :
Tony Espy (awe)
Changed in ofono (Ubuntu):
status: New → In Progress
assignee: nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato)
importance: Undecided → High
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

The crash happens when we are re-trying to close the connection and the atom gets destroyed with pending callbacks around introduced by g_timeout_add_seconds(). This can happen randomly if we set flight modem and we have just lost coverage some seconds before, for instance.

Revision history for this message
Tony Espy (awe) wrote :

The crash happens because if gprs_context_remove is called and the subsequent send of a DEACTIVATE_CALL fails, then retry_deactivate is added as a timeout callback. When retry_deactivate is invoked two seconds later, the atom data struct ( gprs_context_data ) has already been freed, so retry_deactivate crashes at: /rilmodem/gprs-context.c:line 348:

if (gcd->state == STATE_IDLE) {

Changed in ofono (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono - 1.17.bzr6904+15.10.20150928.1-0ubuntu1

---------------
ofono (1.17.bzr6904+15.10.20150928.1-0ubuntu1) wily; urgency=medium

  [ Alfonso Sanchez-Beato (email Canonical) ]
  * Update to upstream release 1.17
  * Do not assert when the radio is unavailable (LP: #1490991)
  * Fix crash when importing phonebook (LP: #1486004)
  * Check only destination port when receiving push (LP: #1490673)
  * Fix crash when retrying to close context (LP: #1492483)

  [ CI Train Bot ]
  * No-change rebuild.

 -- Alfonso Sanchez-Beato <email address hidden> Mon, 28 Sep 2015 09:27:18 +0000

Changed in ofono (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.