Closed Bug 963417 Opened 10 years ago Closed 6 years ago

[Tarako][Camera] Rapidly repeat taking pictures causes non-reponse

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:-, b2g-v1.3T affected)

RESOLVED WONTFIX
blocking-b2g -
Tracking Status
b2g-v1.3T --- affected

People

(Reporter: llin, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [c=handeye p= s= u=tarako])

Attachments

(1 file)

Open Camera app and repeat tapping "shutter" button quickly can reproduce the issue.
Usually, it happens at 3rd or 4th times. But, if more quickly you tap, it can be hanged at the first time.
Brian, could you confirm if this is still valid?
Flags: needinfo?(bhuang)
Flags: needinfo?(bhuang) → needinfo?(brhuang)
Mike, please help to clarify this.
Flags: needinfo?(brhuang) → needinfo?(mlien)
Attached file logcat.txt
I can reproduce this issue with below build
Gaia      4179695bac2cbc7b39062de9b80f658f77738fd6
Gecko     4571a19ce8a14bcf90141529a78b9354ce344b58
Version   28.0

But it's hard to reproduce
You must tap shutter very quickly
If cannot reproduce it, back to homescreen and launch camera again to repeat steps

My reproduce rate: 2/7
Flags: needinfo?(mlien)
I tested on following build today and the reproduce rate is very high 4/5.

Build ID: 20140313135844
Gecko: d400d3a715c7c90291596b32412be56f46f2293e
Gaia: 7329446974f0ea3b14d61bd38f205eb17a5ce62d
I think the camera memory is not enough for hardware rotation.
If gallery image editor support rotation, I can disable camera hardware rotation on my side.
blocking-b2g: --- → 1.3T?
Depends on: 980914
(In reply to James Zhang from comment #5)
> I think the camera memory is not enough for hardware rotation.
> If gallery image editor support rotation, I can disable camera hardware
> rotation on my side.

Sorry for my mistake.
If gallery image editor support exif data, I can disable camera hardware rotation on my side.
Can't we just disable the button until we are done processing?
Depends on: 798684
James, from Steven, it seems like you will disable camera hardware rotation. lets test again after you disable camera hardware rotatation. thanks 

since you have to intentionally trying to break it, minus
blocking-b2g: 1.3T? → -
Flags: needinfo?(james.zhang)
TARGET_BOARD_CAMERA_ROTATION_CAPTURE := false
Flags: needinfo?(james.zhang)
Is this bug still exist in latest build ?
This issue still exist in the latest build but it's hard to reproduce

Gaia      f6a7afd0d716f7a38dfc1808ee0aab3e06ba2f1d
Gecko     fb7149d9b320d939d716011f865ec34661ebc353
BuildID   20140326061134
Version   28.1

Reproduce Rate: 2/7
Keywords: perf
Whiteboard: [Memshrink]
Priority: -- → P1
Whiteboard: [Memshrink] → [MemShrink][c=handeye p= s= u=]
Priority: P1 → P2
Whiteboard: [MemShrink][c=handeye p= s= u=] → [c=handeye p= s= u=]
Whiteboard: [c=handeye p= s= u=] → [c=handeye p= s= u=tarako]
Tested:
- gonk:  v184 (flame w/ 319MB)
- gecko: aurora:c4a4b04c617c
- gaia:  v2.1:778ebac47554e1c4b7e9a952d73e850f58123914

Observed: camera successfully takes all pictures, remains responsive.

No-Jun, do you have a Tarako? If so, can you test whether or not this still occurs using our most recent 1.3T builds for it?
Flags: needinfo?(npark)
I cannot reproduce this issue in the latest version of Tarako.  It seems that the phone ignores inputs made between the shots.  App operates normally.

Gaia-Rev        265776c72f3be59ca6915a0c7d83bfdd42281f26
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/e0736eefd86d
Build-ID        20141010014004
Version         28.1
Device-Name     sp6821a_gonk
FW-Release      4.0.4.0.4.0.4
FW-Incremental  252
FW-Date         Sat Apr 26 13:25:50 CST 2014
Flags: needinfo?(npark)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: