Closed Bug 924036 Opened 11 years ago Closed 11 years ago

crash in mozilla::DOMCameraPreview::Start

Categories

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

ARM
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bhargavg1, Assigned: mikeh)

Details

(Keywords: crash, Whiteboard: [JIRA:1867][b2g-crash])

Crash Data

Attachments

(1 file)

When the following tests are run continuously overnight

Call -> Camera -> Camcorder -> Video -> Music -> Airplance

seeing a crash in mozilla::DOMCameraPreview::Start

BuildID: 20130930193354 
Version: 26.0a2
blocking-b2g: --- → koi?
Whiteboard: [JIRA:1867]
Component: Gaia::Camera → General
Keywords: crash
Whiteboard: [JIRA:1867] → [JIRA:1867][b2g-crash]
Can you attach a logcat, please?
Flags: needinfo?(bhargavg1)
(In reply to Jason Smith [:jsmith] from comment #1)
>
> Example Socorro crash report -
> https://crash-stats.mozilla.com/report/index/07986ff3-c3a7-44f4-a75e-
> 3cc9d2131004.

Comment 0 says 26.0a2, but the crash reports above say 18.0.
the file is too huge as the logs are from overnight run. Shared the logs 

https://docs.google.com/file/d/0B0zTAnPOpx-xcnJaWFJLV0NaaEU/edit?usp=sharing
Flags: needinfo?(bhargavg1)
(In reply to bhargavg1 from comment #0)
>
> When the following tests are run continuously overnight
> 
> Call -> Camera -> Camcorder -> Video -> Music -> Airplance
> 
> seeing a crash in mozilla::DOMCameraPreview::Start

This looks identical to the crash in bug 924039 -- my 1st-order guess is heap corruption. To clarify, please confirm that the STR are:
1. open the Phone app
2. make a phone call
3. while the phone call is active, switch to the Homescreen and launch the Camera app
4. switch the Camera app to Video mode (and start recording a video?)
5. switch to the Homescreen and launch the Music app
6. switch to the Homescreen and "Airplance" (I don't know what this is--Airplane Mode?)
Flags: needinfo?(bhargavg1)
I looked through the logcat and don't see anything obviously wrong. The only SIGs in the log are SIGTERMs,received by dnsmasq:

44363:10-03 15:25:35.879  3247  3247 I dnsmasq : exiting on receipt of SIGTERM
  ...
6772074:10-03 19:36:13.049 14058 14058 I dnsmasq : exiting on receipt of SIGTERM
(In reply to Mike Habicher [:mikeh] from comment #5)
> (In reply to bhargavg1 from comment #0)
> >
> > When the following tests are run continuously overnight
> > 
> > Call -> Camera -> Camcorder -> Video -> Music -> Airplance
> > 
> > seeing a crash in mozilla::DOMCameraPreview::Start
> 
> This looks identical to the crash in bug 924039 -- my 1st-order guess is
> heap corruption. To clarify, please confirm that the STR are:
> 1. open the Phone app
> 2. make a phone call
> 3. while the phone call is active, switch to the Homescreen and launch the
> Camera app
> 4. switch the Camera app to Video mode (and start recording a video?)
> 5. switch to the Homescreen and launch the Music app
> 6. switch to the Homescreen and "Airplance" (I don't know what this
> is--Airplane Mode?)

Airplane mode is where all the radios are turned off. Need to check with the test team for exact test procedure

bug 924039 has also similar test case running when the crash happened
Flags: needinfo?(bhargavg1)
(In reply to Mike Habicher [:mikeh] from comment #5)
> (In reply to bhargavg1 from comment #0)
> >
> > When the following tests are run continuously overnight
> > 
> > Call -> Camera -> Camcorder -> Video -> Music -> Airplance
> > 
> > seeing a crash in mozilla::DOMCameraPreview::Start
> 
> This looks identical to the crash in bug 924039 -- my 1st-order guess is
> heap corruption. To clarify, please confirm that the STR are:
> 1. open the Phone app
> 2. make a phone call
> 3. while the phone call is active, switch to the Homescreen and launch the
> Camera app
> 4. switch the Camera app to Video mode (and start recording a video?)
> 5. switch to the Homescreen and launch the Music app
> 6. switch to the Homescreen and "Airplance" (I don't know what this
> is--Airplane Mode?)

The test procedure being followed,

1. Make call and end the call -
2. Open camera and take pictures. (Take for 5 snapshots, will vary this number usually, it will be between 5 to 10)
3. Open camcorder and record videos.
4. Open music and play music.
5. Now open video and play video.

Steps from 1 -> 5 run continuously overnight
(In reply to bhargavg1 from comment #8)
> 
> 1. Make call and end the call -
> 2. Open camera and take pictures. (Take for 5 snapshots, will vary this
> number usually, it will be between 5 to 10)
> 3. Open camcorder and record videos.
> 4. Open music and play music.
> 5. Now open video and play video.
> 
> Steps from 1 -> 5 run continuously overnight

Can you whittle that down to a minimal set of STR? i.e. does it happen if you just repeat steps 2 and 3?
Flags: needinfo?(bhargavg1)
Component: General → Gaia::Camera
I'm pretty sure this isn't a Gaia bug. My first-pass guess is memory corruption, or a double-free. (And I'm pretty sure bug 924039 is a dupe.)
Component: Gaia::Camera → General
QA,

Once we get a patch for bug 924039 please check if this bug has been fixed as well.
Keywords: qawanted
(In reply to Preeti Raghunath(:Preeti) from comment #11)
> QA,
> 
> Once we get a patch for bug 924039 please check if this bug has been fixed
> as well.

I think it's too early to flag that. The other bug doesn't have a patch yet. If mikeh is sure this is a dupe, then let's flag it as such.
Keywords: qawanted
Giving in (for now); this is very-likely not a Gaia bug, but Gaia::Camera matches current queries.
Component: General → Gaia::Camera
Mike,

Assigning this bug to you since you were actively working on it.
Assignee: nobody → mhabicher
Can I get a koi+ on this one too, please?
jst,

Please take a look for expertise
Flags: needinfo?(jst)
Dont see this happening any of the latest AUs
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(bhargavg1)
Resolution: --- → WORKSFORME
Clearing needinfo as this is apparently not an issue any more. If it is, please request needinfo again.
Flags: needinfo?(jst)
blocking-b2g: koi? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: