Closed
Bug 826846
Opened 12 years ago
Closed 12 years ago
Infinite Crash Loop of Doom on the Homescreen if I reinstall a packaged app that already exists - phone homescreen becomes entirely unusable, even after a power down and power up
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-basecamp:+, firefox19 wontfix, firefox20 wontfix, firefox21 fixed, b2g18 fixed)
People
(Reporter: jsmith, Assigned: jduell.mcbugs)
References
Details
(Keywords: crash, regression, reproducible, Whiteboard: [b2g-crash])
Crash Data
Attachments
(3 files)
Build: B2G 18 1/3/2013
Device: Unagi
Steps:
1. Install a packaged app from http://mozqa.com/webapi-permissions-tests/ ("Packaged App Test Case 2" was the one I used)
2. After installation completes, reinstall that packaged app
Expected:
The app should be successfully installed.
Actual:
The homescreen crashes. Then, after going past the crash reporter dialog, the homecsreen crashes again. And again. And it goes into an infinite crash loop of doom.
This looks bad:
01-04 21:59:06.773: I/Gecko(926): [Child 926] ###!!! ABORT: [PRemoteOpenFileChild] abort()ing as a result: file PRemoteOpenFileChild.cpp, line 361
Reporter | ||
Comment 1•12 years ago
|
||
This is probably the worst crash I've ever seen. The homescreen goes into an infinite crash loop making it unusable.
Reporter | ||
Updated•12 years ago
|
Blocks: market-packaged-apps
Reporter | ||
Comment 2•12 years ago
|
||
Yup, this looking bad.
Would be interesting to understand both why we are crashing here, since apps shouldn't be able to crash, and why this is an error situation at all.
Reporter | ||
Comment 4•12 years ago
|
||
Here's a dump of every crash report that was submitted in the infinite crash loop.
Looks like it's consistently these two stacks that I'm seeing:
https://crash-stats.mozilla.com/report/index/bp-f90b9616-3887-4080-86ab-6c5be2130104
https://crash-stats.mozilla.com/report/index/bp-f81bf21d-ea00-4a95-9045-8e2172130104
Reporter | ||
Comment 5•12 years ago
|
||
Btw - if you power off the phone and restart it, you'll still get the crashers after you go back to the homescreen.
So basically the phone is borked at this point.
Reporter | ||
Updated•12 years ago
|
Summary: Infinite Crash Loop of Doom on the Homescreen if I reinstall a packaged app that already exists → Infinite Crash Loop of Doom on the Homescreen if I reinstall a packaged app that already exists - phone homescreen becomes entirely unusable, even after a power down and power up
Reporter | ||
Comment 6•12 years ago
|
||
So I re-flashed a fresh build and tried the repro steps again - it's consistently 100% reproducible.
Keywords: reproducible
Reporter | ||
Comment 7•12 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #6)
> So I re-flashed a fresh build and tried the repro steps again - it's
> consistently 100% reproducible.
And I just got it to reproduce on a different phone too.
Comment 8•12 years ago
|
||
Adding the two signatures so it gets picked up in crash stats.
Crash Signature: [@ arena_malloc]
[@ PR_AtomicDecrement]
Comment 9•12 years ago
|
||
Maybe a regression from bug 815523
Reporter | ||
Updated•12 years ago
|
Keywords: regression
Reporter | ||
Comment 10•12 years ago
|
||
Apparently this also reproduces after installing two large packaged apps and viewing it the settings apps perms UI.
Updated•12 years ago
|
Crash Signature: [@ arena_malloc]
[@ PR_AtomicDecrement] → [@ arena_malloc]
[@ PR_AtomicDecrement]
[@ mozalloc_abort | pthread_mutex_unlock]
Whiteboard: [b2g-crash]
Comment 11•12 years ago
|
||
Blocking and over to jduell to investigate whether this has something to do with bug 815523.
Assignee: nobody → jduell.mcbugs
blocking-basecamp: ? → +
Assignee | ||
Comment 12•12 years ago
|
||
What was happening: The HomeScreen app was getting launched, and tried to open the application.zip for an application, but that file no longer exists (which is going to be a separate bug: looks like "install twice" == remove application.zip).
IPDL kills the child process if you try to send fd==-1 as a file descriptor, so work around it by using a separate IPDL message. Now we return NS_FILE_NOT_FOUND instead of crashing. This gets rid of the thundering herd of dying HomeScreen apps that renders the phone useless.
Attachment #698744 -
Flags: review?(josh)
Updated•12 years ago
|
Attachment #698744 -
Flags: review?(josh) → review+
Assignee | ||
Comment 13•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2c0352886e95
https://hg.mozilla.org/releases/mozilla-b2g18/rev/c68fd32f4336
Seemingly valid rumor has it that I should mark B2G blockers FIXED as soon as they're on inbound/b2g18, and don't need to wait for m-c.
Assignee | ||
Comment 14•12 years ago
|
||
I've verified that the crash on the phone is fixed, and gets replaced by bug 827502 :)
Keywords: verifyme
Comment 15•12 years ago
|
||
Updated•12 years ago
|
Target Milestone: --- → B2G C4 (2jan on)
Updated•12 years ago
|
Reporter | ||
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•