Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701934 - =www-client/firefox-71.0 crashes at start
Summary: =www-client/firefox-71.0 crashes at start
Status: RESOLVED DUPLICATE of bug 701866
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-03 22:37 UTC by Sergei Trofimovich (RETIRED)
Modified: 2019-12-04 00:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info,21.96 KB, text/plain)
2019-12-03 22:37 UTC, Sergei Trofimovich (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2019-12-03 22:37:42 UTC
Created attachment 598376 [details]
emerge --info

SIGSEGV started happening after upgrade from 70.0.1 (downgrade rebuild works as well).

Backtrace:
$ gdb /usr/bin/firefox core.687825
...
Program terminated with signal SIGSEGV, Segmentation fault.
#0  raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
[Current thread is 1 (Thread 0x7f86d1b5d700 (LWP 687898))]
(gdb) bt
#0  0x00007f86f85be0f1 in raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f86f1a380da in nsProfileLock::FatalSignalHandler(int, siginfo_t*, void*) (signo=11, info=<optimized out>, context=0x7f86d1b5c080)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/toolkit/profile/nsProfileLock.cpp:169
#2  0x00007f86f11bf070 in WasmTrapHandler(int, siginfo_t*, void*) (signum=<optimized out>, info=<optimized out>, context=<optimized out>)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/js/src/wasm/WasmSignalHandlers.cpp:971
#3  0x00007f86f85be2f0 in <signal handler called> () at /lib64/libpthread.so.0
#4  0x00007f86f0e1c795 in NS_ABORT_OOM(unsigned long) (aSize=aSize@entry=3518351110) at ../../../xpcom/base/nsDebugImpl.cpp:604
#5  0x00007f86f4645e0f in nsTSubstring<char>::AllocFailed(unsigned long) (aLength=3518351110, this=<optimized out>)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/xpcom/string/nsTSubstring.h:1105
#6  0x00007f86f4645e0f in nsTSubstring<char>::Assign(nsTSubstringTuple<char> const&) (this=<optimized out>, aTuple=...)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/xpcom/string/nsTSubstring.cpp:547
#7  0x00007f86f28c5304 in nsTAutoStringN<char, 64ul>::nsTAutoStringN(nsTSubstringTuple<char> const&) (aTuple=..., this=0x7f86d1b5c850, this=<optimized out>, aTuple=...)
    at ../../dist/include/nsTSubstring.h:1349
#8  0x00007f86f28c5304 in mozilla::dom::indexedDB::(anonymous namespace)::Cursor::OpenOp::DoIndexKeyDatabaseWork(mozilla::dom::indexedDB::(anonymous namespace)::DatabaseConnection*)
    (this=0x7f86d82fbbb0, aConnection=0x7f86d7aed1c0) at ../../../dom/indexedDB/ActorsParent.cpp:26222
#9  0x00007f86f28c6808 in mozilla::dom::indexedDB::(anonymous namespace)::Cursor::OpenOp::DoDatabaseWork(mozilla::dom::indexedDB::(anonymous namespace)::DatabaseConnection*)
    (this=0x7f86d82fbbb0, aConnection=0x7f86d7aed1c0) at ../../../dom/indexedDB/ActorsParent.cpp:26326
#10 0x00007f86f28c79f1 in mozilla::dom::indexedDB::(anonymous namespace)::TransactionDatabaseOperationBase::RunOnConnectionThread() (this=0x7f86d82fbbb0)
    at ../../../dom/indexedDB/ActorsParent.cpp:21971
#11 0x00007f86f28f2d4b in mozilla::dom::indexedDB::(anonymous namespace)::TransactionDatabaseOperationBase::Run() (this=0x7f86d82fbbb0) at ../../../dom/indexedDB/ActorsParent.cpp:22136
#12 0x00007f86f468d809 in nsThread::ProcessNextEvent(bool, bool*) (aResult=0x7f86d1b5cc07, aMayWait=<optimized out>, this=0x7f86d342ab80)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/xpcom/threads/nsThread.cpp:1225
#13 0x00007f86f468d809 in nsThread::ProcessNextEvent(bool, bool*) (this=0x7f86d342ab80, aMayWait=<optimized out>, aResult=0x7f86d1b5cc07)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/xpcom/threads/nsThread.cpp:1059
#14 0x00007f86f45beec8 in NS_ProcessNextEvent(nsIThread*, bool) (aThread=<optimized out>, aMayWait=<optimized out>)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/xpcom/threads/nsThreadUtils.cpp:486
#15 0x00007f86f28edd00 in mozilla::SpinEventLoopUntil<> (aThread=0x0, aPredicate=...) at ../../dist/include/mozilla/ThreadLocal.h:201
#16 0x00007f86f28edd00 in mozilla::dom::indexedDB::(anonymous namespace)::ConnectionPool::ThreadRunnable::Run (this=0x7f86d2b17460) at ../../../dom/indexedDB/ActorsParent.cpp:12003
#17 0x00007f86f28edd00 in mozilla::dom::indexedDB::(anonymous namespace)::ConnectionPool::ThreadRunnable::Run() (this=0x7f86d2b17460) at ../../../dom/indexedDB/ActorsParent.cpp:11965
#18 0x00007f86f468d809 in nsThread::ProcessNextEvent(bool, bool*) (aResult=0x7f86d1b5cd97, aMayWait=<optimized out>, this=0x7f86d342ab80)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/xpcom/threads/nsThread.cpp:1225
#19 0x00007f86f468d809 in nsThread::ProcessNextEvent(bool, bool*) (this=0x7f86d342ab80, aMayWait=<optimized out>, aResult=0x7f86d1b5cd97)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/xpcom/threads/nsThread.cpp:1059
#20 0x00007f86f45beec8 in NS_ProcessNextEvent(nsIThread*, bool) (aThread=<optimized out>, aMayWait=<optimized out>)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/xpcom/threads/nsThreadUtils.cpp:486
#21 0x00007f86f42bc27a in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) (this=0x7f86d2b1a580, aDelegate=0x7f86d40f5e40)
    at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/ipc/glue/MessagePump.cpp:333
#22 0x00007f86f42d84f5 in MessageLoop::RunInternal() (this=<optimized out>) at ../../dist/include/mozilla/RefPtr.h:305
#23 0x00007f86f42d84f5 in MessageLoop::RunHandler() (this=<optimized out>) at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/ipc/chromium/src/base/message_loop.cc:308
#24 0x00007f86f42d84f5 in MessageLoop::Run() (this=<optimized out>) at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/ipc/chromium/src/base/message_loop.cc:290
#25 0x00007f86f468f16a in nsThread::ThreadFunc(void*) (aArg=<optimized out>) at /tmp/portage-tmpdir/portage/www-client/firefox-71.0/work/firefox-71.0/xpcom/threads/nsThread.cpp:458
#26 0x00007f86f8633ee0 in _pt_root (arg=0x7f86d8338ca0) at ../../../../nspr-4.23/nspr/pr/src/pthreads/ptthread.c:201
#27 0x00007f86f85b12d7 in start_thread (arg=<optimized out>) at pthread_create.c:479
#28 0x00007f86f824774f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

aLength=3518351110 sounds like a big number.

$ emerge --info www-client/firefox
...
=================================================================
                        Package Settings
=================================================================

www-client/firefox-71.0::gentoo was built with the following:
USE="gmp-autoupdate lto pulseaudio screenshot startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-sqlite system-webp wayland -bindist -clang -custom-cflags -custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel -jack -pgo -selinux -system-libvpx -test -wifi" ABI_X86="(64)" CPU_FLAGS_X86="-avx2" L10N="ru -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur -uz -vi -xh -zh-CN -zh-TW"
CFLAGS="-march=sandybridge -mtune=sandybridge -pipe -fdiagnostics-show-option -frecord-gcc-switches -Wall -Wextra -Wstack-protector -g"
CXXFLAGS="-march=sandybridge -mtune=sandybridge -pipe -fdiagnostics-show-option -frecord-gcc-switches -Wall -Wextra -Wstack-protector -g -flifetime-dse=1"
FEATURES="network-sandbox pid-sandbox news preserve-libs merge-sync splitdebug unmerge-orphans assume-digests sfperms unmerge-logs ebuild-locks installsources userpriv binpkg-docompress parallel-fetch unknown-features-warn protect-owned fail-clean fixlafiles binpkg-logs ipc-sandbox ccache binpkg-dostrip sign userfetch multilib-strict xattr usersandbox clean-logs distlocks config-protect-if-modified sandbox usersync strict"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags -Wl,--compress-debug-sections=zlib"
Comment 1 Jory A. Pratt gentoo-dev 2019-12-04 00:14:43 UTC

*** This bug has been marked as a duplicate of bug 701866 ***