NetBSD Problem Report #54854

From martin@duskware.de  Sun Jan 12 08:11:26 2020
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 07F717A14B
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Jan 2020 08:11:26 +0000 (UTC)
Message-Id: <20200112081115.A7B755CC7A2@emmas.aprisoft.de>
Date: Sun, 12 Jan 2020 09:11:15 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: firfox 72 crash at startup
X-Send-Pr-Version: 3.95

>Number:         54854
>Category:       pkg
>Synopsis:       firfox 72 crash at startup
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 12 08:15:00 +0000 2020
>Closed-Date:    Tue Oct 13 03:19:02 +0000 2020
>Last-Modified:  Tue Oct 13 03:19:02 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.36
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 9.99.36 NetBSD 9.99.36 (NIGHT-OWL) #715: Sat Jan 11 20:10:20 CET 2020 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

After updating firefox to 72.0.1, it crashes immediately at startup.
This does not happen with an empty profile (but I am not sure yet what
setting causes it).

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Redirecting call to abort() to mozalloc_abort


Thread 20 "GLXVsyncThread" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 19 of process 774]
0x0000000000209df4 in mozalloc_abort (
    msg=0x2b8c79 "Redirecting call to abort() to mozalloc_abort\n")
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/memory/mozalloc/mozalloc_abort.cpp:33
33      /usr/pkgobj/www/firefox/work/firefox-72.0.1/memory/mozalloc/mozalloc_abort.cpp: No such file or directory.
(gdb) bt
#0  0x0000000000209df4 in mozalloc_abort (
    msg=0x2b8c79 "Redirecting call to abort() to mozalloc_abort\n")
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/memory/mozalloc/mozalloc_abort.cpp:33
#1  0x0000000000209e34 in abort ()
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/memory/mozalloc/mozalloc_abort.cpp:82
#2  0x00007f7ff74c40a2 in __gnu_cxx::__verbose_terminate_handler ()
    at /home/source/ab/HEAD/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007f7ff74bf1a1 in __cxxabiv1::__terminate (handler=<optimized out>)
    at /home/source/ab/HEAD/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4  0x00007f7ff74bf1d5 in std::terminate ()
    at /home/source/ab/HEAD/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_terminate.cc:57
#5  0x00007f7ff74bf14e in __cxxabiv1::__cxa_throw (
    obj=obj@entry=0x7f7ff2f06d60, 
    tinfo=0x7f7ff77829a8 <typeinfo for std::logic_error>, 
    dest=0x7f7ff74b55aa <std::logic_error::~logic_error()>)
    at /home/source/ab/HEAD/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_throw.cc:95
#6  0x00007f7ff74c3c85 in std::__throw_logic_error (
    __s=__s@entry=0x7f7ff753a2e0 "basic_string::_M_construct null not valid")
    at /home/source/ab/HEAD/src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/functexcept.cc:114
#7  0x00007f7ff74d96de in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*> (this=0x7f7ff2a62ec8, 
    __beg=<optimized out>, __end=<optimized out>)
    at /home/source/ab/HEAD/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/char_traits.h:350
#8  0x00007f7fdeb0231e in mozilla::gl::GLContext::InitImpl (
    this=0x7f7ff6f37000)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/gfx/gl/GLContext.cpp:536
#9  0x00007f7fdeafe3b6 in mozilla::gl::GLContext::Init (this=0x7f7ff6f37000)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/gfx/gl/GLContext.cpp:319
#10 0x00007f7fdeaf29ad in mozilla::gl::GLContextGLX::Init (this=0x7f7ff6f37000)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/gfx/gl/GLContextProviderGLX.cpp:574
#11 0x00007f7fdeaf2291 in mozilla::gl::GLContextGLX::CreateGLContext (
    flags=mozilla::gl::CreateContextFlags::NONE, caps=..., isOffscreen=false, 
    display=0x7f7ff2ab8400, drawable=1708, cfg=0x7f7ff238fce0, 
    deleteDrawable=false, pixmap=0x0)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/gfx/gl/GLContextProviderGLX.cpp:531
#12 0x00007f7fdee90fa0 in GtkVsyncSource::GLXDisplay::SetupGLContext (
    this=0x7f7ff32c7d40)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/gfx/thebes/gfxPlatformGtk.cpp:544
#13 0x00007f7fdee908e4 in mozilla::detail::RunnableMethodArguments<>::applyImpl<GtkVsyncSource::GLXDisplay, void (GtkVsyncSource::GLXDisplay::*)()>(GtkVsyncSource::GLXDisplay*, void (GtkVsyncSource::GLXDisplay::*)(), mozilla::Tuple<>&, std::integer_sequence<unsigned long>) (o=0x7f7ff32c7d40, 
    m=(void (GtkVsyncSource::GLXDisplay::*)(GtkVsyncSource::GLXDisplay * const)) 0x7f7fdee90e20 <GtkVsyncSource::GLXDisplay::SetupGLContext()>, args=...)
    at /usr/pkgobj/www/firefox/work/build/dist/include/nsThreadUtils.h:1124
#14 0x00007f7fdee90837 in mozilla::detail::RunnableMethodArguments<>::apply<GtkVsyncSource::GLXDisplay, void (GtkVsyncSource::GLXDisplay::*)()>(GtkVsyncSource::GLXDisplay*, void (GtkVsyncSource::GLXDisplay::*)()) (this=0x7f7ff2b3e4e8, 
    o=0x7f7ff32c7d40, 
    m=(void (GtkVsyncSource::GLXDisplay::*)(GtkVsyncSource::GLXDisplay * const)) 0x7f7fdee90e20 <GtkVsyncSource::GLXDisplay::SetupGLContext()>)
    at /usr/pkgobj/www/firefox/work/build/dist/include/nsThreadUtils.h:1130
#15 0x00007f7fdee90517 in mozilla::detail::RunnableMethodImpl<GtkVsyncSource::GLXDisplay*, void (GtkVsyncSource::GLXDisplay::*)(), true, (mozilla::RunnableKind)0>::Run (this=0x7f7ff2b3e4c0)
    at /usr/pkgobj/www/firefox/work/build/dist/include/nsThreadUtils.h:1176
#16 0x00007f7fddd519ba in MessageLoop::RunTask (this=0x7f7ff2a63de8, aTask=...)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/message
_loop.cc:442
#17 0x00007f7fddd51fef in MessageLoop::DeferOrRunPendingTask (
    this=0x7f7ff2a63de8, pending_task=...)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/message_loop.cc:450
#18 0x00007f7fddd52353 in MessageLoop::DoWork (this=0x7f7ff2a63de8)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/message_loop.cc:523
#19 0x00007f7fddd52fd0 in base::MessagePumpDefault::Run (this=0x7f7ff2b42570, 
    delegate=0x7f7ff2a63de8)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/message_pump_default.cc:35
#20 0x00007f7fddd51807 in MessageLoop::RunInternal (this=0x7f7ff2a63de8)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/message_loop.cc:315
#21 0x00007f7fddd517be in MessageLoop::RunHandler (this=0x7f7ff2a63de8)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/message_loop.cc:308
#22 0x00007f7fddd51798 in MessageLoop::Run (this=0x7f7ff2a63de8)
    at /usr/pkgobj/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/message_loop.cc:290
#23 0x00007f7fddd685ad in base::Thread::ThreadMain (this=0x7f7ff32c7e10)
[..]


>How-To-Repeat:
s/a

>Fix:
n/a

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Thu, 27 Feb 2020 17:01:01 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 13 Oct 2020 03:19:02 +0000
State-Changed-Why:
Stale bug report. There have been several firefox versions since. Works for me, too.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.