Closed Bug 866781 Opened 11 years ago Closed 11 years ago

Camcorder crashes after recording finished

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: diego, Unassigned)

References

Details

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

The crash is 100% reproducible on inari. Probably related to the layer refactoring.


#0  0x41d4bd36 in mozalloc_abort (msg=<value optimized out>)
    at /local/mnt/workspace/dwilson/master/gecko/memory/mozalloc/mozalloc_abort.cpp:30
#1  0x41d4bd4c in abort ()
    at /local/mnt/workspace/dwilson/master/gecko/memory/mozalloc/mozalloc_abort.cpp:39
#2  0x41d4bd4c in abort ()
    at /local/mnt/workspace/dwilson/master/gecko/memory/mozalloc/mozalloc_abort.cpp:39
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Unfortunately this stack only tells us that abort() was called.

Maybe try breaking on abort and __abort to hopefully get a better stack?

Any particular reason why you think that this might be related to the layer refactoring?
(In reply to Benoit Jacob [:bjacob] from comment #1)
> Unfortunately this stack only tells us that abort() was called.
> 
> Maybe try breaking on abort and __abort to hopefully get a better stack?
>
 
Yeah, I know it's not that helpful :( This is what I get when gdb traps the exception.

> Any particular reason why you think that this might be related to the layer
> refactoring?

IIRC it didn't happen before https://hg.mozilla.org/mozilla-central/rev/ee5ca214e87c
Severity: normal → critical
Keywords: crash
Whiteboard: [b2g-crash]
I imagine this is the same crash as in the bug 866521, but let's see.
Diego, if you grab a patch from bug 866521, is it any better?  There are additional patches that may need to be picked up, bug 864017 depends on some, so it may take a bit to untangle it all.
Whiteboard: [b2g-crash] → [b2g-crash][CR 478814]
This is either a dupe of bug 866521 or bug 866952 or a combination of those, but either way, this works for me now on central, no other patches necessary.  Diego, if you can still get it to crash, please reopen.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Works!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.