Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 19:36:13 +0200
From:      Florian Smeets <flo@kasimir.com>
To:        freebsd-gecko@freebsd.org
Subject:   Re: Firefox 3.5 RC1 ready for testing!
Message-ID:  <4A41128D.7080602@kasimir.com>
In-Reply-To: <4A3A0474.7090703@kasimir.com>
References:  <20090617134021.GA63233@bsdcrew.de>	<20090617153749.GA12469@atarininja.org>	<cd6b4a5b0906171003v109dc2d5j187b325aa9197602@mail.gmail.com>	<4A39F9A8.4050103@kasimir.com> <4A3A0474.7090703@kasimir.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------000207030804050509020809
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 18.06.09 11:10, Florian Smeets wrote:
>> On 17.06.09 19:03, Matt wrote:
>>> Same experience here. Backtrace from firefox core dump says:
>>>
>>> #0 0x11be416b in ksem_init () from /lib/libc.so.7
>>> #1 0x11bd9a89 in sem_init () from /lib/libc.so.7
>>> #2 0x1080bb5e in nsCanvasBidiProcessor::~nsCanvasBidiProcessor ()
>>> from /usr/local/lib/firefox3/libxul.so
>>> #3 0x1080bbcf in nsCanvasBidiProcessor::~nsCanvasBidiProcessor ()
>>> from /usr/local/lib/firefox3/libxul.so
>>> #4 0x10800057 in nsCanvasBidiProcessor::~nsCanvasBidiProcessor ()
>>> from /usr/local/lib/firefox3/libxul.so
>>> #5 0x10800e59 in nsCanvasBidiProcessor::~nsCanvasBidiProcessor ()
>>> from /usr/local/lib/firefox3/libxul.so
>>> #6 0x10cba924 in NS_GetComponentManager_P () from
>>> /usr/local/lib/firefox3/libxul.so
>>> #7 0x10c80d46 in JNIEnv_::CallStaticObjectMethod () from
>>> /usr/local/lib/firefox3/libxul.so
>>> #8 0x10cbafa1 in NS_GetComponentManager_P () from
>>> /usr/local/lib/firefox3/libxul.so
>>> #9 0x1109579a in _pt_root () from /usr/local/lib/libplds4.so.1
>>> #10 0x11cb26ff in pthread_getprio () from /lib/libthr.so.3
>>> #11 0x00000000 in ?? ()
>>> (gdb)
>>>
>
> Hi,
>
> miwi@ just noticed that "kldload sem" will do the same, so no need to
> recompile your kernel.
>
> To make it permanent put sem_load="YES" into your /boot/loader.conf.
>
> Cheers,
> Florian

Okay, to "solve" this i propose the following patch to pkg-message.

Suggestions welcome.

Cheers,
Florian

--------------000207030804050509020809
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
	name="pkg-message.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="pkg-message.diff"

Index: pkg-message
===================================================================
--- pkg-message	(Revision 41)
+++ pkg-message	(Arbeitskopie)
@@ -14,6 +14,22 @@
 
 ======================================================================
 
+Firefox 3.5 and HTML5
+
+Certain functions used to display HTML5 elements need the "sem"
+module.
+
+If your firefox crashes with the following message while viewing a
+HTML5 page:
+"Bad system call (core dumped)"
+
+you need to load the "sem" module (kldload sem).
+
+To load sem on every boot put the following into your loader.conf:
+sem_load="YES"
+
+======================================================================
+
 Any bug reports should be addressed to the maintainers at:
 	gecko@FreeBSD.org
 You may also Cc: freebsd-ports@FreeBSD.org. Please do not send

--------------000207030804050509020809--



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