Closed Bug 1250188 Opened 8 years ago Closed 8 years ago

Phone will freeze after taking a picture in camera

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.5 unaffected, b2g-master fixed)

VERIFIED FIXED
Tracking Status
b2g-v2.5 --- unaffected
b2g-master --- fixed

People

(Reporter: AdamA, Unassigned)

References

()

Details

(Keywords: regression, smoketest, Whiteboard: [2.6-Daily-Testing][Spark])

Attachments

(1 file)

Description:
After taking a picture in camera the phone will freeze. This will usually occur after the first picture is taken but it has sometimes occurred after the second or third picture. Sometimes after a while the phone will recover enough to update the screen for a moment and freeze again. We have also seen the phone restarting and the camera app crashing on rare occasions after the freeze occurs. 

Repro Steps:
1) Update a Aries to 20160222133739
2) Open Camera
3) Take multiple pictures 
4) Observe Phone freeze.

Actual:
The phone freezes

Expected:
It is expected that the phone is usable after taking a picture

Environmental Variables:
Device: Aries 2.6 [Full Flash]
Build ID: 20160222133739
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: 789a12291942763bc1e3a89f97e0b82dc1c9d00b
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 47.0a1 (2.6)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0

Repro frequency: 9/10
See attached: video clip, logcat
This issue DOES occur on Flame 2.6.

Environmental Variables:
Device: FlameKK 2.6 [Full Flash][512mb]
BuildID: 20160222030239
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: e1cf617a1f2813b6cd66f460313a61c223406c9b
Gonk: 8a066f7fa7410e32b58def35f322aa33f03db283
Version: 47.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0

Result:
The phone freezes after taking pictures.
-----------------------------------
This issue DOES NOT occur on Aries 2.5.

Environmental Variables:
Device: Aries 2.5 [Full Flash]
BuildID: 20160216002303
Gaia: 28880004bc5cd6e129d0a23b701a389753788ed0
Gecko: 9d519d3bedacb7f5ce467f4c6bef7ff55ff3b0f3
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 44.0 (2.5) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0

Result:
The camera doesn't freeze after taking pictures.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Flags: needinfo?(jmercado)
This is a sanity blocker.  Finding a regression window.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage?][severe]
Flags: needinfo?(jmercado)
QA Contact: jmercado
Flags: needinfo?(fabrice)
The changes for Bug 1245241 seem to have caused this issue.  

B2g-inbound Regression Window

Last Working 
Environmental Variables:
Device: Flame 2.6
BuildID: 20160218074827
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: edd76ca3717f581c9c827396160b4e807fbcb781
Version: 47.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0

First Broken 
Environmental Variables:
Device: Flame 2.6
BuildID: 20160218075733
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: 94f9bb9e325342ef86c534a14a651060d76bd8b4
Version: 47.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0

Last Working gaia / First Broken gecko - Issue DOES occur
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: 94f9bb9e325342ef86c534a14a651060d76bd8b4

First Broken gaia / Last Working gecko - Issue does NOT occur
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: edd76ca3717f581c9c827396160b4e807fbcb781

Gaia Pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=edd76ca3717f581c9c827396160b4e807fbcb781&tochange=94f9bb9e325342ef86c534a14a651060d76bd8b4
Blocks: 1245241
Flags: needinfo?(lsalzman)
Lee can you please take a look at this issue?
Sotaro, can you check and see if you can reproduce the issue, and if this patch fixes it:
https://bugzilla.mozilla.org/attachment.cgi?id=8722108
Flags: needinfo?(lsalzman) → needinfo?(sotaro.ikeda.g)
I confirmed the symptom on aries and the patch fixed the freeze :)
Flags: needinfo?(sotaro.ikeda.g)
(In reply to Sotaro Ikeda [:sotaro] from comment #6)
> I confirmed the symptom on aries and the patch fixed the freeze :)

Okay, this patch was committed as part of the follow-up to bug 1245241.

Can reporter confirm if the following patch that is now in central helps: https://hg.mozilla.org/mozilla-central/rev/23a64d29029c

If so, we can resolve this as a dup.
Flags: needinfo?(aalldredge)
This issue does not appear to be occurring any more in the latest Flame 2.6 and Aries 2.6.

Environmental Variables:
Device: Aries 2.6 [Full Flash]
BuildID: 20160224110426
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: d848a5628d801a460a7244cbcdea22d328d8b310
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 47.0a1 (2.6) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0

Device: FlameKK 2.6 [Full Flash][512mb]
BuildID: 20160224030510
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: d50ab673e9a16a34cee1124779d722225e9abbe7
Gonk: 8a066f7fa7410e32b58def35f322aa33f03db283
Version: 47.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0

Result:
Camera doesn't freeze after taking picture.
Flags: needinfo?(aalldredge)
(In reply to Adam Alldredge [:AdamA] from comment #8)
> This issue does not appear to be occurring any more in the latest Flame 2.6
> and Aries 2.6.
> 
> Environmental Variables:
> Device: Aries 2.6 [Full Flash]
> BuildID: 20160224110426
> Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
> Gecko: d848a5628d801a460a7244cbcdea22d328d8b310
> Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
> Version: 47.0a1 (2.6) 
> Firmware Version: D5803_23.1.A.1.28_NCB.ftf
> User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0
> 
> Device: FlameKK 2.6 [Full Flash][512mb]
> BuildID: 20160224030510
> Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
> Gecko: d50ab673e9a16a34cee1124779d722225e9abbe7
> Gonk: 8a066f7fa7410e32b58def35f322aa33f03db283
> Version: 47.0a1 (2.6) 
> Firmware Version: v18D
> User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0
> 
> Result:
> Camera doesn't freeze after taking picture.

Okay, can we resolve this as fixed? I'm pretty sure it was just the bug about properly closing the Android file handles, of which the fix is now landed in central. So this should all be well.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(ktucker)
Resolution: --- → FIXED
This issue is verified fixed on the latest Flame 2.6 or Aries 2.6.

Environmental Variables:
Device: Aries 2.6 [Full Flash]
BuildID: 20160224110426
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: d848a5628d801a460a7244cbcdea22d328d8b310
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 47.0a1 (2.6) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0

Device: FlameKK 2.6 [Full Flash][512mb]
BuildID: 20160224030510
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: d50ab673e9a16a34cee1124779d722225e9abbe7
Gonk: 8a066f7fa7410e32b58def35f322aa33f03db283
Version: 47.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:47.0) Gecko/47.0 Firefox/47.0

Result:
Camera doesn't freeze after taking picture.
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage?][severe] → [QAnalyst-Triage+][severe]
Flags: needinfo?(fabrice)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: