On Tuesday, August 9, 2016 at 4:13:18 AM UTC+3, icanre...@gmail.com wrote: > looks like it was crashing because of > ac_add_options --disable-wmf alright, this wasn't it! (I stand corrected) > > so, commenting that out, fixed it! > > > that, or/and it was this(too?): > ac_add_options --enable-optimize=-O2 this was it! and I got it from here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options
In other words: don't use --enable-optimize=-O2 if you do, it will coredump on startup! (--enable-optimize alone is fine though!) I guess that's what they meant when they said "In most cases, this will not give the desired results, unless you know the Mozilla codebase very well;" also "Warning: Do not use a configure option unless you know what it does. The default values are usually the right ones. Each additional option you add to your mozconfig file reduces the chance that your build will compile and run correctly. " > > because it doesn't crash with those two commented out, currently; > and now I'm just trying to see if allowing the --disable-wmf will crash or > not, so if I don't reply again, assume it was ONLY the --disable-wmf that > crashed it and -O2 had no effect! > > Cheers! The current mozconfig that doesn't crash on startup follows next(sorry there's no button to attach file, so pasting) and note that some comments may be old and obsolete: . $topsrcdir/browser/config/mozconfig #XXX: if you change this file, you don't have to run ./1 (if you already have ran ./1 and ./2) just put the file in the src dir, touch configure, then run ./2 #this was on gentoo: #www-client/firefox -gmp-autoupdate -gstreamer pulseaudio system-jpeg system-icu -system-libvpx system-sqlite -wifi -debug -egl -system-cairo -hwaccel jit #TODO: not found yet: jit, egl, wifi(kinda) gmp-autoupdate hwaccel #default: build Firefox ac_add_options --enable-application=browser #default: ac_add_options --enable-optimize #ac_add_options --enable-optimize=-O2 #XXX: ^ don't use -O2 here or it will coredump crash on startup! compiles ok though. # https://developer.mozilla.org/en-US/docs/Configuring_Build_Options #XXX: no debug from gentoo #ac_add_options --disable-debug #ac_add_options --disable-debug-symbols #ac_add_options --enable-strip #^ no messages for ./mach run ac_add_options --disable-strip ac_add_options --enable-debug ac_add_options --enable-debug-symbols #^ these three don't seem to show me the symbols on core dump(which is handled by journalctl aka systemd) - but at least they show me some messages/output # 0:15.44 mozbuild.configure.options.InvalidOptionError: '--enable-debug-symbols' implied by '--enable-debug' conflicts with '--disable-debug-symbols' from the mozconfig #speed up? when compiling ac_add_options --disable-tests #ac_add_options --enable-tests #^ Note: tests enabled needed for PGO! # --enable-debug-js-modules Enable debug mode for frontend JS libraries" ac_add_options --disable-debug-js-modules #default: #XXX: mozbuild.configure.options.InvalidOptionError: Unknown option: --enable-crypto #ac_add_options --enable-crypto #install architecture-independent files in PREFIX default: /usr/local ac_add_options --prefix=/usr #XXX: 0:11.68 mozbuild.configure.options.InvalidOptionError: Unknown option: --libdir #ac_add_options --libdir=/usr/lib #ac_add_options --enable-official-branding #^ idno why not, maybe PKGBUILD install() icons? # System libraries ac_add_options --with-system-nspr #ac_add_options --with-system-nss #nss>=3.26 !! have 3.25 now on Manjaro ac_add_options --without-system-nss #XXX: system-jpeg from gentoo ac_add_options --with-system-jpeg ac_add_options --with-system-zlib ac_add_options --with-system-bz2 ac_add_options --with-system-png ac_add_options --with-system-libevent #XXX: not-system-libvpx from gentoo #ac_add_options --without-system-libvpx #chromium has system-libvpx: ac_add_options --with-system-libvpx ac_add_options --enable-system-hunspell #XXX: system-sqlite from gentoo ac_add_options --enable-system-sqlite #Use system libffi (located with pkgconfig) ac_add_options --enable-system-ffi # Features #ac_add_options --enable-startup-notification #^ bad because #if defined(MOZ_ENABLE_STARTUP_NOTIFICATION) # if (mIsX11Display) { # in a static function, but that field is part of a class! #so, 0:42.98 /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/widget/gtk/nsWindow.cpp:1352:9: error: ‘mIsX11Display’ was not declared in this scope #Disable breakpad crash reporting ac_add_options --disable-crashreporter #Disable building of updater ac_add_options --disable-updater # 0:11.46 mozbuild.configure.options.InvalidOptionError: Unknown option: --disable-installer #ac_add_options --disable-installer #extra security #can't enable this because compiler errors: #/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/js/src/gdb/Unified_cpp_js_src_gdb0.i_o:Unified_cpp_js_src_gdb0.cpp:function Fragment_Root_barriers::run(JSContext*, char const**&): error: undefined reference to '__asan_poison_memory_region' #ac_add_options --enable-address-sanitizer #can't enable this because compilation error: #/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/js/src/vm/Compression.cpp:112:32: error: ‘__msan_unpoison’ was not declared in this scope #ac_add_options --enable-memory-sanitizer ac_add_options --disable-profiling ac_add_options --disable-systrace #Enable Valgrind integration hooks (default=no) ac_add_options --disable-valgrind ac_add_options --disable-jprof # 0:10.30 mozbuild.configure.options.InvalidOptionError: Unknown option: --disable-shark #ac_add_options --disable-shark ac_add_options --disable-instruments ac_add_options --disable-callgrind ac_add_options --disable-vtune # --enable-cpp-rtti Enable C++ RTTI " ac_add_options --disable-cpp-rtti #Enable GNU Gold Linker when it is not already the default ac_add_options --enable-gold # --enable-pie Enable Position Independent Executables" ac_add_options --enable-pie #--with-pthreads #build with dtrace support if available (default=no)" ac_add_options --disable-dtrace ac_add_options --with-x # --disable-printing Disable printing support" #ac_add_options --disable-printing #^ causes: Chrome file doesn't exist: /tmp/obj-x86_64-pc-linux-gnu/dist/bin/chrome/toolkit/content/global/printUtils.js #Failed to load file:///tmp/obj-x86_64-pc-linux-gnu/dist/bin/chrome/toolkit/content/global/printUtils.js #and maybe MAYBE the core dump too! or that's something else! ac_add_options --enable-printing #mozbuild.configure.options.InvalidOptionError: Unknown option: --disable-gnomevfs #ac_add_options --disable-gnomevfs # --disable-gio Disable GIO support" ac_add_options --disable-gio #ac_add_options --disable-gconf # --enable-libproxy Enable libproxy support " ac_add_options --disable-libproxy # --enable-gnomeui Enable libgnomeui instead of GIO & GTK for icon theme support " ac_add_options --disable-gnomeui #this is optional tho:14:10.76 Notification center failed: Install the python dbus module to get a notification when the build finishes. #ac_add_options --disable-dbus #!!!! ac_add_options --enable-dbus #!!!! ac_add_options --disable-websms-backend # --disable-dbm Disable building dbm" ac_add_options --disable-dbm #!!!! # --disable-accessibility Disable accessibility support" ac_add_options --disable-accessibility # 0:26.05 /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/media/webrtc/MediaEngineCameraVideoSource.h:14:53: fatal error: webrtc/video_engine/include/vie_capture.h: No such file or directory #ac_add_options --disable-webrtc ac_add_options --enable-webrtc # --enable-raw Enable support for RAW media" #ac_add_options --enable-raw ac_add_options --disable-raw #can't disable this because compilation error: #/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/content/media/ogg/OggWriter.h:10:30: fatal error: OpusTrackEncoder.h: No such file or directory #ac_add_options --disable-opus # 0:11.00 mozbuild.configure.options.InvalidOptionError: Unknown option: --enable-opus #ac_add_options --enable-opus #can't disable this because compilation error: #/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/content/media/mediasource/ContainerParser.cpp:9:32: fatal error: WebMBufferedParser.h: No such file or directory #ac_add_options --disable-webm #ac_add_options --enable-webm #mozbuild.configure.options.InvalidOptionError: Unknown option: --enable-webm ac_add_options --disable-directshow ac_add_options --disable-wmf #XXX: you can disable wmf just fine! it's the -O2 that you shouldn't use above! #ac_add_options --disable-ffmpeg ac_add_options --enable-ffmpeg #ac_add_options --disable-fmp4 #XXX: mozbuild.configure.options.InvalidOptionError: '--enable-fmp4' implied by '--enable-ffmpeg' conflicts with '--disable-fmp4' from the mozconfig ac_add_options --enable-fmp4 #can't disable this or else compilation error: #WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::MediaKeys'., /home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/dom/bindings/HTMLMediaElement.webidl line 150:21 #ac_add_options --disable-eme #can't disable this because compilation error: #/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/dom/bindings/NavigatorBinding.cpp:1204:9: error: ‘class mozilla::dom::Navigator’ has no member named ‘MozGetUserMediaDevices’ #ac_add_options --disable-media-navigator # --enable-android-omx Enable support for Android OMX media backend" # --enable-omx-plugin Enable building OMX plugin (B2G)" ac_add_options --disable-omx-plugin #unknown option: #ac_add_options --disable-wave # --enable-alsa Enable Alsa support (default on Linux)" #ac_add_options --enable-alsa ac_add_options --disable-alsa ac_add_options --enable-pulseaudio # --disable-pulseaudio Disable PulseAudio support" #ac_add_options --disable-pulseaudio #ac_add_options --enable-gstreamer #XXX: no gstreamer from gentoo #ac_add_options --disable-gstreamer #unknown option: #ac_add_options --enable-gstreamer=1.0 #^ i dno about this! new PKGBUILD has it tho #see ./configure --help | less # https://mxr.mozilla.org/mozilla-central/source/extensions/ #Disable searching system- and account-global #directories for extensions of any kind; use #only profile-specific extension directories" ac_add_options --disable-system-extension-dirs ac_add_options --enable-extensions=default,-skipgnomevfs,-skipgio #XXX: removing the above still coredumps firefox, so, they're back! #ac_add_options --disable-pref-extensions #ac_add_options --disable-negotiateauth #ac_add_options --disable-permissions #ac_add_options --disable-universalchardet # --disable-gamepad Disable gamepad support" #can't disable this because compilation error: #WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::Gamepad'., /home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/dom/bindings/Navigator.webidl line 272:11 #ac_add_options --disable-gamepad #ac_add_options --disable-libjpeg-turbo #ac_add_options --enable-tree-freetype #can't find description for this: ac_add_options --disable-webapp-runtime # --enable-maintenance-service Enable building of maintenanceservice" ac_add_options --disable-maintenance-service # --enable-bundled-fonts Enable support for bundled fonts on desktop platforms" #ac_add_options --disable-bundled-fonts ac_add_options --disable-verify-mar ac_add_options --disable-signmar #^src:https://dxr.mozilla.org/mozilla-central/source/old-configure.in ac_add_options --disable-parental-controls ac_add_options --enable-sandbox ac_add_options --enable-content-sandbox #XXX 0:26.20 DEBUG: configure: error: Cannot build Firefox with --disable-feeds. # --disable-feeds Disable feed handling and processing components" #ac_add_options --disable-feeds ac_add_options --enable-safe-browsing #ac_add_options --disable-safe-browsing #ac_add_options --enable-url-classifier #can't disable this because compilation error: #/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/startupcache/StartupCache.cpp:29:26: fatal error: nsIZipWriter.h: No such file or directory #ac_add_options --disable-zipwriter #ac_add_options --enable-faststripe #ac_add_options --enable-mobile-optimize #unknown option: #ac_add_options --disable-logging ac_add_options --disable-logrefcnt ac_add_options --disable-dump-painting #unknown option: #ac_add_options --disable-trace-malloc #ac_add_options --enable-dmd #ac_add_options --enable-jemalloc #ac_add_options --enable-trace-jscalls #ac_add_options --disable-gcincremental #ac_add_options --disable-gcgenerational #ac_add_options --enable-gccompacting #ac_add_options --enable-small-chunk-size #ac_add_options --enable-gczeal #ac_add_options --enable-install-strip #not needed, unless it fails at some point #ac_add_options --disable-elf-hack ac_add_options --disable-tasktracer #unknown option: #ac_add_options --disable-visual-event-tracer # --enable-stdcxx-compat Enable compatibility with older libstdc++" ac_add_options --disable-stdcxx-compat ac_add_options --disable-startupcache # --enable-b2g-ril Set compile flags necessary for testing B2G Radio Interface Layer via network sockets " ac_add_options --disable-b2g-ril # --enable-b2g-bt Set compile flags necessary for compiling Bluetooth API for B2G " ac_add_options --disable-b2g-bt # --enable-nfc Set compile flags necessary for compiling NFC API " ac_add_options --disable-nfc #can't disable this because compilation error #WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::SpeechSynthesis'., /home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/dom/bindings/Window.webidl line 231:68 #Compile without clean(from commented out to uncommented): # 1:58.81 WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::SpeechSynthesis'., /tmp/obj-x86_64-pc-linux-gnu/dom/bindings/Window.webidl line 262:68 # 1:58.81 [Throws, Pref="media.webspeech.synth.enabled"] readonly attribute SpeechSynthesis speechSynthesis; ac_add_options --disable-webspeech # --enable-synth-pico Set compile flags necessary for compiling Pico Web Speech API " ac_add_options --disable-synth-pico # --enable-b2g-camera Set compile flags necessary for compiling camera API for B2G " ac_add_options --disable-b2g-camera #says invalid option, odd: #ac_add_options --jitreport-granularity=0 #ac_add_options --enable-xterm-updates #can't disable this because compilation error #/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/gfx/2d/convolver.h:38:26: fatal error: skia/SkTypes.h: No such file or directory #ac_add_options --disable-skia #ac_add_options --enable-system-cairo #XXX: not-system-cairo from gentoo # --enable-system-cairo Use system cairo (located with pkgconfig)" ac_add_options --disable-system-cairo ac_add_options --enable-system-pixman #//old: trying to avoid a compilation error XPIDL_MODULE cannot be defined unless there are XPIDL_SOURCES # 2:12.39 /tmp/obj-x86_64-pc-linux-gnu/dist/include/nsStyleStruct.h:2641:12: error: ‘NS_STYLE_DISPLAY_INLINE_XUL_GRID’ was not declared in this scope # 2:20.08 /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/layout/style/nsStyleStruct.h:2642:12: error: ‘NS_STYLE_DISPLAY_INLINE_STACK’ was not declared in this scope #with this: ac_add_options --disable-xul #ac_add_options --enable-xul #this is the default #unknown option: #ac_add_options --enable-profilelocking #XXX: no wifi from gentoo # --disable-necko-wifi Disable necko wifi scanner" ac_add_options --disable-necko-wifi #ac_add_options --disable-cookies # --disable-ctypes Disable js-ctypes" ac_add_options --enable-ctypes #ac_add_options --disable-ctypes #js-ctypes allows application and extension code to call back and forth to native code written in C. C++ support is possible through vtable pointers see Using COM from js-ctypes. #src: https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes #XXX: if you disable this, you'll get the following(maybe also the core dump because of it): firefox-hg $ ./mach run # 0:00.89 /tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile /tmp/obj-x86_64-pc-linux-gnu/tmp/scratch_user #JavaScript error: resource://gre/modules/osfile/osfile_shared_allthreads.jsm, line 92: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import] #[27108] WARNING: Cannot create startup observer : service,@mozilla.org/weave/service;1: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/embedding/components/appstartup/nsAppStartupNotifier.cpp, line 81 #XXX: system-icu from gentoo ac_add_options --with-system-icu ac_add_options --without-intl-api #^Determine the status of the ECMAScript Internationalization API. The first # (or lack of any of these) builds and exposes the API. The second builds it # but doesn't use ICU or expose the API to script. The third doesn't build # ICU at all. #tisdone: must update ccache or else -fprofile-generate is not recognized and thus not ccached! >3.1.9 >=3.2.0 to be sure! #FIXME: currently getting this error and don't know what causes it, doesn't seem to be these options, must be something else that changed because it worked ok before. #configure: error: Your toolchain does not support C++0x/C++11 mode properly. Please upgrade your toolchain # PGO #commented out to prevent lockup when compiling: #mk_add_options MOZ_PGO=1 #mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 $(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run' # autoconf mk_add_options AUTOCONF=autoconf-2.13 # tell firefox to use python2 because python points to python3 in arch mk_add_options PYTHON=/usr/bin/python2 #this is actually auto selected to be right, but I wanna be sure, because I've seen only 3 cc1plus most of the time with 'top' #ok for non-distcc: mk_add_options MOZ_MAKE_FLAGS="-j4" #now distcc is on: #mk_add_options MOZ_MAKE_FLAGS="CC='distcc gcc' CXX='distcc g++' -j6" #^ well wtf: 0:05.97 make: *** No rule to make target 'gcc''. Stop. #src: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Mozilla_build_FAQ#Making_builds_faster #Ok, next, different way a' la: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Using_Icecream #it just uses 4 cores locally, most of the time: #export CC="distcc gcc" #export CXX="distcc g++" #distcc isn't distributing because, slave says: #distccd[16478] (dcc_readx) ERROR: unexpected eof on fd5 #distccd[16478] (dcc_r_token_int) ERROR: read failed while waiting for token "DOTI" #and local says: # 1:50.67 distcc[13126] ERROR: compile /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/pathsub.c on 192.168.1.233/3 failed with exit code 111 # 1:50.67 distcc[13126] (dcc_build_somewhere) Warning: remote compilation of '/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/pathsub.c' failed, retrying locally # 1:50.67 distcc[13126] Warning: failed to distribute /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/pathsub.c to 192.168.1.233/3, running locally instead # 1:50.67 distcc[13125] ERROR: compile /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/nsinstall.c on 192.168.1.233/3 failed with exit code 111 # 1:50.67 distcc[13125] (dcc_build_somewhere) Warning: remote compilation of '/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/nsinstall.c' failed, retrying locally # 1:50.67 distcc[13125] Warning: failed to distribute /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/nsinstall.c to 192.168.1.233/3, running locally instead # 1:50.91 distcc[13126] (dcc_please_send_email_after_investigation) Warning: remote compilation of '/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/pathsub.c' failed, retried locally and got a different result. # 1:51.01 distcc[13125] (dcc_please_send_email_after_investigation) Warning: remote compilation of '/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/nsinstall.c' failed, retried locally and got a different result. #export DISTCC_HOSTS="192.168.1.233/3 localhost/4" #^this isn't needed! ##mk_add_options MOZ_MAKE_FLAGS="-j6" #ok, maybe we don't need the above at all! and let makepkg do this #I guess we do then?: 1:52.16 /usr/bin/ld: host_nsinstall.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC # 1:52.16 host_nsinstall.o: error adding symbols: Bad value # 1:52.16 collect2: error: ld returned 1 exit status #let's see my way: #export CC="/usr/lib/distcc/bin/gcc" #export CXX="/usr/lib/distcc/bin/g++" #well... 1:46.65 Executing: /usr/lib/distcc/bin/gcc -std=gnu99 -o nsinstall_real -DXP_UNIX -MD -MP -MF .deps/nsinstall_real.pp -O2 -DDEBUG=1 -DTRACING=1 -D_UNICODE -DUNICODE host_nsinstall.o host_pathsub.o # 1:46.65 /usr/bin/ld: host_nsinstall.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC # 1:46.65 host_nsinstall.o: error adding symbols: Bad value #1:46.65 collect2: error: ld returned 1 exit status mk_add_options MOZ_MAKE_FLAGS="-j4" #-j5 78m34s and 78:31.08 Overall system resources - Wall time: 4684s; CPU: 96%; Read bytes: 345931776; Write bytes: 1585983488; Read time: 13381; Write time: 4511 #-j4 70min and 70:04.20 Overall system resources - Wall time: 4184s; CPU: 96%; Read bytes: 190730240; Write bytes: 2280861696; Read time: 4996; Write time: 4777 #I literally recompiled the same thing after a make clean, so... wtf? #nevermind - ccache is good!//this seems useless! because if I delete MOZ_OBJDIR it will ccache miss everything basically; ok nevermind, it seems to work now - reran after successful compile and it does get hundreds of hits! ok, after make clean, ccache misses all the time!! wtf is this?! r u friggin' kidding me!!!!(and I haven't updated anything in mercurial! eg. ran ./2 not ./1 and ./2) - well, ok, this might be because this variant was never cached(only a few files at the end, if even that)!! soooo... my bad then! assume ccache works! actually, you know what? I just make clean again after 21mins, hit ./2 and now we'll see if ccache hits!!! so, from 258444 to 258474 after configure and then to 258779 and it's been 14mins already(took 71mins+those 21min=92min total))! so I'm not sure it qualifies! but no worries, I'll make clean after it's done and ./2 to see if ccache works! wait... ok so during export cache misses, 259201 of hits atm...now it's compile and it cache hits(but also misses some)! thank god! finished at 261359 hits in 12m30s.; ok now, make clean again, put a new mozconfig with two options changed(extensions stuff not disabled), and cache misses (at 261392 hits now - no change lately) been 21mins. ac_add_options --with-ccache=/usr/bin/ccache #^ ok, ccache using too much space in ~/.ccache/ dir - so disabled! #I mean, 80:29.06 ccache (direct) hit rate: 9.6%; (preprocessed) hit rate: 1.3%; miss rate: 89.0% - for that, it's probably not worth it!!! #so it was 70GB in ccache, using 26G of ssd space(btrfs+lzo) #ac_add_options --without-ccache #72min build w/o ccache! with debug&symbols!(no strip) #src: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options mk_add_options MOZ_OBJDIR=/tmp/obj-@CONFIG_GUESS@ ac_add_options --enable-rust #^ src: https://developer.mozilla.org/en-US/Firefox/Building_Firefox_with_Rust_code # vim:set ft=sh: ---------- so now it doesn't crash on startup, but it seems to still coredump on exit, but whatevs! :) firefox-hg $ time ./mach run 0:00.83 /tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile /tmp/obj-x86_64-pc-linux-gnu/tmp/scratch_user [3585] WARNING: Unable to read system value: 'aValue > 0', file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/xpcom/base/nsSystemInfo.cpp, line 908 [3585] WARNING: Last startup was detected as a crash.: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/toolkit/components/startup/nsAppStartup.cpp, line 903 ++DOCSHELL 0x7f15c3ec9000 == 1 [pid = 3585] [id = 1] ++DOMWINDOW == 1 (0x7f15c3ec9800) [pid = 3585] [serial = 1] [outer = (nil)] ++DOMWINDOW == 2 (0x7f15c3eca800) [pid = 3585] [serial = 2] [outer = 0x7f15c3ec9800] ++DOCSHELL 0x7f15bddba800 == 2 [pid = 3585] [id = 2] ++DOMWINDOW == 3 (0x7f15bddbc000) [pid = 3585] [serial = 3] [outer = (nil)] ++DOMWINDOW == 4 (0x7f15bddbd000) [pid = 3585] [serial = 4] [outer = 0x7f15bddbc000] ++DOMWINDOW == 5 (0x7f15bd27e000) [pid = 3585] [serial = 5] [outer = 0x7f15c3ec9800] [3585] WARNING: attempt to modify an immutable nsStandardURL: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/netwerk/base/nsStandardURL.cpp, line 1424 JavaScript error: resource://gre/modules/LoginManagerContextMenu.jsm, line 22: ReferenceError: Intl is not defined ++DOCSHELL 0x7f15b6a83000 == 3 [pid = 3585] [id = 3] ++DOMWINDOW == 6 (0x7f15b6a83800) [pid = 3585] [serial = 6] [outer = (nil)] ++DOCSHELL 0x7f15b6a84000 == 4 [pid = 3585] [id = 4] ++DOMWINDOW == 7 (0x7f15b6aa8400) [pid = 3585] [serial = 7] [outer = (nil)] ++DOCSHELL 0x7f15b5e0d000 == 5 [pid = 3585] [id = 5] ++DOMWINDOW == 8 (0x7f15b5e2b000) [pid = 3585] [serial = 8] [outer = (nil)] ++DOMWINDOW == 9 (0x7f15b5d21800) [pid = 3585] [serial = 9] [outer = 0x7f15b5e2b000] /tmp/obj-x86_64-pc-linux-gnu/dist/bin/plugin-container: /usr/lib/firefox/libxul.so: version `xul51a1' not found (required by /tmp/obj-x86_64-pc-linux-gnu/dist/bin/plugin-container) [Parent 3585] WARNING: pipe error (39): Connection reset by peer: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 320 [Parent 3585] WARNING: pipe error (44): Connection reset by peer: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 320 [Parent 3585] WARNING: pipe error (43): Connection reset by peer: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 320 [Parent 3585] WARNING: pipe error (42): Connection reset by peer: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 320 ###!!! [Parent][MessageChannel] Error: (msgtype=0x4A0001,name=PContent::Msg_PBrowserConstructor) Channel error: cannot send/recv [Parent 3585] ###!!! ASSERTION: Couldn't create child process.: 'Error', file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsFrameLoader.cpp, line 845 ###!!! [Parent][MessageChannel] Error: (msgtype=0x4A0001,name=PContent::Msg_PBrowserConstructor) Channel error: cannot send/recv [Parent 3585] WARNING: Couldn't create child process for iframe.: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsFrameLoader.cpp, line 393 JavaScript error: chrome://global/content/bindings/remote-browser.xml, line 260: TypeError: frameLoader.tabParent is null ++DOMWINDOW == 10 (0x7f15b5999800) [pid = 3585] [serial = 10] [outer = 0x7f15b6a83800] ++DOMWINDOW == 11 (0x7f15b6353800) [pid = 3585] [serial = 11] [outer = 0x7f15b6aa8400] ###!!! [Parent][OnMaybeDequeueOne] Error: Channel error: cannot send/recv [Parent 3585] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 22 JavaScript error: chrome://global/content/bindings/remote-browser.xml, line 272: TypeError: frameLoader.tabParent is null JavaScript error: chrome://global/content/bindings/remote-browser.xml, line 44: NS_ERROR_NOT_INITIALIZED: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMessageSender.sendAsyncMessage] JavaScript error: chrome://global/content/bindings/remote-browser.xml, line 44: NS_ERROR_NOT_INITIALIZED: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMessageSender.sendAsyncMessage] JavaScript error: chrome://global/content/bindings/remote-browser.xml, line 338: NS_ERROR_NOT_INITIALIZED: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMessageSender.sendAsyncMessage] --DOCSHELL 0x7f15b6a84000 == 4 [pid = 3585] [id = 4] JavaScript error: resource:///modules/BrowserUsageTelemetry.jsm, line 122: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver] --DOCSHELL 0x7f15c3ec9000 == 3 [pid = 3585] [id = 1] --DOCSHELL 0x7f15b5e0d000 == 2 [pid = 3585] [id = 5] --DOCSHELL 0x7f15bddba800 == 1 [pid = 3585] [id = 2] --DOCSHELL 0x7f15b6a83000 == 0 [pid = 3585] [id = 3] ]: [Parent 3585] WARNING: NS_ENSURE_TRUE(maybeContext) failed: file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/xpcom/threads/nsThread.cpp, line 911 [Parent 3585] WARNING: 'NS_FAILED(RemovePermissionChangeObserver())', file /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/notification/Notification.cpp, line 677 WARNING: YOU ARE LEAKING THE WORLD (at least one JSRuntime and everything alive inside it, that is) AT JS_ShutDown TIME. FIX THIS! Assertion failure: uses_ == 0, at /home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/js/src/vm/TraceLogging.h:138 Program /tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox (pid = 3585) received signal 11. Stack: #01: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3adf3f9] #02: ???[/usr/lib/libpthread.so.0 +0x10f00] #03: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x38b97b1] #04: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x38ba79a] #05: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x38baccc] #06: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x38b895b] #07: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0xb96071] #08: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3400f0c] #09: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3400f5d] #10: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x340626b] #11: XRE_main[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x34064b1] #12: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox +0x5e39] #13: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox +0x5434] #14: __libc_start_main[/usr/lib/libc.so.6 +0x20741] #15: _start[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox +0x5629] #16: ??? (???:???) Sleeping for 300 seconds. Type 'gdb /tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox 3585' to attach your debugger to this thread. ^C real 0m23.259s user 0m10.840s sys 0m2.165s _______________________________________________ dev-builds mailing list dev-builds@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-builds