Closed
Bug 968049
Opened 9 years ago
Closed 9 years ago
sometimes starting browser shows "Firefox can't find the file at app://browser.gaiamobile.org/null" instead of start page
Categories
(Firefox OS Graveyard :: Gaia::Browser, defect)
Tracking
(blocking-b2g:1.3+, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)
People
(Reporter: dbaron, Assigned: benfrancis)
Details
(Keywords: regression, Whiteboard: [systemsfe][p=2])
Attachments
(2 files)
90.25 KB,
image/png
|
Details | |
46 bytes,
text/x-github-pull-request
|
daleharvey
:
review+
gwagner
:
approval-gaia-v1.3+
|
Details | Review |
Since I upgraded from 1.2 to 1.3 (about a month ago??) I've been seeing occasionally, when I start the browser app, an error page showing: Unable to connect Firefox can't find the file at app://browser.gaiamobile.org/null (For a while, the whole error page was %-escaped, but that has since been fixed.) I've been unable to figure out exact steps to reproduce, though bug 875199 comment 4 suggests it might be related to out of memory (maybe the OOM killer killing the content process inside the browser?) Steps to reproduce: 1. ??? 2. start the browser app Actual results: Network error page showing: Unable to connect Firefox can't find the file at app://browser.gaiamobile.org/null Expected results: start page showing my 4 most recently visited pages
Reporter | ||
Comment 1•9 years ago
|
||
Note that this is in a self-built 1.3 on a hamachi. I've seen it most recently, this morning, in a build I did yesterday.
Comment 2•9 years ago
|
||
This sounds like a data migration bug. QA Wanted - Can someone check to see if they can reproduce this bug by doing some exploratory data migration tests on Leo from 1.2 to 1.3 using the browser?
Blocks: 1.3-data-migration
Comment 4•9 years ago
|
||
I'm not generally seeing this on my 1.3 testing, on Buri or Sora, at least. However, I'll leave the needinfo flag on this one and recheck back from time to time.
Comment 5•9 years ago
|
||
(In reply to John Hammink from comment #4) > I'm not generally seeing this on my 1.3 testing, on Buri or Sora, at least. > > However, I'll leave the needinfo flag on this one and recheck back from time > to time. Buri & Sora isn't the right way to reproduce this - you need to perform a data migration from 1.2 to 1.3.
Assignee | ||
Comment 6•9 years ago
|
||
I don't think this is a data migration issue, it's just a straight bug. We need reliable STR to act on this, I've never reproduced it myself.
Comment 7•9 years ago
|
||
David, Can you please provide STR? Is this happening upon upgrade from 1.2 to 1.3 only?
Flags: needinfo?(dbaron)
Reporter | ||
Comment 8•9 years ago
|
||
(In reply to Preeti Raghunath(:Preeti) from comment #7) > Can you please provide STR? I can reproduce reliably using the following steps: 1. hold down the home button and kill all running apps by clicking the (X) for each 2. start the browser app 3. wait for the start screen showing four recent pages to appear 4. press the home button 5. start the email app 6. tap the compose icon 7. tap the (+) icon in the "To" to start the contacts app 8. choose a contact's email address 9. click the < icon and then choose to discard the email 10. start the Browser app (In my experience, starting both email and contacts is enough to OOM-kill everything else.) > Is this happening upon upgrade from 1.2 to 1.3 only? I don't know.
Flags: needinfo?(dbaron)
Reporter | ||
Comment 9•9 years ago
|
||
Oops, this:
> 10. start the Browser app
should have been:
10. press the home button
11. start the browser app
Reporter | ||
Comment 10•9 years ago
|
||
And, in case it's not obvious, the above steps are probably valid only for devices with 256MB of RAM.
Updated•9 years ago
|
No longer blocks: 1.3-data-migration
nhirata to talk to dbaron about his device.
Flags: needinfo?(nhirata.bugzilla)
Comment 12•9 years ago
|
||
(In reply to David Baron [:dbaron] (needinfo? me) (UTC-8) from comment #8) > (In reply to Preeti Raghunath(:Preeti) from comment #7) > > Can you please provide STR? > > I can reproduce reliably using the following steps: > 1. hold down the home button and kill all running apps by clicking the (X) > for each > 2. start the browser app > 3. wait for the start screen showing four recent pages to appear > 4. press the home button > 5. start the email app > 6. tap the compose icon > 7. tap the (+) icon in the "To" to start the contacts app > 8. choose a contact's email address > 9. click the < icon and then choose to discard the email > 10. start the Browser app > > (In my experience, starting both email and contacts is enough to OOM-kill > everything else.) I can reproduce this with my inari with a local 1.3 build from Friday. I'll try to reproduce with a build not done by me. > > Is this happening upon upgrade from 1.2 to 1.3 only? > > I don't know. Since I can reproduce this with a clean flash of 1.3 so it seems to not be specific to upgrades.
Comment 13•9 years ago
|
||
I cannot reproduce this with a build that was produced by releng. Since I *can* reproduce with a build I did myself, I presume this is something to do with the memory usage of VARIANT=eng vs. VARIANT=user. Ben, is this enough to go on?
Flags: needinfo?(bfrancis)
Comment 14•9 years ago
|
||
Yep, I just reproduced this using Andrew's steps above. Gaia 00cd1ae74dfe773a41b55275b0b468a62f35076d Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3/rev/873e98e750bf BuildID 20140211004035 Version 28.0 ro.build.version.incremental=324 ro.build.date=Thu Dec 19 14:04:55 CST 2013
Comment 15•9 years ago
|
||
(In reply to John Hammink from comment #14) > Yep, I just reproduced this using Andrew's steps above. Can you attach any and all logs, John?
Comment 16•9 years ago
|
||
Tried reproducing several times to get logs; even after a reflash. Unfortunately could repro this on latest 1.3 exactly once.
Reporter | ||
Comment 17•9 years ago
|
||
I was using a VARIANT=user build. I'd comment that the goal of loading mail and contacts is to run the device out-of-memory -- it might be that if you, say, haven't added any contacts, that's not enough -- so it might help to either (a) set up linking contacts to facebook or google or (b) use some additional apps in addition to mail and contacts.
Comment 18•9 years ago
|
||
Oh yeah, I forgot to say that each time I did this I imported ~300 Google contacts. This unfortunately includes the time when I couldn't reproduce it with a build produced by releng.
Comment 19•9 years ago
|
||
Comment 20•9 years ago
|
||
Triage decided to block on this. Ben told me on IRC that he knew what was going on so I'm giving the bug to him.
Assignee: nobody → bfrancis
blocking-b2g: 1.3? → 1.3+
Flags: needinfo?(nhirata.bugzilla)
Flags: needinfo?(jhammink)
Flags: needinfo?(bfrancis)
Assignee | ||
Comment 21•9 years ago
|
||
Thanks Andrew, that screenshot helped a lot. What's going on here is that when we launch the browser it opens an empty tab in the background behind the start page. The OOM is killing that tab, then when you switch back to the browser it revives the tab and reloads the URL, but the URL is null which is why you get the error. It should just leave you on the start screen instead. I don't think this is a regression, I just don't think we've ever noticed it before because opening the browser app at the start page then going back to the homescreen before doing anything else is a relatively uncommon use case.
Assignee | ||
Comment 22•9 years ago
|
||
Attachment #8374922 -
Flags: review?(dale)
Assignee | ||
Updated•9 years ago
|
Whiteboard: [systemsfe][p=2]
Target Milestone: --- → 1.4 S1 (14feb)
Comment 23•9 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/164d7d821a3650eec2eb10164bda9d4cdf2bfb33
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 24•9 years ago
|
||
Comment on attachment 8374922 [details] [review] https://github.com/mozilla-b2g/gaia/pull/16221 Looks good
Attachment #8374922 -
Flags: review?(dale) → review+
Reporter | ||
Comment 25•9 years ago
|
||
Oh, gosh, if I knew you'd wanted a screenshot, I'd have given you a screenshot sooner.
Comment 26•9 years ago
|
||
1.3 blockers no longer have auto-approval to land. Please request gaia-v1.3 approval on the patch for uplift.
Updated•9 years ago
|
Attachment #8374922 -
Flags: approval-gaia-v1.3+
Comment 27•9 years ago
|
||
v1.3: 44273233e439245b696349b17ee0f20da7025f95
status-b2g-v1.3:
--- → fixed
status-b2g-v1.4:
--- → fixed
Updated•9 years ago
|
status-b2g-v1.3T:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•