[Bug 243301] www/firefox: 72.0.1: Segmentation fault

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 12 20:55:40 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243301

            Bug ID: 243301
           Summary: www/firefox: 72.0.1: Segmentation fault
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko at FreeBSD.org
          Reporter: iron.udjin at gmail.com
             Flags: maintainer-feedback?(gecko at FreeBSD.org)
          Assignee: gecko at FreeBSD.org

Hello,

I run firefox-72.0.1_1,1 on FreeBSD 12.1-STABLE r356482. When I'm trying to
start it I'm getting Segmentation fault:

Assertion failure: !locale.IsEmpty(), at
/usr/ports/www/firefox/work/firefox-72.0.1/intl/locale/LocaleService.cpp:415
#01: void
std::__1::__tree_balance_after_insert<std::__1::__tree_node_base<void*>*>(void*,
std::__1::__tree_balance_after_insert<std::__1::__tree_node_base<void*>*>)[/usr/local/lib/firefox/libxul.so
+0x4aa8161]
#02: void
std::__1::__tree_balance_after_insert<std::__1::__tree_node_base<void*>*>(void*,
std::__1::__tree_balance_after_insert<std::__1::__tree_node_base<void*>*>)[/usr/local/lib/firefox/libxul.so
+0x4aaa99d]
#03: void
std::__1::__tree_balance_after_insert<std::__1::__tree_node_base<void*>*>(void*,
std::__1::__tree_balance_after_insert<std::__1::__tree_node_base<void*>*>)[/usr/local/lib/firefox/libxul.so
+0x4aaabdd]
#04:
_ZNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEE21__push_back_slow_pathIS6_EEvOT_[/usr/local/lib/firefox/libxul.so
+0x4a386f1]
#05:
_ZNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEE21__push_back_slow_pathIS6_EEvOT_[/usr/local/lib/firefox/libxul.so
+0x4a3920a]
#06: std::__1::basic_stringbuf<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::str(void) const[/usr/local/lib/firefox/libxul.so
+0x49d7f6c]
#07: std::__1::basic_stringbuf<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::str(void) const[/usr/local/lib/firefox/libxul.so
+0x49df156]
#08: std::__1::basic_stringbuf<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::str(void) const[/usr/local/lib/firefox/libxul.so
+0x49df1e3]
#09: std::__1::basic_stringbuf<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::str(void) const[/usr/local/lib/firefox/libxul.so
+0x49d8011]
#10: std::__1::basic_stringbuf<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::str(void) const[/usr/local/lib/firefox/libxul.so
+0x49df156]
#11: std::__1::basic_stringbuf<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::str(void) const[/usr/local/lib/firefox/libxul.so
+0x49de59d]
#12: std::__1::basic_stringbuf<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::str(void) const[/usr/local/lib/firefox/libxul.so
+0x49dd9ce]
#13:
_ZNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEE21__push_back_slow_pathIS6_EEvOT_[/usr/local/lib/firefox/libxul.so
+0x4a4650b]
#14: std::__1::operator>><char, std::__1::char_traits<char>,
std::__1::allocator<char> >(std::__1::basic_istream<char,
std::__1::char_traits<char>>&, std::__1::basic_istream<char,
std::__1::char_traits<char>>&, std::__1::basic_string<std::__1::basic_istream,
c[/usr/local/lib/firefox/libxul.so +0x986dae2]
#15: std::__1::operator>><char, std::__1::char_traits<char>,
std::__1::allocator<char> >(std::__1::basic_istream<char,
std::__1::char_traits<char>>&, std::__1::basic_istream<char,
std::__1::char_traits<char>>&, std::__1::basic_string<std::__1::basic_istream,
c[/usr/local/lib/firefox/libxul.so +0x987aad0]
#16: std::__1::operator>><char, std::__1::char_traits<char>,
std::__1::allocator<char> >(std::__1::basic_istream<char,
std::__1::char_traits<char>>&, std::__1::basic_istream<char,
std::__1::char_traits<char>>&, std::__1::basic_string<std::__1::basic_istream,
c[/usr/local/lib/firefox/libxul.so +0x987b5f6]
#17: _start[/usr/local/bin/firefox +0x12586]
#18: _start[/usr/local/bin/firefox +0x1210d]
Segmentation fault(core dumped)

Here is core backtrace:

Core was generated by `firefox'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000008013d324a in thr_kill () from /lib/libc.so.7
[Current thread is 1 (LWP 101054)]
(gdb) bt
#0  0x00000008013d324a in thr_kill () from /lib/libc.so.7
#1  0x00000008013d31c1 in raise () from /lib/libc.so.7
#2  0x000000080d65cd04 in nsProfileLock::FatalSignalHandler (signo=11,
info=0x7fffffffbd30, context=0x7fffffffb9c0) at
/usr/ports/www/firefox/work/firefox-72.0.1/toolkit/profile/nsProfileLock.cpp:169
#3  0x000000080120e56e in ?? () from /lib/libthr.so.3
#4  0x000000080120da6e in ?? () from /lib/libthr.so.3
#5  <signal handler called>
#6  mozilla::intl::LocaleService::GetDefaultLocale (this=0x813d72ae0,
aRetVal=...) at
/usr/ports/www/firefox/work/firefox-72.0.1/intl/locale/LocaleService.cpp:415
#7  0x00000008088a8161 in mozilla::intl::LocaleService::NegotiateAppLocales
(this=0x813d72ae0, aRetVal=...) at
/usr/ports/www/firefox/work/firefox-72.0.1/intl/locale/LocaleService.cpp:149
#8  0x00000008088aa99d in mozilla::intl::LocaleService::GetAppLocalesAsLangTags
(this=0x813d72ae0, aRetVal=...) at
/usr/ports/www/firefox/work/firefox-72.0.1/intl/locale/LocaleService.cpp:440
#9  0x00000008088aabdd in mozilla::intl::LocaleService::GetAppLocaleAsLangTag
(this=0x0, aRetVal=...) at
/usr/ports/www/firefox/work/firefox-72.0.1/intl/locale/LocaleService.cpp:466
#10 0x00000008088386f1 in nsChromeRegistryChrome::ChromePackageFromPackageEntry
(aPackageName=..., aPackage=0x818080f60, aChromePackage=0x7fffffffcd68,
aSelectedSkin=...) at
/usr/ports/www/firefox/work/firefox-72.0.1/chrome/nsChromeRegistryChrome.cpp:304
#11 0x000000080883920a in nsChromeRegistryChrome::ManifestContent
(this=<optimized out>, cx=..., lineno=<optimized out>, argv=<optimized out>,
flags=0) at
/usr/ports/www/firefox/work/firefox-72.0.1/chrome/nsChromeRegistryChrome.cpp:493
#12 0x00000008087d7f6c in ParseManifest (aType=NS_APP_LOCATION, aFile=...,
aBuf=<optimized out>, aChromeOnly=false) at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/components/ManifestParser.cpp:653
#13 0x00000008087df156 in DoRegisterManifest (aType=<optimized out>, aFile=...,
aChromeOnly=<optimized out>) at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/components/nsComponentManager.cpp:757
#14 nsComponentManagerImpl::RegisterManifest (this=<optimized out>,
aType=NS_APP_LOCATION, aFile=..., aChromeOnly=false) at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/components/nsComponentManager.cpp:768
#15 0x00000008087df1e3 in nsComponentManagerImpl::ManifestManifest
(this=<optimized out>, aCx=..., aLineNo=<optimized out>, aArgv=<optimized out>)
at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/components/nsComponentManager.cpp:775
#16 0x00000008087d8011 in ParseManifest (aType=NS_APP_LOCATION, aFile=...,
aBuf=<optimized out>, aChromeOnly=false) at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/components/ManifestParser.cpp:656
#17 0x00000008087df156 in DoRegisterManifest (aType=<optimized out>, aFile=...,
aChromeOnly=<optimized out>) at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/components/nsComponentManager.cpp:757
#18 nsComponentManagerImpl::RegisterManifest (this=<optimized out>,
aType=NS_APP_LOCATION, aFile=..., aChromeOnly=false) at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/components/nsComponentManager.cpp:768
#19 0x00000008087de59d in nsComponentManagerImpl::RereadChromeManifests
(this=0x0, aChromeOnly=<optimized out>) at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/components/nsComponentManager.cpp:872
#20 0x00000008087dd9ce in nsComponentManagerImpl::Init (this=0x803d34b80) at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/components/nsComponentManager.cpp:530
#21 0x000000080884650b in NS_InitXPCOM (aResult=<optimized out>,
aBinDirectory=0x803d333c0, aAppFileLocationProvider=<optimized out>,
aInitJSContext=<optimized out>) at
/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/build/XPCOMInit.cpp:447
#22 0x000000080d66dae2 in ScopedXPCOMStartup::Initialize (this=0x8010c3838,
aInitJSContext=false) at
/usr/ports/www/firefox/work/firefox-72.0.1/toolkit/xre/nsAppRunner.cpp:1267
#23 0x000000080d67aad0 in XREMain::XRE_main (this=0x7fffffffe200,
argc=<optimized out>, argv=<optimized out>, aConfig=...) at
/usr/ports/www/firefox/work/firefox-72.0.1/toolkit/xre/nsAppRunner.cpp:4742
#24 0x000000080d67b5f6 in XRE_main (argc=0, argv=0x0, aConfig=...) at
/usr/ports/www/firefox/work/firefox-72.0.1/toolkit/xre/nsAppRunner.cpp:4827
#25 0x0000000001033586 in do_main (argc=0, argv=0x7fffffffe838,
envp=0x7fffffffe848) at
/usr/ports/www/firefox/work/firefox-72.0.1/browser/app/nsBrowserApp.cpp:218
#26 main (argc=<optimized out>, argv=<optimized out>, envp=0x7fffffffe848) at
/usr/ports/www/firefox/work/firefox-72.0.1/browser/app/nsBrowserApp.cpp:311
(gdb)

Previous versions of firefox was running without issues.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list