Closed Bug 855036 Opened 12 years ago Closed 12 years ago

crash in JSAutoCompartment::JSAutoCompartment

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(blocking-b2g:-, firefox22 affected, b2g18+ unaffected)

VERIFIED FIXED
B2G C4 (2jan on)
blocking-b2g -
Tracking Status
firefox22 --- affected
b2g18 + unaffected

People

(Reporter: nhirata, Assigned: mrbkap)

Details

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

Crash Data

Attachments

(2 files, 1 obsolete file)

This bug was filed from the Socorro interface and is report bp-7f438f78-c6f0-4f18-bc82-ad82f2130326 . ============================================================= STR : 1. launch camera 2. leave it alone for 10 seconds Expected: no crash Actual: crash Master build : 2013-03-26-07-02-04 "mozilla-central" revision="28b048ffb7a7" "integration/gaia-central" revision="44f6a17f24d4" "gecko.git"revision="a800f14ea7022a78966f7fe14a9b0d11c569b151" "gaia.git" revision="ace1eb32a313da1232bbdf9cff2581a4b036356d"
Attached file logcat
logcat attached.
Looks like this only occurs on Master
blocking-b2g: --- → leo?
It's likely bug 852436.
Hardware: All → ARM
Whiteboard: [b2g-crash]
(In reply to Naoki Hirata :nhirata from comment #2) > Looks like this only occurs on Master Doesn't block, in that case.
Assignee: nobody → mrbkap
blocking-b2g: leo? → -
tracking-b2g18: --- → +
Probably a dupe of bug 854025 and/or bug 852436
Naoki, does it still happen in the latest Nightly?
Flags: needinfo?(nhirata.bugzilla)
Yes, this crash still does occur with the latest Master/MC build: Master build : 2013-04-03-03-09-39 name="mozilla-central" revision="97cfc16ba5dc" name="integration/gaia-central" revision="87f388cd8a2b" "gecko.git" revision="c9029081bedc93372d0e15e66d89c81bf74c1fd0" "gaia.git" revision="30f22a3f669779b30efdc09c6ad3f9e6476b988f" https://crash-stats.mozilla.com/report/index/e4c0c837-3973-46a3-a2b7-18d022130403
Flags: needinfo?(nhirata.bugzilla)
Attached patch FixSplinter Review
On trunk, at least, there's no need to enter a compartment when we are about to use a string. Treating the value as an object is what's crashing.
Attachment #733012 - Flags: review?(anygregor)
Attachment #733012 - Flags: review?(anygregor) → review+
Attached patch Patch for the b2g branch (obsolete) — Splinter Review
The b2g18 patch is significantly different than the trunk patch. [Approval Request Comment] User impact if declined: Parent process crashes randomly. Risk to taking this patch (and alternatives if risky): Low.
Attachment #733054 - Flags: review?(anygregor)
Attachment #733054 - Flags: approval-mozilla-b2g18?
Comment on attachment 733054 [details] [diff] [review] Patch for the b2g branch Actually, this won't crash on b2g18, so it isn't worth taking the patch.
Attachment #733054 - Attachment is obsolete: true
Attachment #733054 - Flags: review?(anygregor)
Attachment #733054 - Flags: approval-mozilla-b2g18?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → B2G C4 (2jan on)
Master build : 2013-04-05-03-05-43 name="mozilla-central" revision="55f9e3e3dae7" name="integration/gaia-central" revision="2005e026bdae" "gecko.git" revision="66b64f47a4eac1bd4f5ea6748b42ddf732297550" "gaia.git" revision="15468abcba0dd2549f0c102df887a5c049b9c641" Unagi
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: