Boot with no SIM and FlightMode enabled, no EmergencyNumbers are available

Bug #1366188 reported by Tony Espy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ofono (Ubuntu)
Fix Released
High
Alfonso Sanchez-Beato
ofono (Ubuntu RTM)
Fix Released
High
Unassigned

Bug Description

This bug is related to bug #1366186.

If a mako is booted with no SIM and FlightMode enabled, the VoiceCallManager interface is not available, therefore the dialer-app cannot read the EmergencyNumber property. This can cause the dialer-app to prevent a user from making an emergency call in this scenario.

This bug is being reported against ofono 1.12.bzr6876+14.10.20140904~rtm-0ubuntu1.

This bug technically exists on krillin too, as none of the interfaces are available when krillin is offline.

Related branches

Tony Espy (awe)
Changed in ofono (Ubuntu):
importance: Undecided → High
Revision history for this message
Tony Espy (awe) wrote :

This is not a regression, as prior to installing the above-mentioned version of ofono, no interfaces are created, including the SimManager which exposes the Present property. Here's the output of list-modems in the same scenario with the prior version:

[ /ril_0 ]
    Type = hardware
    Features =
    Lockdown = 0
    Emergency = 0
    Model = Fake Modem Model
    Serial = 355136052481127
    Online = 0
    Manufacturer = Fake Manufacturer
    Revision = M9615A-CEFWMAZM-2.0.1700.98
    Powered = 1
    Interfaces =

Tony Espy (awe)
description: updated
Tony Espy (awe)
Changed in ofono (Ubuntu):
status: New → Confirmed
Revision history for this message
Tony Espy (awe) wrote :
Tony Espy (awe)
Changed in ofono (Ubuntu):
assignee: nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato)
status: Confirmed → In Progress
Tony Espy (awe)
description: updated
Tony Espy (awe)
tags: added: rtm14 touch-2014-09-18
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.12.bzr6878+14.10.20140926-0ubuntu1

---------------
ofono (1.12.bzr6878+14.10.20140926-0ubuntu1) 14.09; urgency=medium

  [ Alfonso Sanchez-Beato ]
  * include, plugins/mtk.c, src/modem.c,sim.c: Fix PUK crash (LP: #1365481)
    If the SIM gets locked in particular sequence, ofono will crash
    while trying to free the list of SIM SPN watch events ( which
    have already been freed ). MTK fix is a bit more involved than
    the stanard RIL logic.

  * plugins/mtk.c,ril.c: Show emergency numbers in flight-mode (LP: #1366188)
    Modify plugin logic to create the SimManager interface even if
    no SIM is present.

  * gril, unit: fix indicator-network crash (LP: #1368675)
    RIL defines a set of network registration states for emergency
    calling that don't map directly to ofono's states. This results
    in NetworkRegistration Status not being set at all, which in
    turn crashes the indicator.

  * rilmodem/gprs.c: fix crash due to stale timer event (LP: # 1373351)
    A 5s timer is set to retry a STATUS request to RIL, however if
    FlightMode is enabled, the gprs atom is destroyed, and the pending
    timer callback has a stale gprs reference. Now the timer id is
    stored, and when the atom destroyed, the timer event is cancelled.

  * mtkmodem/radio-setttings.c: fix RadioSettings creation (LP: #1374029 )
    If the MTK modem returns a RADIO_NOT_AVAIL error in response
    to a FastDormany RIL request, the RadioSetting initialization
    callback sequence is broken, and thus the RadioSettings interface
    isn't created. This in turn prevents powerd from enabling
    FastDorancy whenever the screen is turned off, and also has
    implications for system-settings too.

  [ Tony Espy ]
  * plugins/ubuntu-apndb.c: allow MMS APNs w/out proxy (LP: #1362008)
    Prior to this change, MMS APNs w/out a proxy were skipped.
    Now APNs are skipped if message center is missing, which makes
    more sense.

  [ Ubuntu daily release ]
  * New rebuild forced

ofono (1.12.bzr6876+14.10.20140904-0ubuntu1) utopic; urgency=medium

  [ Jussi Kangas ]
  * src/gprs.c: Fix to allow MMS properties to be set (LP: #1362068)

  [ Tony Espy ]
  * rilmodem/sim.c: Fix EnterPIN logic (LP: #1363413)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Fri, 26 Sep 2014 17:34:10 +0000

Changed in ofono (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Tony Espy (awe) wrote :

This was fixed in version:

1.12.bzr6878+14.10.20140926-0ubuntu1

...which has been released to RTM, and is awaiting migration from -proposed in utopic.

Changed in ofono (Ubuntu RTM):
status: New → Fix Released
importance: Undecided → High
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.