Closed
Bug 815368
Opened 12 years ago
Closed 12 years ago
Wifi connection randomly drops in otoro while device is unlocked and not idle (Can't finish "MW0: Every app is successfully launched into the foreground")
Categories
(Firefox OS Graveyard :: Gaia::System, defect, P2)
Tracking
(blocking-basecamp:+)
People
(Reporter: cjones, Assigned: vchang)
Details
(Keywords: regression, Whiteboard: [target:12/21])
Attachments
(1 file)
51.48 KB,
text/plain
|
Details |
Follow the STR in https://wiki.mozilla.org/B2G/Memory_acceptance_criteria#W0:_Every_app_is_successfully_launched_into_the_foreground_.5BBLOCKED.5D . Basically, load a bunch of apps after unlocking the device.
The wifi connection randomly drops out while the screen is on and the device is not idle. Wifi comes back on if I lock the device, wait for it to suspend, and then unlock it again.
These regressions are really hurting :(.
Reporter | ||
Comment 1•12 years ago
|
||
This seems to correlate with the "4 updates are available" notification from the gaia system tray. After the notification, the wifi "quick setting" in the system tray is disabled.
Reporter | ||
Updated•12 years ago
|
Component: DOM: Device Interfaces → Gaia
Product: Core → Boot2Gecko
Comment 2•12 years ago
|
||
I reproduced something very much like this bug, except that my wifi came back up after dying. Looking at the logcat, it looks like we jump straight to the CONNECTED state, but then replay the state changes that we went through to get there. That's really weird, and I don't understand how that's possible. Finally, as a result of all of the state changes, we disconnect and then the supplicant crashes (?) I don't see any reason why, though.
Comment 3•12 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #1)
> This seems to correlate with the "4 updates are available" notification from
> the gaia system tray. After the notification, the wifi "quick setting" in
> the system tray is disabled.
Gaia's UpdateManager does request/release a wake lock on wifi but only during the actual download of updates [1] so shouldn't have any influence here.
That said the notification is shown 30 seconds after gecko is done checking for updates [2] which may correspond to a wifi-related delay and cause the correlation.
[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/update_manager.js#L294
[2] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/update_manager.js#L244-255
Reporter | ||
Updated•12 years ago
|
Summary: Wifi connection randomly drops in otoro while device is unlocked and not idle (Can't finish "W0: Every app is successfully launched into the foreground") → Wifi connection randomly drops in otoro while device is unlocked and not idle (Can't finish "MW0: Every app is successfully launched into the foreground")
Updated•12 years ago
|
blocking-basecamp: ? → +
Priority: -- → P2
Updated•12 years ago
|
Assignee: nobody → mrbkap
Updated•12 years ago
|
Component: Gaia → Gaia::System
Comment 4•12 years ago
|
||
Mass Modify: All un-milestoned, unresolved blocking-basecamp+ bugs are being moved into the C3 milestone. Note that the target milestone does not mean that these bugs can't be resolved prior to 12/10, rather C2 bugs should be prioritized ahead of C3 bugs.
Target Milestone: --- → B2G C3 (12dec-1jan)
Updated•12 years ago
|
Keywords: regression
Whiteboard: [target:12/21]
Reporter | ||
Comment 6•12 years ago
|
||
I don't know, because the tests are so broken for other reasons that I can't complete them.
Flags: needinfo?(jones.chris.g)
Comment 7•12 years ago
|
||
I cannot complete the test either, but wifi works all the way ... should we close as WFM?
Assignee | ||
Comment 8•12 years ago
|
||
I am trying to verify if this might related to the bug where supplicant.conf was messed up somehow. So I fix the wifi code to disable a network on shutdown wifi and save the configuration to wpa_supplicant.conf. But I don't see supplicant crashes on start up next time.
If I click the wifi settings button quickly, I found the button was grayed out and couldn't be clicked anymore. The quick solution is adding
gWifiCheckBox.disabled = true in gWifiCheckBox.onchange() in gaia/apps/settings/wifi.js.
Comment 9•12 years ago
|
||
Given comment 8, I'm going to hand this off to vchang.
Assignee: mrbkap → vchang
Assignee | ||
Comment 10•12 years ago
|
||
Is it still a problem since bug 820702 is landed ?
Flags: needinfo?(jones.chris.g)
Reporter | ||
Comment 11•12 years ago
|
||
I don't reproduce this anymore, but we've changed the timing of update polling so I can't be sure this bug is actually fixed. But I can't reproduce anymore.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(jones.chris.g)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•