Closed Bug 828195 Opened 11 years ago Closed 11 years ago

[System] Toggle airplane mode multiple times will hang the phone

Categories

(Firefox OS Graveyard :: Gaia::System, defect, P2)

All
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
B2G C4 (2jan on)
blocking-basecamp +

People

(Reporter: kanru, Assigned: jj.evelyn)

Details

Attachments

(1 file)

this is very bad.
Toggling airplane mode will cause SIM card state change, which is handled by sim_lock.js#65 in system app. The EventListener didn't remove correctly in line#78, so the EventListener exponentially increased, that cause the problem.
Assignee: nobody → ehung
Attachment #699759 - Flags: review?(timdream+bugs)
IMO, we could bb+ this one.
Comment on attachment 699759 [details]
point to https://github.com/mozilla-b2g/gaia/pull/7434

r=me, explained offline.
Attachment #699759 - Flags: review?(timdream+bugs) → review+
STR:

 1. Open settings
 2. Continuously toggle airplane mode

Actually result:

 Eventually the b2g process will eat 100% CPU resource
Another reason for nominating this bug is that it solves two other blockers: Bug 827244 and bug 827246
blocking-basecamp: ? → +
Priority: -- → P2
Target Milestone: --- → B2G C4 (2jan on)
https://github.com/mozilla-b2g/gaia/commit/53fc61e659fb900295ef1e292bda1267041d43b1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
verified on unagi, Build Id:2013113070202
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: