No Wi-Fi on Nexus 4 (org::ofono::Interface::NetworkRegistration::str2status(std::string): Unknown status '')
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-network (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
network-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ofono (Ubuntu) |
Fix Released
|
Critical
|
Alfonso Sanchez-Beato | ||
ofono (Ubuntu RTM) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Ubuntu Touch 14.10 r235, LG Nexus 4
1. Open the Network menu.
2. Navigate to System Settings > "Wi-Fi".
What happens:
1. The Network menu contains only the word "Empty!" No Wi-Fi switch, no Wi-Fi Settings item, no Cellular Settings item, nothing. (The "Empty!" wording is bug 1350952, but this isn't about the wording.)
2. The screen contains only "Previous networks" and (as long as bug 1365960 isn't fixed) "Other network".
What should happen:
1. A Wi-Fi switch is present.
2. A Wi-Fi switch is present.
phablet@
ModemManager:
void SimUnlockDialog
Unknown Interface: org.ofono.
void org::ofono:
org::ofono:
Segmentation fault (core dumped)
Related branches
- Tony Espy: Approve
- Sergio Schvezov: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 674 lines (+295/-62)14 files modifieddebian/changelog (+41/-0)
drivers/mtkmodem/radio-settings.c (+7/-1)
drivers/rilmodem/gprs.c (+9/-1)
drivers/rilmodem/gprs.h (+1/-0)
gril/gril.c (+2/-2)
gril/grilreply.c (+45/-7)
gril/ril_constants.h (+12/-0)
include/modem.h (+4/-0)
plugins/mtk.c (+115/-36)
plugins/ril.c (+8/-12)
plugins/ubuntu-apndb.c (+1/-1)
src/modem.c (+14/-1)
src/sim.c (+1/-1)
unit/test-grilreply.c (+35/-0)
description: | updated |
description: | updated |
summary: |
- No Wi-Fi on Nexus 4 (Mako) + No Wi-Fi on Nexus 4 + (org::ofono::Interface::NetworkRegistration::str2status(std::string): + Unknown status '') |
Changed in ofono (Ubuntu): | |
assignee: | nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato) |
Changed in ofono (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ofono (Ubuntu): | |
status: | In Progress → Fix Committed |
This is about ofono setting an invalid value to the NetworkRegistration Status property.
The reason why indicator-network seems to crash here is that I'm intentionally throwing an exception that nobody will catch and cause the service to generate an apport report so that:
- A) if the indicator is not handling all the valid values coming from ofono we need to know about it
- B) to catch exactly these kind of API violations coming from our ofono implementation.