Closed Bug 1126604 Opened 9 years ago Closed 9 years ago

[Camera][2.2] Continuous tapping on the Video record button eventually results in an error that the video was not recorded

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected, b2g-master unaffected)

RESOLVED DUPLICATE of bug 1152500
2.2 S7 (6mar)
Tracking Status
b2g-v2.2 --- affected
b2g-master --- unaffected

People

(Reporter: gkw, Assigned: dmarcos)

Details

(Whiteboard: [2.2-bug-bash])

Attachments

(7 files)

Gaia-Rev        80d5b797fd0497a7e3337b7798a21b2e1219681a
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/01bf1516a65b
Build-ID        20150127002504
Version         37.0a2
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20150127.041924
FW-Date         Tue Jan 27 04:19:35 EST 2015
Bootloader      L1TC000118D0

Description
Continuous tapping on the Video record button eventually results in an error that the video was not recorded.

Steps to Reproduce
1. Go into Camera app, Video mode. Keep tapping on the Video record button.

Eventually there will be an error that the "Video not recorded. An error prevented Camera from recording the Video."

Reproduction Frequency: Always

Setting needinfo? from the Camera app's module owners, David and Mike. What's the best way to move this forward?
Flags: needinfo?(mikeh)
Flags: needinfo?(dflanagan)
Attached file first logcat
Video of the first logcat is coming up.

(fwiw, at the end of the experiment, there is still at least 1GB of space available, so running out of space is unlikely to be the issue)
Attached video video of second try
The error happens at 8 seconds.
(In reply to Gary Kwong [:gkw] [:nth10sd] from comment #4)
> The error happens at 8 seconds.

and 21 seconds.
There will then be a notification that "Camera & Mic are ON" which only goes away when I close the Camera app.
I think Wilson is likely to know more about what's going on here than djf. I'll take a look as well.
Flags: needinfo?(dflanagan) → needinfo?(wilsonpage)
Summary: Continuous tapping on the Video record button eventually results in an error that the video was not recorded → [Camera] Continuous tapping on the Video record button eventually results in an error that the video was not recorded
I am unable to reproduce this while running:
- gonk  v18d
- gecko b2g-inbound:c09b015679b2
- gaia  master:b9607aef7debbde09a8db801ce4d021b8262e7f3
Flags: needinfo?(mikeh)
Attached file logcat of the error
This does happen on v2.2:
Gaia-Rev        a4c4cc86303a554facb8f45b7e764e5c4473c3de
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/8669c26fd4a5
Build-ID        20150204002509
Version         37.0a2
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  65
FW-Date         Mon Dec 15 18:51:29 CST 2014
Bootloader      L1TC000118D0

The error is reported in the log on lines 12366..12377:

02-04 21:25:43.153  1313  1332 I PRLog   : -1198648720[b24f0980]: CameraControlImpl::OnUserError : aContext='StartRecording' (6), aError=0x80004005
02-04 21:25:43.153  1313  1313 I PRLog   : -1225191084[b444a080]: DOM OnUserError : this=b2715740aContext=6, aError=0x80004005

Unfortunately this is NS_ERROR_FAILURE, the most generic case.
Summary: [Camera] Continuous tapping on the Video record button eventually results in an error that the video was not recorded → [Camera][2.2] Continuous tapping on the Video record button eventually results in an error that the video was not recorded
Filtered version of attachment 8559342 [details].

It looks like the Camera app is calling StartRecording() three times in a row; the second and third calls are failing, and triggering the error message.
I don't have time this week to look into this I'm afraid. Flagging dmarcos and justindarc to see if they have free cycles.
Flags: needinfo?(wilsonpage)
Flags: needinfo?(jdarcangelo)
Flags: needinfo?(dmarcos)
Diego: please investigate

Thanks
Hema
Assignee: nobody → dmarcos
Flags: needinfo?(jdarcangelo)
Target Milestone: --- → 2.2 S7 (6mar)
Mike's analysis indicates this would be fixed by the patches in bug 1152500.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(dmarcos)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: