Closed Bug 994859 Opened 10 years ago Closed 3 years ago

Crash at assertion "Could not find EV root in NSS storage" in debug build

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jryans, Unassigned)

Details

(Keywords: crash)

Attachments

(2 files)

STR:

1. Make a Fennec debug build locally (I've attached my mozconfig)
2. Install it and connect with JimDB
3. Tap a square on the new tab page to try to go to a site
4. Segfault!

Here's the backtrace:

#0  0x400d8ade in ?? () from /Users/jryans/projects/mozilla/jimdb-arm/lib/028b40c2d94f8711/system/lib/libc.so
#1  0x400d61d8 in abort () from /Users/jryans/projects/mozilla/jimdb-arm/lib/028b40c2d94f8711/system/lib/libc.so
#2  0x704110f2 in PR_Assert (s=0x9ac736e8 "Could not find EV root in NSS storage", file=0x9ac7365c "/Users/jryans/projects/mozilla/gecko-dev-2/security/certverifier/ExtendedValidation.cpp", ln=942)
    at /Users/jryans/projects/mozilla/gecko-dev-2/nsprpub/pr/src/io/prlog.c:554
#3  0x9771fb98 in mozilla::psm::IdentityInfoInit () at /Users/jryans/projects/mozilla/gecko-dev-2/security/certverifier/ExtendedValidation.cpp:942
#4  0x7040bfd4 in PR_CallOnce (once=0x9c0dbe54 <mozilla::psm::sIdentityInfoCallOnce>, func=0x9771faa1 <mozilla::psm::IdentityInfoInit()>) at /Users/jryans/projects/mozilla/gecko-dev-2/nsprpub/pr/src/misc/prinit.c:775
#5  0x9771fd48 in mozilla::psm::EnsureIdentityInfoLoaded () at /Users/jryans/projects/mozilla/gecko-dev-2/security/certverifier/ExtendedValidation.cpp:989
#6  0x99c6d9b0 in mozilla::psm::InitializeIdentityInfo::CalculateResult (this=0xbacc9120) at /Users/jryans/projects/mozilla/gecko-dev-2/security/manager/ssl/src/SSLServerCertVerification.cpp:1337
#7  0x99c583e8 in mozilla::CryptoTask::Run (this=0xbacc9120) at /Users/jryans/projects/mozilla/gecko-dev-2/security/manager/ssl/src/CryptoTask.cpp:40
#8  0x977f0de4 in nsThreadPool::Run (this=0x5eb167c0) at /Users/jryans/projects/mozilla/gecko-dev-2/xpcom/threads/nsThreadPool.cpp:211
#9  0x977ee99e in nsThread::ProcessNextEvent (this=0xbbc33380, mayWait=false, result=0x9c58bdef) at /Users/jryans/projects/mozilla/gecko-dev-2/xpcom/threads/nsThread.cpp:694
#10 0x9773ffcc in NS_ProcessNextEvent (thread=0xbbc33380, mayWait=false) at /Users/jryans/projects/mozilla/gecko-dev-2/xpcom/glue/nsThreadUtils.cpp:263
#11 0x97bd8342 in mozilla::ipc::MessagePumpForNonMainThreads::Run (this=0xbac3b370, aDelegate=0xbad339e0) at /Users/jryans/projects/mozilla/gecko-dev-2/ipc/glue/MessagePump.cpp:307
#12 0x97b8117c in MessageLoop::RunInternal (this=0xbad339e0) at /Users/jryans/projects/mozilla/gecko-dev-2/ipc/chromium/src/base/message_loop.cc:226
#13 0x97b81116 in MessageLoop::RunHandler (this=0xbad339e0) at /Users/jryans/projects/mozilla/gecko-dev-2/ipc/chromium/src/base/message_loop.cc:219
#14 0x97b810be in MessageLoop::Run (this=0xbad339e0) at /Users/jryans/projects/mozilla/gecko-dev-2/ipc/chromium/src/base/message_loop.cc:193
#15 0x977edb64 in nsThread::ThreadFunc (arg=0xbbc33380) at /Users/jryans/projects/mozilla/gecko-dev-2/xpcom/threads/nsThread.cpp:308
#16 0x70428b06 in _pt_root (arg=0xbbc33600) at /Users/jryans/projects/mozilla/gecko-dev-2/nsprpub/pr/src/pthreads/ptthread.c:212
#17 0x400cc53c in __thread_entry () from /Users/jryans/projects/mozilla/jimdb-arm/lib/028b40c2d94f8711/system/lib/libc.so
#18 0x400cbc28 in pthread_create () from /Users/jryans/projects/mozilla/jimdb-arm/lib/028b40c2d94f8711/system/lib/libc.so
#19 0x00000000 in ?? ()
Is this a recent regression?
I see similar crashes when building the release branch (28) in the same way, so...  I must be doing something wrong here, but I don't know what.
Does this happen if you try to load a URL by typing it in the urlbar?
URLs don't work either.  However, I've realized that the issue was caused by my use of "--enable-debug".  If I use "--enable-debug-symbols" instead it runs just fine and the debugger is usable.

Should this be documented somewhere so others don't encounter this?  The strange thing is the mozconfig in mobile/android/config/mozconfigs/android/debug[1] does use enable-debug, so I assumed it would be okay...

[1]: http://dxr.mozilla.org/mozilla-central/source/mobile/android/config/mozconfigs/android/debug
(In reply to J. Ryan Stinnett [:jryans] from comment #4)
> URLs don't work either.  However, I've realized that the issue was caused by
> my use of "--enable-debug".  If I use "--enable-debug-symbols" instead it
> runs just fine and the debugger is usable.
> 
> Should this be documented somewhere so others don't encounter this?

I added a line here: https://wiki.mozilla.org/Mobile/Fennec/Android#Setup_Fennec_mozconfig

> The strange thing is the mozconfig in
> mobile/android/config/mozconfigs/android/debug[1] does use enable-debug, so
> I assumed it would be okay...
> 
> [1]:
> http://dxr.mozilla.org/mozilla-central/source/mobile/android/config/
> mozconfigs/android/debug

That is weird. I know esawin said he was running debug builds. esawin, do you use --enable-debug or --enable-debug-symbols?

If --enable-debug really is broken, I think we should morph this bug to be about fixing that.
Flags: needinfo?(esawin)
I actually have both in my config, I assume the latter overrides it:
ac_add_options --disable-optimize
ac_add_options --enable-debug
ac_add_options --enable-debug-symbols="-gdwarf-2"
Flags: needinfo?(esawin)
It's not reproducing without --enable-debug-symbols for me either.
Hmm, that's somewhat confusing then.

I just noticed I'm apparently using a non-canonical NDK: I've got r9b here, instead of the supported r8e.  I'll ni? myself to try it again with the right setup.
Flags: needinfo?(jryans)
And in news that will surprise no one, using the supported NDK resolves this issue.  Sorry for the noise.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jryans)
Resolution: --- → WORKSFORME
We will want to upgrade to support r9b at some point.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
I am also found this issue under Win32.
I've hit this on Gentoo Linux 64bit(hardened, + grsecurity) just by enabling USE=debug  (which apparently selected --enable-debug and 2 similar others which I can't remember right now)

This happened on startup while loading the gmail tab (restored previous session automatically at startup):

...
[13047] WARNING: preserving unexpected JS escape sequence: file /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/modules/libpref/prefread.cpp, line 405
Assertion failure: Could not find EV root in NSS storage, at /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/security/certverifier/ExtendedValidation.cpp:1246
Redirecting call to abort() to mozalloc_abort

Hit MOZ_CRASH() at /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/memory/mozalloc/mozalloc_abort.cpp:33

Program firefox (pid = 13047) received signal 11.
Stack:
#01: ???[/lib64/libpthread.so.0 +0x110f0]
#02: mozalloc_abort(char const*)[firefox +0x7f47]
#03: mozalloc_abort(char const*)[firefox +0x7ed2]
#04: ???[/usr/lib64/libnspr4.so +0x1323d]
#05: ???[/usr/lib64/firefox/libxul.so +0x966d96]
#06: PR_CallOnce[/usr/lib64/libnspr4.so +0x20cca]
#07: ???[/usr/lib64/firefox/libxul.so +0x313718d]
#08: ???[/usr/lib64/firefox/libxul.so +0x3129442]
#09: ???[/usr/lib64/firefox/libxul.so +0xa128cd]
#10: ???[/usr/lib64/firefox/libxul.so +0xa11e12]
#11: ???[/usr/lib64/firefox/libxul.so +0xa40b6c]
#12: ???[/usr/lib64/firefox/libxul.so +0xd6897c]
#13: ???[/usr/lib64/firefox/libxul.so +0xd2dd87]
#14: ???[/usr/lib64/firefox/libxul.so +0xd2de20]
#15: ???[/usr/lib64/firefox/libxul.so +0xa1239f]
#16: ???[/usr/lib64/libnspr4.so +0x32b3f]
#17: ???[/lib64/libpthread.so.0 +0x750c]
#18: clone[/lib64/libc.so.6 +0xf414d]
#19: ??? (???:???)
Sleeping for 300 seconds.
Type 'gdb firefox 13047' to attach your debugger to this thread.
++DOCSHELL 0x37a3c2cf600 == 1 [pid = 13047] [id = 1]
++DOMWINDOW == 1 (0x37a3b843800) [pid = 13047] [serial = 1] [outer = (nil)]
[13047] WARNING: Enabling vsync refresh driver: file /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/layout/base/nsRefreshDriver.cpp, line 862
[13047] WARNING: Hardware Vsync support not yet implemented. Falling back to software timers: file /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/gfx/thebes/gfxPlatform.cpp, line 2343
++DOMWINDOW == 2 (0x37a3b83c400) [pid = 13047] [serial = 2] [outer = 0x37a3b843800]
++DOCSHELL 0x37a3871a200 == 2 [pid = 13047] [id = 2]
++DOMWINDOW == 3 (0x37a38781c00) [pid = 13047] [serial = 3] [outer = (nil)]
++DOMWINDOW == 4 (0x37a3878d000) [pid = 13047] [serial = 4] [outer = 0x37a38781c00]
++DOMWINDOW == 5 (0x37a387e7c00) [pid = 13047] [serial = 5] [outer = 0x37a3b843800]
++DOCSHELL 0x37a32879300 == 3 [pid = 13047] [id = 3]
++DOMWINDOW == 6 (0x37a3238e000) [pid = 13047] [serial = 6] [outer = (nil)]
++DOCSHELL 0x37a32879800 == 4 [pid = 13047] [id = 4]
++DOMWINDOW == 7 (0x37a3238e400) [pid = 13047] [serial = 7] [outer = (nil)]
JavaScript warning: chrome://noscript/content/noscriptOverlay.js, line 434: JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead
JavaScript warning: chrome://noscript/content/noscriptOverlay.js, line 613: JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead
...


I attached gdb as suggested:
...
Reading symbols from /usr/lib64/libXinerama.so.1...done.
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185	62:	movl	(%rsp), %edi
(gdb)set logging overwrite on
(gdb)set logging file attachment.txt
(gdb)set logging on
(gdb)set pagination off
(gdb) thread apply all bt full

(^ the output of this is in attachment)


More info(gentoo specific):
# emerge --info firefox
Portage 2.2.20.1 (python 3.4.3-final-0, hardened/linux/amd64/no-multilib, gcc-5.2.0, glibc-2.21-r1, 4.1.6-hardened-r1-g45b4b78 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.6-hardened-r1-g45b4b78-x86_64-AMD_A6-3400M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:    10809864 total,   5887040 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 04 Sep 2015 00:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.3 [enabled]
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 5.2.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb -fvar-tracking-assignments -fno-omit-frame-pointer -ftrack-macro-expansion=2 -fstack-protector-all -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -ggdb -fvar-tracking-assignments -fno-omit-frame-pointer -ftrack-macro-expansion=2 -fstack-protector-all -fPIC"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup collision-protect config-protect-if-modified distlocks downgrade-backup ebuild-locks fakeroot fixlafiles force-mirror installsources ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch parallel-install prelink-checksums preserve-libs sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-backup unmerge-logs userfetch userpriv usersandbox webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://tux.rainside.sk/gentoo/ http://de-mirror.org/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/"
INSTALL_MASK="/lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd /etc/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X acl amd64 berkdb bindist btrfs bzip2 cli consolekit cracklib crypt cryptsetup cscope cxx dbus device-mapper dri egl extensions gdbm git gpg gpm gtk3 hardened iconv jpeg justify lock mmx mmxext modules mosh-hardening ncurses nptl openmp pam pax_kernel pcre pie policykit pulseaudio qt4 readline seccomp session sse sse2 sse3 ssl ssp startup-notification strong-security system-icu system-jpeg system-libvpx system-sqlite urandom xattr xcomposite xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="virtualbox" XFCE_PLUGINS="brightness clock trash battery power" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-client/firefox-40.0.3::gentoo was built with the following:
USE="bindist dbus debug egl gstreamer hardened jemalloc3 pulseaudio startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite -custom-cflags -custom-optimization (-gmp-autoupdate) -gstreamer-0 -jit -minimal (-neon) (-pgo) (-selinux) -test -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-pipe -march=native -ggdb -fno-omit-frame-pointer -fstack-protector-all -fPIC"
CXXFLAGS="-pipe -march=native -ggdb -fno-omit-frame-pointer -fstack-protector-all -fPIC"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro,-z,now"
I'm dealing with the same issue on Firefox 41 compiled for Linux:

Assertion failure: Could not find EV root in NSS storage, at /home/fraga/src/mozilla/security/certverifier/ExtendedValidation.cpp:1246
Redirecting call to abort() to mozalloc_abort

Hit MOZ_CRASH() at /home/fraga/src/mozilla/memory/mozalloc/mozalloc_abort.cpp:33

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb8dc3700 (LWP 10195)]
mozalloc_abort (msg=msg@entry=0x41cb00 "Redirecting call to abort() to mozalloc_abort\n") at /home/fraga/src/mozilla/memory/mozalloc/mozalloc_abort.cpp:33
33          MOZ_CRASH();
(gdb) bt
#0  mozalloc_abort (msg=msg@entry=0x41cb00 "Redirecting call to abort() to mozalloc_abort\n") at /home/fraga/src/mozilla/memory/mozalloc/mozalloc_abort.cpp:33
#1  0x000000000040522c in abort () at /home/fraga/src/mozilla/memory/mozalloc/mozalloc_abort.cpp:80
#2  0x00007fffef066857 in PR_Assert (s=s@entry=0x7ffff4fd7db6 "Could not find EV root in NSS storage", 
    file=file@entry=0x7ffff4fd7d60 "/home/fraga/src/mozilla/security/certverifier/ExtendedValidation.cpp", ln=ln@entry=1246) at prlog.c:559
#3  0x00007ffff2485788 in mozilla::psm::IdentityInfoInit () at /home/fraga/src/mozilla/security/certverifier/ExtendedValidation.cpp:1246
#4  0x00007fffef0724ca in PR_CallOnce (once=once@entry=0x7ffff6a50a88 <mozilla::psm::sIdentityInfoCallOnce>, func=func@entry=0x7ffff2485684 <mozilla::psm::IdentityInfoInit()>)
    at prinit.c:778
#5  0x00007ffff2485d42 in mozilla::psm::EnsureIdentityInfoLoaded () at /home/fraga/src/mozilla/security/certverifier/ExtendedValidation.cpp:1295
#6  0x00007ffff4319fef in mozilla::psm::InitializeIdentityInfo::CalculateResult (this=<optimized out>) at /home/fraga/src/mozilla/security/manager/ssl/SSLServerCertVerification.cpp:1576
#7  0x00007ffff430caae in mozilla::CryptoTask::Run (this=0x7fffe0884b00) at /home/fraga/src/mozilla/security/manager/ssl/CryptoTask.cpp:53
#8  0x00007ffff24ff923 in nsThreadPool::Run (this=0x7fffe57e51c0) at /home/fraga/src/mozilla/xpcom/threads/nsThreadPool.cpp:221
#9  0x00007ffff24ff121 in nsThread::ProcessNextEvent (this=0x7fffbd2d2120, aMayWait=<optimized out>, aResult=0x7fffb8dc2d9f) at /home/fraga/src/mozilla/xpcom/threads/nsThread.cpp:849
#10 0x00007ffff25270c8 in NS_ProcessNextEvent (aThread=0x7fffbd2d2120, aMayWait=<optimized out>) at /home/fraga/src/mozilla/xpcom/glue/nsThreadUtils.cpp:265
#11 0x00007ffff278f04d in mozilla::ipc::MessagePumpForNonMainThreads::Run (this=0x7fffe0884c80, aDelegate=0x7fffbc99cd60) at /home/fraga/src/mozilla/ipc/glue/MessagePump.cpp:326
#12 0x00007ffff2767a67 in MessageLoop::RunInternal (this=0x7fffbc99cd60) at /home/fraga/src/mozilla/ipc/chromium/src/base/message_loop.cc:234
#13 0x00007ffff2767a97 in MessageLoop::RunHandler (this=<optimized out>) at /home/fraga/src/mozilla/ipc/chromium/src/base/message_loop.cc:227
#14 MessageLoop::Run (this=this@entry=0x7fffbc99cd60) at /home/fraga/src/mozilla/ipc/chromium/src/base/message_loop.cc:201
#15 0x00007ffff24ff4a2 in nsThread::ThreadFunc (aArg=0x7fffbd2d2120) at /home/fraga/src/mozilla/xpcom/threads/nsThread.cpp:360
#16 0x00007fffef082454 in _pt_root (arg=0x7fffc6fd69c0) at ptthread.c:212
#17 0x00007ffff7bc3684 in start_thread () from /lib64/libpthread.so.0
#18 0x00007ffff6e551cd in clone () from /lib64/libc.so.6

Any hint?
This assertion immediately follows the comment: "If an entry is missing in the NSS root database, it may be because the root database is out of sync with what we expect (e.g. a different version of system NSS is installed). We will just silently avoid treating that root cert as EV."

I'm guessing that the assertion is just wrong.
I am another Gentoo Linux user with USE=debug which translates into 'configure --enable-debug --enable-debug-symbols'. I hit this:

[23387] WARNING: NS_ENSURE_SUCCESS(rv, NS_OK) failed with result 0x80004005: file /var/tmp/portage/www-client/firefox-44.0/work/firefox-44.0/dom/security/nsContentSecurityManager.cpp, line 430
[23387] WARNING: Could not get disk status from nsIDiskSpaceWatcher: file /var/tmp/portage/www-client/firefox-44.0/work/firefox-44.0/uriloader/prefetch/nsOfflineCacheUpdateService.cpp, line 319
Assertion failure: Could not find EV root in NSS storage, at /var/tmp/portage/www-client/firefox-44.0/work/firefox-44.0/security/certverifier/ExtendedValidation.cpp:1277
Redirecting call to abort() to mozalloc_abort

Hit MOZ_CRASH() at /var/tmp/portage/www-client/firefox-44.0/work/firefox-44.0/memory/mozalloc/mozalloc_abort.cpp:33

Program firefox (pid = 23387) received signal 11.
Stack:
#01: ???[/usr/lib64/firefox/libxul.so +0x48b4831]
#02: ???[/lib64/libpthread.so.0 +0x10680]
#03: mozalloc_abort(char const*)[firefox +0x6387]
#04: mozalloc_abort(char const*)[firefox +0x6330]
#05: ???[/usr/lib64/libnspr4.so +0x1118c]
#06: ???[/usr/lib64/firefox/libxul.so +0x9e397e]
#07: PR_CallOnce[/usr/lib64/libnspr4.so +0x1b5fa]
#08: ???[/usr/lib64/firefox/libxul.so +0x3cdd120]
#09: ???[/usr/lib64/firefox/libxul.so +0xaa1dfc]
#10: ???[/usr/lib64/firefox/libxul.so +0xaa73af]
#11: ???[/usr/lib64/firefox/libxul.so +0xae476c]
#12: ???[/usr/lib64/firefox/libxul.so +0xef583a]
#13: ???[/usr/lib64/firefox/libxul.so +0xe8622b]
#14: ???[/usr/lib64/firefox/libxul.so +0xe862d7]
#15: ???[/usr/lib64/firefox/libxul.so +0xaa0afb]
#16: ???[/usr/lib64/libnspr4.so +0x2955b]
#17: ???[/lib64/libpthread.so.0 +0x7324]
#18: clone[/lib64/libc.so.6 +0xe8b2d]
#19: ??? (???:???)
Sleeping for 300 seconds.
Type 'gdb firefox 23387' to attach your debugger to this thread.

Could this be related to about:config values? I was just following https://wiki.installgentoo.com/index.php/Firefox and after I got to about 2/3 of the listing I started to have problems.
Still happens:

Assertion failure: Could not find EV root in NSS storage, at /scratch/var/tmp/portage/www-client/seamonkey-2.48_beta1/work/seamonkey-2.48b1/mozilla/security/certverifier/ExtendedValidation.cpp:1352
Redirecting call to abort() to mozalloc_abort

Have dev-libs/nss-3.31 installed and dev-db/sqlite-3.19.3.
Assertion failure: iEV < NUM_TEST_EV_ROOTS (Could not find built-in EV root), at /scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/mozilla/security/certverifier/ExtendedValidation.cpp:1295
Sorry, I pushed Send too quickly. The issue is now more pressing because I cannot install seamonkey anymore. It is being built from 


Assertion failure: iEV < NUM_TEST_EV_ROOTS (Could not find built-in EV root), at /scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/mozilla/security/certverifier/ExtendedValidation.cpp:1295
...
stacktrace is useless as you force -O2 into C(XX)FLAGS
...
Traceback (most recent call last):
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 415, in <module>
    main()
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 409, in main
    args.source, gre_path, base)
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/mozilla/toolkit/mozapps/installer/packager.py", line 166, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/mozilla/python/mozbuild/mozpack/errors.py", line 103, in fatal
    self._handle(self.FATAL, msg)
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/mozilla/python/mozbuild/mozpack/errors.py", line 98, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[1]: *** [/scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/mozilla/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1
make[1]: Leaving directory '/scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/seamonk/suite/installer'
make: *** [/scratch/var/tmp/portage/www-client/seamonkey-2.49.2.0_p0/work/thunderbird-52.2.0/mozilla/../suite/build.mk:16: install] Error 2
[3444] WARNING: NSS will be initialized without a profile directory. Some things may not work as expected.: file /scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/security/manager/ssl/nsNSSComponent.cpp, line 1716
Assertion failure: iEV < NUM_TEST_EV_ROOTS (Could not find built-in EV root), at /scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/security/certverifier/ExtendedValidation.cpp:1295
#01: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1003e10]
#02: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x4745742]
#03: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x4745f7c]
#04: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x4746084]
#05: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1102fdd]
#06: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10c0d2d]
#07: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10c15c9]
#08: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x11191a9]
#09: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x11191c0]
#10: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x4732f57]
#11: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x473c1f8]
#12: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1102fdd]
#13: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10bfffb]
#14: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10c0815]
#15: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b45b5e]
#16: NS_InvokeByIndex[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10f2bf4]
#17: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b7840c]
#18: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b80cbb]
#19: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57bf380]
#20: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57b64eb]
#21: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57b69a2]
#22: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57aebea]
#23: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57b61c8]
#24: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57bd11d]
#25: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57bd3b8]
#26: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x556a2ab]
#27: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x556d5b7]
#28: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1af2a48]
#29: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1af4b5b]
#30: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1af66c7]
#31: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b11b92]
#32: NS_InvokeByIndex[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10f2bf4]
#33: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b7840c]
#34: ???[[3444] WARNING: NSS will be initialized without a profile directory. Some things may not work as expected.: file /scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/security/manager/ssl/nsNSSComponent.cpp, line 1716
Assertion failure: iEV < NUM_TEST_EV_ROOTS (Could not find built-in EV root), at /scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/security/certverifier/ExtendedValidation.cpp:1295
#01: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1003e10]
#02: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x4745742]
#03: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x4745f7c]
#04: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x4746084]
#05: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1102fdd]
#06: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10c0d2d]
#07: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10c15c9]
#08: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x11191a9]
#09: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x11191c0]
#10: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x4732f57]
#11: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x473c1f8]
#12: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1102fdd]
#13: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10bfffb]
#14: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10c0815]
#15: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b45b5e]
#16: NS_InvokeByIndex[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10f2bf4]
#17: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b7840c]
#18: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b80cbb]
#19: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57bf380]
#20: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57b64eb]
#21: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57b69a2]
#22: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57aebea]
#23: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57b61c8]
#24: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57bd11d]
#25: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x57bd3b8]
#26: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x556a2ab]
#27: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x556d5b7]
#28: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1af2a48]
#29: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1af4b5b]
#30: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1af66c7]
#31: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b11b92]
#32: NS_InvokeByIndex[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x10f2bf4]
#33: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b7840c]
#34: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b80cbb]
#35: ??? (???:???)
Traceback (most recent call last):
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/toolkit/mozapps/installer/packager.py", line 415, in <module>
    main()
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/toolkit/mozapps/installer/packager.py", line 409, in main
    args.source, gre_path, base)
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/toolkit/mozapps/installer/packager.py", line 166, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/python/mozbuild/mozpack/errors.py", line 103, in fatal
    self._handle(self.FATAL, msg)
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/python/mozbuild/mozpack/errors.py", line 98, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[1]: *** [/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1
make[1]: Leaving directory '/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/suite/installer'
/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/dist/bin/libxul.so +0x1b80cbb]
#35: ??? (???:???)
Traceback (most recent call last):
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/toolkit/mozapps/installer/packager.py", line 415, in <module>
    main()
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/toolkit/mozapps/installer/packager.py", line 409, in main
    args.source, gre_path, base)
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/toolkit/mozapps/installer/packager.py", line 166, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/python/mozbuild/mozpack/errors.py", line 103, in fatal
    self._handle(self.FATAL, msg)
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/python/mozbuild/mozpack/errors.py", line 98, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[1]: *** [/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1
make[1]: Leaving directory '/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/seamonk/suite/installer'
make: *** [/scratch/var/tmp/portage/www-client/seamonkey-2.49.5.0_p0/work/thunderbird-52.5.0/mozilla/../suite/build.mk:16: install] Error 2
 * ERROR: www-client/seamonkey-2.49.5.0_p0::gentoo failed (install phase):
 *   emake failed


Aside from the actual issue I think some mozilla-provided wrapper does not call gdb in the above stacktrace with some arguments to tricker gdb to use the mozilla libraries from local, temporary tree and not those system-wide (from a presumably older seamonkey installation). Hence the stactrace is useless. If somebody tell how to run the dbg manually again I will be happy to provide a resolved stacktrace.

For full detais see https://bugs.gentoo.org/628012 and I am happy to provide other config files or directory listings.
Still an issue:

[24065] WARNING: NSS will be initialized without a profile directory. Some things may not work as expected.: file /scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/mozilla/security/manager/ssl/nsNSSComponent.cpp, line 1716
Assertion failure: iEV < NUM_TEST_EV_ROOTS (Could not find built-in EV root), at /scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/mozilla/security/certverifier/ExtendedValidation.cpp:1295
#01: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x4a7406f]
#02: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x4a749fe]
#03: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x4a74c35]
#04: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x10a178d]
#05: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x10a1d43]
#06: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x10fd534]
#07: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x4a6dd8c]
#08: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x4a6e595]
#09: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x10a0bbc]
#10: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x10a112e]
#11: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x1b5a5e3]
#12: NS_InvokeByIndex[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x10d5da9]
#13: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x1b9821d]
#14: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x1ba1b3d]
#15: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x5b736a1]
#16: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x5b6b3c5]
#17: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x5b5d82f]
#18: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x5b6b175]
#19: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x5b719d2]
#20: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x5b71e00]
#21: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x5904bcc]
#22: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x59081a5]
#23: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x1b0ecd5]
#24: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x1b12a92]
#25: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x1b1437e]
#26: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x1b2d91a]
#27: NS_InvokeByIndex[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x10d5da9]
#28: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x1b9821d]
#29: ???[/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/dist/bin/libxul.so +0x1ba1b3d]
#30: ??? (???:???)
Traceback (most recent call last):
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/mozilla/toolkit/mozapps/installer/packager.py", line 415, in <module>
    main()
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/mozilla/toolkit/mozapps/installer/packager.py", line 409, in main
    args.source, gre_path, base)
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/mozilla/toolkit/mozapps/installer/packager.py", line 166, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/mozilla/python/mozbuild/mozpack/errors.py", line 103, in fatal
    self._handle(self.FATAL, msg)
  File "/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/mozilla/python/mozbuild/mozpack/errors.py", line 98, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[1]: *** [/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/mozilla/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1
make[1]: Leaving directory '/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/seamonk/suite/installer'
make: *** [/scratch/var/tmp/portage/www-client/seamonkey-2.49.6.0_p0/work/thunderbird-52.6.0/mozilla/../suite/build.mk:16: install] Error 2
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: REOPENED → RESOLVED
Closed: 10 years ago3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: