Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 08:52:35 -0700
From:      Ted Faber <faber@lunabase.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Kostik Belousov <kostikbel@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: Another Firefox 21.0 crash
Message-ID:  <20130528155234.GA17344@mail.lunabase.org>
In-Reply-To: <51A49C40.1080209@FreeBSD.org>
References:  <20130525230731.GA93415@mail.lunabase.org> <51A49C40.1080209@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--b5gNqxB1S1yM7hjW
Content-Type: multipart/mixed; boundary="G4iJoqBmSsgzjUCe"
Content-Disposition: inline


--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 28, 2013 at 02:00:00PM +0200, Dimitry Andric wrote:
> On 2013-05-26 01:07, Ted Faber wrote:
> > I'm seeing a repeatable, consistent segmentation fault before the first
> > window appears (though firefox -ProfileManager brings up the
> > profile manager, but crashes when I try to actually start the browser).

[ snip]
>=20
> Since it seems libthr.so is involved, and a lot of thread signalling is
> going on, I suspect r251047 may help here.  It fixes a tricky problem
> with deferred signal delivery, and it looks like this is what you are
> experiencing here.  Can you please do a backtrace of all threads (e.g.
> "thread apply all bt") too?

Attached.

>=20
> Note that r251047 should apply cleanly to an up-to-date stable/9 tree,
> but you will have to rebuild and reinstall libc and libthr (or just
> build and install world).

My svn fu is weak.  Any chance you can roll a quick patch for me?  (Or
better yet, tell me the appropriate hex to start from?)

I'm happy to try it out.

--=20
http://www.lunabase.org/~faber
Unexpected attachment? http://www.lunabase.org/~faber/FAQ.html#SIG

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=file

Thread 21 (Thread 2d8c1f00 (LWP 101544/StreamTrans #6)):
#0  0x281bc2d3 in pthread_kill () from /lib/libthr.so.3
#1  0x281bb9d2 in pthread_kill () from /lib/libthr.so.3
#2  0x281be919 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x2b383475 in PRP_NakedNotify () from /usr/local/lib/libplds4.so.1
#4  0x2b3842fa in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#5  0x2b3843e7 in PR_Wait () from /usr/local/lib/libplds4.so.1
#6  0x29e13743 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#7  0x29e1388f in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#8  0x29e118c4 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#9  0x29dcbf68 in std::vector<mozilla::plugins::IPCByteRange, std::allocator<mozilla::plugins::IPCByteRange> >::_M_fill_insert ()
   from /usr/local/lib/firefox/libxul.so
#10 0x29e10e30 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#11 0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#12 0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#13 0x00000000 in ?? ()

Thread 15 (Thread 3678f880 (LWP 101644/HTML5 Parser)):
#0  0x281bc2d3 in pthread_kill () from /lib/libthr.so.3
#1  0x281bb9d2 in pthread_kill () from /lib/libthr.so.3
#2  0x281be919 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x2b384381 in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#4  0x2b3843e7 in PR_Wait () from /usr/local/lib/libplds4.so.1
#5  0x29e10022 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#6  0x29e11898 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#7  0x29dcbf68 in std::vector<mozilla::plugins::IPCByteRange, std::allocator<mozilla::plugins::IPCByteRange> >::_M_fill_insert ()
   from /usr/local/lib/firefox/libxul.so
#8  0x29e10e30 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#9  0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#10 0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#11 0x00000000 in ?? ()

Thread 14 (Thread 36789200 (LWP 101643/Cache I/O)):
#0  0x281bc2d3 in pthread_kill () from /lib/libthr.so.3
#1  0x281bb9d2 in pthread_kill () from /lib/libthr.so.3
#2  0x281be919 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x2b384381 in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#4  0x2b3843e7 in PR_Wait () from /usr/local/lib/libplds4.so.1
#5  0x29e10022 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#6  0x29e11898 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#7  0x29dcbf68 in std::vector<mozilla::plugins::IPCByteRange, std::allocator<mozilla::plugins::IPCByteRange> >::_M_fill_insert ()
   from /usr/local/lib/firefox/libxul.so
#8  0x29e10e30 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#9  0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#10 0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#11 0x00000000 in ?? ()

Thread 13 (Thread 2d8c3080 (LWP 101642/DOM Worker)):
#0  0x282a854b in strcasecmp_l () from /lib/libc.so.7
#1  0x282a8666 in strcasecmp () from /lib/libc.so.7
#2  0x282d195e in .cerror () from /lib/libc.so.7
#3  0x283477b8 in .got () from /usr/local/lib/libffi.so.6
#4  0x28345e87 in ffi_call_SYSV () from /usr/local/lib/libffi.so.6
#5  0x28345cbe in ffi_call () from /usr/local/lib/libffi.so.6
#6  0x2a6c295b in js::SizeOfDataIfCDataObject ()
   from /usr/local/lib/firefox/libxul.so
#7  0x2a41d167 in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#8  0x2a3ec016 in js::AutoCTypesActivityCallback::AutoCTypesActivityCallback ()
   from /usr/local/lib/firefox/libxul.so
#9  0x2a41d127 in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#10 0x2a41969f in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#11 0x2a412563 in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#12 0x2a41d09a in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#13 0x2a3ec016 in js::AutoCTypesActivityCallback::AutoCTypesActivityCallback ()
   from /usr/local/lib/firefox/libxul.so
#14 0x2a41d127 in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
#15 0x2a41969f in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#16 0x2a412563 in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#17 0x2a41d09a in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#18 0x2a41d5e3 in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#19 0x2a3a12f6 in JS_CallFunctionValue () from /usr/local/lib/firefox/libxul.so
#20 0x2927b2aa in std::vector<mozilla::gfx::Glyph, std::allocator<mozilla::gfx::Glyph> >::_M_insert_aux () from /usr/local/lib/firefox/libxul.so
#21 0x29c43dc3 in std::vector<mozilla::plugins::IPCByteRange, std::allocator<mozilla::plugins::IPCByteRange> >::_M_fill_insert ()
   from /usr/local/lib/firefox/libxul.so
#22 0x29c43cc2 in std::vector<mozilla::plugins::IPCByteRange, std::allocator<mozilla::plugins::IPCByteRange> >::_M_fill_insert ()
   from /usr/local/lib/firefox/libxul.so
#23 0x2a41d127 in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#24 0x2a41d5e3 in js::AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones ()
   from /usr/local/lib/firefox/libxul.so
#25 0x2a3a124c in JS_CallFunctionName () from /usr/local/lib/firefox/libxul.so
#26 0x29279429 in std::vector<mozilla::gfx::Glyph, std::allocator<mozilla::gfx::Glyph> >::_M_insert_aux () from /usr/local/lib/firefox/libxul.so
#27 0x29290724 in std::vector<mozilla::gfx::Glyph, std::allocator<mozilla::gfx::Glyph> >::_M_insert_aux () from /usr/local/lib/firefox/libxul.so
#28 0x29287475 in std::vector<mozilla::gfx::Glyph, std::allocator<mozilla::gfx::Glyph> >::_M_insert_aux () from /usr/local/lib/firefox/libxul.so
#29 0x29288f6e in std::vector<mozilla::gfx::Glyph, std::allocator<mozilla::gfx::Glyph> >::_M_insert_aux () from /usr/local/lib/firefox/libxul.so
#30 0x29282933 in std::vector<mozilla::gfx::Glyph, std::allocator<mozilla::gfx::Glyph> >::_M_insert_aux () from /usr/local/lib/firefox/libxul.so
#31 0x29e118c4 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#32 0x29dcbf68 in std::vector<mozilla::plugins::IPCByteRange, std::allocator<mozilla::plugins::IPCByteRange> >::_M_fill_insert ()
   from /usr/local/lib/firefox/libxul.so
#33 0x29e10e30 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#34 0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#35 0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#36 0x00000000 in ?? ()

Thread 11 (Thread 2d8c0100 (LWP 101638/Timer)):
#0  0x281bc2d3 in pthread_kill () from /lib/libthr.so.3
#1  0x281bb9d2 in pthread_kill () from /lib/libthr.so.3
#2  0x281be919 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x2b383475 in PRP_NakedNotify () from /usr/local/lib/libplds4.so.1
#4  0x2b3842fa in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#5  0x29e167e3 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#6  0x29e118c4 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#7  0x29dcbf68 in std::vector<mozilla::plugins::IPCByteRange, std::allocator<mozilla::plugins::IPCByteRange> >::_M_fill_insert ()
   from /usr/local/lib/firefox/libxul.so
#8  0x29e10e30 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#9  0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#10 0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#11 0x00000000 in ?? ()

Thread 10 (Thread 28504f00 (LWP 101554/JS Watchdog)):
#0  0x281bc2d3 in pthread_kill () from /lib/libthr.so.3
#1  0x281bb9d2 in pthread_kill () from /lib/libthr.so.3
#2  0x281be919 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x2b383475 in PRP_NakedNotify () from /usr/local/lib/libplds4.so.1
#4  0x2b3842fa in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#5  0x29640962 in js::BaseProxyHandler::isOuterWindow ()
   from /usr/local/lib/firefox/libxul.so
#6  0x2e0c0e60 in ?? ()
#7  0x000003e8 in ?? ()
#8  0x2d890470 in ?? ()
#9  0x2b39d988 in ?? () from /usr/local/lib/libplds4.so.1
#10 0xbf2f6fa8 in ?? ()
#11 0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
Previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 28504c80 (LWP 101553/firefox)):
#0  0x281bc2d3 in pthread_kill () from /lib/libthr.so.3
#1  0x281bb9d2 in pthread_kill () from /lib/libthr.so.3
#2  0x281be919 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x2b384381 in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#4  0x2a474533 in JS_InitReflect () from /usr/local/lib/firefox/libxul.so
#5  0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#6  0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#7  0x00000000 in ?? ()

Thread 8 (Thread 28504a00 (LWP 101547/JS GC Helper)):
#0  0x281bc2d3 in pthread_kill () from /lib/libthr.so.3
#1  0x281bb9d2 in pthread_kill () from /lib/libthr.so.3
#2  0x281be919 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x2b384381 in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#4  0x2a3f28b1 in js_RemoveRoot () from /usr/local/lib/firefox/libxul.so
#5  0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#6  0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#7  0x00000000 in ?? ()

Thread 7 (Thread 28503600 (LWP 101546/Hang Monitor)):
#0  0x281bc2d3 in pthread_kill () from /lib/libthr.so.3
#1  0x281bb9d2 in pthread_kill () from /lib/libthr.so.3
#2  0x281be919 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x2b384381 in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#4  0x29e171a2 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#5  0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#6  0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#7  0x00000000 in ?? ()

Thread 6 (Thread 28503100 (LWP 101545/Socket Thread)):
#0  0x2826785b in poll () from /lib/libc.so.7
#1  0x281b6c02 in poll () from /lib/libthr.so.3
#2  0x2b386021 in PR_Poll () from /usr/local/lib/libplds4.so.1
#3  0x288febc9 in XRE_GetFileFromPath () from /usr/local/lib/firefox/libxul.so
#4  0x288ffaa9 in XRE_GetFileFromPath () from /usr/local/lib/firefox/libxul.so
#5  0x288ff6e4 in XRE_GetFileFromPath () from /usr/local/lib/firefox/libxul.so
#6  0x288ffdaf in XRE_GetFileFromPath () from /usr/local/lib/firefox/libxul.so
#7  0x29e118c4 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#8  0x29dcbf68 in std::vector<mozilla::plugins::IPCByteRange, std::allocator<mozilla::plugins::IPCByteRange> >::_M_fill_insert ()
   from /usr/local/lib/firefox/libxul.so
#9  0x29e10e30 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#10 0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#11 0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#12 0x00000000 in ?? ()

Thread 5 (Thread 2d85d200 (LWP 101542/XPCOM CC)):
#0  0x281bc2d3 in pthread_kill () from /lib/libthr.so.3
#1  0x281bb9d2 in pthread_kill () from /lib/libthr.so.3
#2  0x281be919 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x2b384381 in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#4  0x29e23b57 in NS_CycleCollectorForget2_P ()
   from /usr/local/lib/firefox/libxul.so
#5  0x29e118c4 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#6  0x29dcbf68 in std::vector<mozilla::plugins::IPCByteRange, std::allocator<mozilla::plugins::IPCByteRange> >::_M_fill_insert ()
   from /usr/local/lib/firefox/libxul.so
#7  0x29e10e30 in XRE_AddJarManifestLocation ()
   from /usr/local/lib/firefox/libxul.so
#8  0x2b38a59a in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#9  0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#10 0x00000000 in ?? ()

Thread 4 (Thread 28501f80 (LWP 101540/Gecko_IOThread)):
#0  0x282b030b in kevent () from /lib/libc.so.7
#1  0x2b191657 in kq_dispatch () from /usr/local/lib/event2/libevent-2.0.so.6
#2  0x2b17ee5a in event_base_loop ()
   from /usr/local/lib/event2/libevent-2.0.so.6
#3  0x29e6c108 in std::vector<FilePath, std::allocator<FilePath> >::_M_insert_aux () from /usr/local/lib/firefox/libxul.so
#4  0x29e4569d in std::vector<int, std::allocator<int> >::operator= ()
   from /usr/local/lib/firefox/libxul.so
#5  0x29e54a62 in std::vector<base::SystemMonitor::PowerObserver*, std::allocator<base::SystemMonitor::PowerObserver*> >::_M_insert_aux ()
   from /usr/local/lib/firefox/libxul.so
#6  0x29e6c7bc in std::vector<FilePath, std::allocator<FilePath> >::_M_insert_aux () from /usr/local/lib/firefox/libxul.so
#7  0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#8  0x00000000 in ?? ()

Thread 3 (Thread 28502200 (LWP 100728/firefox)):
#0  0x2826785b in poll () from /lib/libc.so.7
#1  0x281b6c02 in poll () from /lib/libthr.so.3
#2  0x2b5067eb in g_poll () from /usr/local/lib/libglib-2.0.so.0
#3  0x2b4f9167 in g_main_context_acquire ()
   from /usr/local/lib/libglib-2.0.so.0
#4  0x2b4fa3cc in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.0
#5  0x2bc2a17c in g_dbus_proxy_get_cached_property_names ()
   from /usr/local/lib/libgio-2.0.so.0
#6  0x2b51cf42 in g_thread_proxy () from /usr/local/lib/libglib-2.0.so.0
#7  0x281b3f1a in pthread_getprio () from /lib/libthr.so.3
#8  0x00000000 in ?? ()

Thread 2 (Thread 28501080 (LWP 101061/firefox)):
#0  0x2a50c87e in js_GetSrcNoteOffset () from /usr/local/lib/firefox/libxul.so
#1  0xbfbfc228 in ?? ()
#2  0x00000000 in ?? ()
#0  0x282a854b in strcasecmp_l () from /lib/libc.so.7

--G4iJoqBmSsgzjUCe--

--b5gNqxB1S1yM7hjW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iEYEARECAAYFAlGk0sIACgkQaUz3f+Zf+Xuq+QCaAlbUjS/ZmahLVicOuVHKUcX3
hBUAoNnMJX1LsWy2dLbmNy4qJzowVyQh
=s+7t
-----END PGP SIGNATURE-----

--b5gNqxB1S1yM7hjW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130528155234.GA17344>