Closed
Bug 864598
Opened 11 years ago
Closed 11 years ago
Camera app crashes system when switching to camcorder
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect, P1)
Tracking
(b2g18 unaffected, b2g18-v1.0.1 unaffected)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g18 | --- | unaffected |
b2g18-v1.0.1 | --- | unaffected |
People
(Reporter: diego, Assigned: bjacob)
References
Details
(Keywords: crash, Whiteboard: [b2g-crash])
Crash Data
Attachments
(1 file, 1 obsolete file)
3.78 KB,
text/plain
|
Details |
Likely caused by the recent layers refactoring
Updated•11 years ago
|
Severity: normal → critical
Priority: -- → P1
Comment 1•11 years ago
|
||
Crash also occurs (although I didn't confirm it's the same backtrace) when the camera app is closed via the task switcher.
Updated•11 years ago
|
Assignee: nobody → milan
Updated•11 years ago
|
Crash Signature: [@ mozalloc_abort(char const*) | NS_DebugBreak | mozilla::layers::PGrallocBufferParent::Write()]
Keywords: crash
Whiteboard: [b2g-crash]
Comment 2•11 years ago
|
||
Benoit, Snorp, could you take a look at this, Benoit, as a priority?
Assignee: milan → bjacob
Assignee | ||
Comment 3•11 years ago
|
||
I'm already busy with bug 864017, so I can't make concrete promises until I'm done with it. But I'm putting it on my queue.
Reporter | ||
Comment 4•11 years ago
|
||
Updated crash stack with latest from m-c
Attachment #740583 -
Attachment is obsolete: true
Assignee | ||
Comment 5•11 years ago
|
||
OK, I've looked at the stack now. This is a known issue and is reproducible in various ways. Yes, it's a regression from layers-refactoring, and is obviously a top priority to fix. Other bugs filed about basically the same crash include bug 853960.
The problem is that nobody on the gfx team really understands the ownership model around PGrallocBufferParent/PGrallocBufferChild. The question is how to define a clear ownership model so that we don't Send__delete__ on an already-deleted PGrallocBufferParent. So we've been shooting in the dark there. We'll keep shooting until it works ;-) alternatively if someone wants to educate us, that would be very welcome.
CC'ing other people who've been looking into this kind of issues during the refactoring.
Reporter | ||
Comment 6•11 years ago
|
||
Good to know it's already in your sights. The video app is also crashing. The crash stack isn't as helpful though. See bug 864800.
Assignee | ||
Comment 7•11 years ago
|
||
It turns out that this also blocks me from further work on bug 864017, as it crashes before I get to reproduce that bug, so I guess I'll work on it now.
Again I can't make strong promises as we've been banging our heads on this one before.
Comment 9•11 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #8)
> Snorp, can you help here?
I can try, sure.
Flags: needinfo?(snorp)
Comment 10•11 years ago
|
||
Is the stack from bug 862324 of any help? STR from 1.0.1 "works for me now" bug 860079.
Crash Signature: [@ mozalloc_abort(char const*) | NS_DebugBreak | mozilla::layers::PGrallocBufferParent::Write()] → [@ mozalloc_abort(char const*) | NS_DebugBreak | mozilla::layers::PGrallocBufferParent::Write()]
[@ mozalloc_abort | NS_DebugBreak_P | mozilla::layers::PImageContainerChild::FatalError ]
Comment 12•11 years ago
|
||
Andreas pointed to bug 776940.
Comment 13•11 years ago
|
||
We have some ideas about how to fix this. We're going to confirm that they are the correct approach now.
Comment 14•11 years ago
|
||
Bug 862324 is where the most activity on this issue is. It may very well be a dupe, but we're not making that call yet.
Only happens in master/MC branch
status-b2g18:
--- → unaffected
status-b2g18-v1.0.1:
--- → unaffected
Assignee | ||
Comment 16•11 years ago
|
||
Good news: the patch in bug 862324 fixes this.
Without the patch, I reproduce with exactly the same stack.
With the patch, I don't reproduce any crash anymore when switching to the camcorder.
Depends on: 862324
Reporter | ||
Comment 17•11 years ago
|
||
Cool! I can re-verify once it lands.
Assignee | ||
Comment 18•11 years ago
|
||
It's landed on central now.
Reporter | ||
Comment 19•11 years ago
|
||
Works!
I now see a crash when the recording finished. Progress!?
I filed bug 866781
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•