Closed
Bug 1036691
Opened 11 years ago
Closed 11 years ago
Firefox desktop no longer works with gaia
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(b2g-v1.4 unaffected, b2g-v2.0 unaffected, b2g-v2.0M unaffected, b2g-v2.1 fixed, b2g-v2.2 fixed)
RESOLVED
FIXED
2.1 S4 (12sep)
Tracking | Status | |
---|---|---|
b2g-v1.4 | --- | unaffected |
b2g-v2.0 | --- | unaffected |
b2g-v2.0M | --- | unaffected |
b2g-v2.1 | --- | fixed |
b2g-v2.2 | --- | fixed |
People
(Reporter: ShellHacker, Assigned: qdot)
Details
(Whiteboard: [systemsfe])
Attachments
(1 file)
STR (https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia#B2G_Desktop)
1. Path to b2g
2. DEBUG=1 DESKTOP=0 make
3. ./b2g /path/to/gaia/profile
Expected : Should run gaia
What happened :
```
$ /Applications/FirefoxNightly.app/Contents/MacOS/firefox -profile /Users/sudheeshsinganamalla/Documents/gaia/profile-debug
2147942487JavaScript error: http://system.gaiamobile.org:8080/shared/js/dump.js, line 24: settings is null
JavaScript error: http://system.gaiamobile.org:8080/js/applications.js, line 85: apps.mgmt is null
JavaScript error: http://system.gaiamobile.org:8080/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: http://system.gaiamobile.org:8080/shared/js/idletimer.js, line 101: navigator.addIdleObserver is not a function
JavaScript error: http://system.gaiamobile.org:8080/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: http://system.gaiamobile.org:8080/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: http://system.gaiamobile.org:8080/js/icc.js, line 112: window.navigator.mozSettings is null
JavaScript error: http://system.gaiamobile.org:8080/js/airplane_mode.js, line 17: window.navigator.mozSettings is null
JavaScript error: http://system.gaiamobile.org:8080/js/cell_broadcast_system.js, line 15: settings is null
JavaScript error: http://system.gaiamobile.org:8080/js/value_selector/value_selector.js, line 82: navigator.mozSettings is null
JavaScript error: http://system.gaiamobile.org:8080/js/nfc_handover_manager.js, line 134: this.bluetooth is undefined
JavaScript error: http://system.gaiamobile.org:8080/js/operator_variant/operator_variant_iccs.js, line 73: _settings is null
JavaScript error: http://system.gaiamobile.org:8080/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: http://system.gaiamobile.org:8080/js/call_forwarding.js, line 207: CallForwarding is not defined
JavaScript error: http://system.gaiamobile.org:8080/js/findmydevice_launcher.js, line 18: navigator.mozSettings is null
JavaScript error: http://system.gaiamobile.org:8080/js/newsletter_manager.js, line 103: navigator.addIdleObserver is not a function
JavaScript error: http://system.gaiamobile.org:8080/shared/js/settings_listener.js, line 28: settings is null
```
Also why is the number `2147942487` generated ?
My git log says the latest commit is 4233e61019794e3bcd35c3aa5b80c6211e1be652
Comment 1•11 years ago
|
||
I have this bug too. Firefox Nightly 35.0a1, Manjaro Linux (Arch based distro) x64.
[nicholascamp@manjaro ~]$ /usr/bin/firefox-nightly -profile /home/nicholascamp/projetos/gaia/profile-debug --no-remote
(process:22628): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
browser-helper: Something went wrong while trying to start browser-helper: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm -> file:///home/nicholascamp/projetos/gaia/profile-debug/extensions/browser-helper@gaiamobile.org/bootstrap.js :: startup :: line 134" data: no]
2147942487JavaScript error: app://system.gaiamobile.org/shared/js/dump.js, line 24: settings is null
JavaScript error: app://system.gaiamobile.org/js/applications.js, line 85: apps.mgmt is undefined
JavaScript error: app://system.gaiamobile.org/shared/js/date_time_helper.js, line 33: window.navigator.mozSettings is null
JavaScript error: app://system.gaiamobile.org/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: app://system.gaiamobile.org/js/icc.js, line 112: window.navigator.mozSettings is null
JavaScript error: app://system.gaiamobile.org/js/cell_broadcast_system.js, line 15: settings is null
JavaScript error: app://system.gaiamobile.org/js/operator_variant/operator_variant_iccs.js, line 73: _settings is null
JavaScript error: app://system.gaiamobile.org/shared/js/idletimer.js, line 101: navigator.addIdleObserver is not a function
JavaScript error: app://system.gaiamobile.org/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: app://system.gaiamobile.org/js/airplane_mode.js, line 17: window.navigator.mozSettings is null
JavaScript error: app://system.gaiamobile.org/shared/js/settings_listener.js, line 28: settings is null
LogShake: starting captureLogs listener
JavaScript error: app://system.gaiamobile.org/js/call_forwarding.js, line 207: CallForwarding is not defined
JavaScript error: app://system.gaiamobile.org/js/findmydevice_launcher.js, line 32: navigator.mozSettings is null
JavaScript error: app://system.gaiamobile.org/js/newsletter_manager.js, line 103: navigator.addIdleObserver is not a function
JavaScript error: app://system.gaiamobile.org/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: app://system.gaiamobile.org/js/internet_sharing.js, line 69: settings is null
JavaScript error: app://callscreen.gaiamobile.org/shared/js/date_time_helper.js, line 33: window.navigator.mozSettings is null
JavaScript error: app://callscreen.gaiamobile.org/js/call_screen.js, line 245: Argument 1 is not valid for any of the 2-argument overloads of URL.createObjectURL.
Comment 2•11 years ago
|
||
I can't run it in Firefox Aurora too:
[nicholascamp@manjaro gaia]$ /usr/local/bin/firefox-aurora -profile /home/nicholascamp/projetos/gaia/profile-debug --no-remote
(process:24492): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
1409950370833 addons.manager WARN Application shipped blocklist has an unexpected namespace (http://www.mozilla.org/newlayout/xml/parsererror.xml)
browser-helper: Something went wrong while trying to start browser-helper: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm -> file:///home/nicholascamp/projetos/gaia/profile-debug/extensions/browser-helper@gaiamobile.org/bootstrap.js :: startup :: line 134" data: no]
2147942487JavaScript error: app://system.gaiamobile.org/shared/js/dump.js, line 24: settings is null
JavaScript error: app://system.gaiamobile.org/js/applications.js, line 85: apps.mgmt is undefined
JavaScript error: app://system.gaiamobile.org/shared/js/date_time_helper.js, line 33: window.navigator.mozSettings is null
JavaScript error: app://system.gaiamobile.org/shared/js/idletimer.js, line 101: navigator.addIdleObserver is not a function
JavaScript error: app://system.gaiamobile.org/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: app://system.gaiamobile.org/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: app://system.gaiamobile.org/js/icc.js, line 112: window.navigator.mozSettings is null
JavaScript error: app://system.gaiamobile.org/js/airplane_mode.js, line 17: window.navigator.mozSettings is null
JavaScript error: app://system.gaiamobile.org/js/cell_broadcast_system.js, line 15: settings is null
JavaScript error: app://system.gaiamobile.org/js/operator_variant/operator_variant_iccs.js, line 73: _settings is null
JavaScript error: app://system.gaiamobile.org/shared/js/settings_listener.js, line 28: settings is null
LogShake: starting captureLogs listener
JavaScript error: app://system.gaiamobile.org/js/call_forwarding.js, line 207: CallForwarding is not defined
JavaScript error: app://system.gaiamobile.org/js/findmydevice_launcher.js, line 32: navigator.mozSettings is null
JavaScript error: app://system.gaiamobile.org/js/newsletter_manager.js, line 103: navigator.addIdleObserver is not a function
JavaScript error: app://system.gaiamobile.org/shared/js/settings_listener.js, line 28: settings is null
JavaScript error: app://system.gaiamobile.org/js/internet_sharing.js, line 69: settings is null
JavaScript error: app://callscreen.gaiamobile.org/shared/js/date_time_helper.js, line 33: window.navigator.mozSettings is null
JavaScript error: app://callscreen.gaiamobile.org/js/call_screen.js, line 245: Argument 1 is not valid for any of the 2-argument overloads of URL.createObjectURL.
Comment 4•11 years ago
|
||
We're hitting this after the first reboot. /edit-pref.sh seems to reproduce it well.
Comment 5•11 years ago
|
||
Actually I see this on a real device with a tip/head/master build.
Comment 6•11 years ago
|
||
It appears that SettingsChangeNotifier.jsm missing is the cause of this. Kyle - since you were in settings recently, do you know the changeset that removed this by chance? Is there another jsm we need to include now?
Flags: needinfo?(kgrandon) → needinfo?(kyle)
Assignee | ||
Comment 7•11 years ago
|
||
Yup, yet another place I forgot to update the include. SettingsChangeNotifier is gone, I would /think/ we can just remove the include altogether since we bring SettingsRequestManager in with the b2g shell, but I'll test it and see.
Flags: needinfo?(kyle)
Assignee | ||
Comment 8•11 years ago
|
||
Fixing title. All reports here mention firefox desktop, not b2g desktop. Therefore comment 7 is wrong, we will need to include SettingsRequestManager here.
Summary: B2G Desktop build errors, stuck on loading screen → Firefox desktop no longer works with gaia
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → kyle
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #8485325 -
Flags: review?(kgrandon)
Comment 10•11 years ago
|
||
Comment on attachment 8485325 [details] [review]
Patch 1 (v1) - Fix settings includes in browser shims
Thanks Kyle!
Attachment #8485325 -
Flags: review?(kgrandon) → review+
Assignee | ||
Comment 11•11 years ago
|
||
[Blocking Requested - why for this release]: Breaks gaia development on Firefox Desktop, which is commonly used.
blocking-b2g: --- → 2.1?
Assignee | ||
Comment 12•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
status-b2g-v1.4:
--- → unaffected
status-b2g-v2.0:
--- → unaffected
status-b2g-v2.0M:
--- → unaffected
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → fixed
Resolution: --- → FIXED
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 8485325 [details] [review]
Patch 1 (v1) - Fix settings includes in browser shims
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Bug 900551
[User impact] if declined: Can't develop for gaia on firefox desktop
[Testing completed]: Ran locally against firefox desktop, assured it works now
[Risk to taking this patch] (and alternatives if risky): None
[String changes made]: None
Attachment #8485325 -
Flags: approval-gaia-v2.1?
Comment 14•11 years ago
|
||
Working now here. Kevin, Kyle, thanks!
Comment 15•11 years ago
|
||
Uplifting to 2.1, a=npotb.
https://github.com/mozilla-b2g/gaia/commit/b9e593bb0d615a51348fc6c879ea196d705690af
blocking-b2g: 2.1? → ---
Updated•11 years ago
|
Attachment #8485325 -
Flags: approval-gaia-v2.1?
Updated•11 years ago
|
Whiteboard: [systemsfe]
Target Milestone: --- → 2.1 S4 (12sep)
You need to log in
before you can comment on or make changes to this bug.
Description
•