Closed
Bug 937133
Opened 12 years ago
Closed 12 years ago
B2G desktop build broken, no or only zero-size window
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mayhemer, Unassigned)
Details
m-c @ 15c1d1140da0 + gaia @ master (2013-09-09), Fedora 64.
After the build is finished and I run it with |/home/mayhemer/Mozilla/src/mozilla-central/_obj-b2g-debug/dist/bin/b2g -profile /home/mayhemer/Mozilla/src/gaia/profile-debug/|
there is just:
Starting b2g-bin
Running: /home/mayhemer/Mozilla/src/mozilla-central/_obj-b2g-debug/dist/bin/b2g-bin -profile /home/mayhemer/Mozilla/src/mozilla-central/_obj-b2g-debug/dist/bin/gaia/profile
++DOCSHELL 0x7f798cafdc00 == 1 [id = 1]
++DOMWINDOW == 1 (0x7f79907044b8) [serial = 1] [outer = (nil)]
++DOMWINDOW == 2 (0x7f798cb4ccb8) [serial = 2] [outer = 0x7f79907044b8]
++DOCSHELL 0x7f798cbf9000 == 2 [id = 2]
++DOMWINDOW == 3 (0x7f798cbfacb8) [serial = 3] [outer = (nil)]
++DOMWINDOW == 4 (0x7f798247d8b8) [serial = 4] [outer = 0x7f798cbfacb8]
++DOMWINDOW == 5 (0x7f79824804b8) [serial = 5] [outer = 0x7f79907044b8]
Determined SkiaGL cache limits: Size 139750144, Items: 256
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
[GLX] widget has VisualID 0x21
WARNING: NS_ENSURE_TRUE(enabled) failed: file /home/mayhemer/Mozilla/src/mozilla-central/dom/base/Navigator.cpp, line 1707
JavaScript error: chrome://browser/content/shell.js, line 15: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]
[GLX] widget has VisualID 0x21
JavaScript error: chrome://browser/content/settings.js, line 94: shell is undefined
Error while initializing devtools: TypeError: RemoteDebugger is undefined
@chrome://browser/content/settings.js:216
onsuccess@chrome://browser/content/settings.js:51
and then nothing more happens, no window open.
building on fedora 64, .mozconf:
GAIADIR=~/Mozilla/src/gaia
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/_obj-b2g-debug
mk_add_options MOZ_MAKE_FLAGS="-j9 -s"
ac_add_options --enable-application=b2g
ac_add_options --disable-libjpeg-turbo
# turn on mozTelephony/mozSms interfaces
# Only turn this line on if you actually have a dev phone
# you want to forward to. If you get crashes at startup,
# make sure this line is commented.
#ac_add_options --enable-b2g-ril
export MOZ_DEBUG_SYMBOLS=1
ac_add_options --enable-debug
ac_add_options --disable-optimize
ac_add_options --enable-tests
ac_add_options --enable-logging
ac_add_options --enable-visual-event-tracer
ac_add_options --enable-chrome-format=flat
ac_add_options --disable-installer
ac_add_options --disable-crashreporter
ac_add_options --disable-accessibility
ac_add_options --disable-gstreamer
With this config I was able to produce working builds usually. I build desktop b2g rarely so I have no idea when this got broken.
Windows build based on same changesets gives me similar result, I just get a 0,0-sized window with a black content when I enlarge it manually.
Comment 1•12 years ago
|
||
Try a regular gaia profile with just 'make' and not a 'DEBUG=1 make' profile.
![]() |
Reporter | |
Comment 2•12 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #1)
> Try a regular gaia profile with just 'make' and not a 'DEBUG=1 make' profile.
No change (I just built gaia, not the m-c tree).
Comment 3•12 years ago
|
||
I'm repro'ing this with these steps:
1. get latest desktopB2g build here:
http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/
2. i git pull on mozilla/gaia
3. DEBUG=1 make
4. run
$ B2G.app/Contents/MacOS/b2g-bin -profile /Users/Edwin/github/mozilla-b2g/gaia/profile-debug/
actual: i get this in stderr:
desktop-helper: loading lib/wifi.js...
JavaScript error: http://system.gaiamobile.org:8080/js/lockscreen.js, line 1056: invalid 'in' operand voice
expected: it works as expected if i run the profile that is in the app bundle:
/Users/Edwin/github/mozilla-b2g/B2G.app/Contents/MacOS/b2g-bin -profile /Users/Edwin/github/mozilla-b2g/B2G.app/Contents/MacOS/gaia/profile
![]() |
Reporter | |
Comment 4•12 years ago
|
||
Any progress here?
I tried new pull and build of gaia and its profile and new pull and clobber of m-c. Nothing has changed.
This completely blocks me from important work. Please give this bug a priority.
![]() |
Reporter | |
Comment 5•12 years ago
|
||
So, thanks dougt and fabrice I made this work with:
.MOZCONFIG:
. "$topsrcdir/b2g/config/mozconfigs/common"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/_obj-b2g-debug
mk_add_options MOZ_MAKE_FLAGS="-j8 -s"
ac_add_options --enable-application=b2g
ac_add_options --enable-debug
ac_add_options --disable-optimize
Then running |make profile| in gaia dir and point b2g binary to gaia/profile/.
Not sure what all had influence that this previously didn't work at all on my machines. Could be a disabled gstreamer?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•