Closed Bug 983624 Opened 11 years ago Closed 11 years ago

Device continues to vibrate after call missed

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-)

RESOLVED DUPLICATE of bug 983626
blocking-b2g -

People

(Reporter: gerard-majax, Assigned: etienne)

References

Details

(Keywords: regression, Whiteboard: [systemsfe])

When receiving a call, the device starts to vibrate. It never stops. Further calls received augment the vibration. This happens since at least yesterday's build on my Nexus S, master.
Adding the log mentioned on IRC: 13:28 < gerard-majax__> E/GeckoConsole( 703): [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "app://system.gaiamobile.org/js/dialer_ringer.js" line: 153}] It's weird because this._player.pause() worked, but not this._player.currentTime = ... it seems. Hey Paul, are we doing anything wrong?
Flags: needinfo?(paul)
Whiteboard: [systemsfe]
(In reply to Etienne Segonzac (:etienne) from comment #1) > Adding the log mentioned on IRC: > 13:28 < gerard-majax__> E/GeckoConsole( 703): [JavaScript Error: > "InvalidStateError: An attempt was made to use an object that is not, or is > no longer, usable" {file: "app://system.gaiamobile.org/js/dialer_ringer.js" > line: 153}] > > It's weird because this._player.pause() worked, but not > this._player.currentTime = ... it seems. > > Hey Paul, are we doing anything wrong? I opened a separate bug on this: bug 983626 Applying you suggested fix on IRC makes the vibration stopped, but the InvalidStateError still happens. FTR, the diff is: > diff --git a/apps/system/js/dialer_ringer.js b/apps/system/js/dialer_ringer.js index 8194094..9cd3759 100644 > --- a/apps/system/js/dialer_ringer.js > +++ b/apps/system/js/dialer_ringer.js > @@ -149,9 +149,9 @@ > > DialerRinger.prototype._stopAlerting = function dr_stopAlerting() { > this._alerting = false; > + window.clearInterval(this._vibrateInterval); > this._player.pause(); > this._player.currentTime = 0; > - window.clearInterval(this._vibrateInterval); > }; > > exports.DialerRinger = DialerRinger;
nevermind
Flags: needinfo?(paul)
Depends on: fxos-papercuts
No longer depends on: fxos-papercuts
I suspect there is some race condition somewhere: this is reproducing on Nexus S but not on Desire Z, while both are running the same Gecko/Gaia.
Blocks: b2g-nexuss
blocking-b2g: 1.4? → 1.4+
Can we test this on production devices?
Keywords: qawanted
I can't reproduce on my Peak also :(
Tested twice, cannot confirm - it works properly. After caller had terminated call the device stopped to vibrating. Alcatel One Touch Fire production (got from T-mobile Poland) B2G version: 1.4.0.0-prerelease master Platform version: 30.0a1 Build Identifier: 20140314040202 Git commit info: 2014-03-13 17:48:43 ea9e23ab
blocking- - not proven to be reproducible on a production device.
blocking-b2g: 1.4+ → -
Keywords: qawanted
shadeimi, I know you are hacking on Nexus S. Could you help determining whether this comes from my device/profile or if its a generic issue on Nexus S ?
Flags: needinfo?(aniellob)
Will get fixed when bug 983626 lands
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(aniellob)
You need to log in before you can comment on or make changes to this bug.