After updating java/icedtea-web to 1.2.1, java applets no longer work: running an applet makes firefox die with SIGBUS moments after an applet was started (can see it's window for a moment, then it dies). Downgrading icedtea-webz to 1.2_2 solved the problem. How-To-Repeat: Run java applet with icedtea 1.2.1
Responsible Changed From-To: freebsd-ports-bugs->freebsd-java Over to maintainer (via the GNATS Auto Assign Tool)
Dmitry Marakasov <amdmi3@FreeBSD.org> writes: > After updating java/icedtea-web to 1.2.1, java applets no longer work: > running an applet makes firefox die with SIGBUS moments after an Try libxul-10.0.6 from gecko@ repo. If it doesn't help also try the attached patch.
* Jan Beich (jbeich@tormail.org) wrote: > > After updating java/icedtea-web to 1.2.1, java applets no longer work: > > running an applet makes firefox die with SIGBUS moments after an > > Try libxul-10.0.6 from gecko@ repo. It doesn't build: http://people.freebsd.org/~amdmi3/xul10.log Same in tinderbox. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru
Author: jkim Date: Mon Aug 13 21:27:49 2012 New Revision: 302483 URL: http://svn.freebsd.org/changeset/ports/302483 Log: Fix web plugin crash with Firefox 14. PR: ports/170352 Obtained from: IcedTea Project (PR1106) Added: head/java/icedtea-web/files/patch-plugin-icedteanp-IcedTeaNPPlugin.cc (contents, props changed) Modified: head/java/icedtea-web/Makefile Modified: head/java/icedtea-web/Makefile ============================================================================== --- head/java/icedtea-web/Makefile Mon Aug 13 19:56:30 2012 (r302482) +++ head/java/icedtea-web/Makefile Mon Aug 13 21:27:49 2012 (r302483) @@ -7,6 +7,7 @@ PORTNAME= icedtea-web PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= java www MASTER_SITES= http://icedtea.classpath.org/download/source/ Added: head/java/icedtea-web/files/patch-plugin-icedteanp-IcedTeaNPPlugin.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/java/icedtea-web/files/patch-plugin-icedteanp-IcedTeaNPPlugin.cc Mon Aug 13 21:27:49 2012 (r302483) @@ -0,0 +1,17 @@ +--- plugin/icedteanp/IcedTeaNPPlugin.cc Thu Aug 02 09:11:37 2012 -0400 ++++ plugin/icedteanp/IcedTeaNPPlugin.cc Tue Aug 07 10:59:11 2012 -0400 +@@ -2053,8 +2053,13 @@ + + //Ensure any unused fields are NULL + memset(&browser_functions, 0, sizeof(NPNetscapeFuncs)); ++ ++ //browserTable->size can be larger than sizeof(NPNetscapeFuncs) (PR1106) ++ size_t copySize = browserTable->size < sizeof(NPNetscapeFuncs) ? ++ browserTable->size : sizeof(NPNetscapeFuncs); ++ + //Copy fields according to given size +- memcpy(&browser_functions, browserTable, browserTable->size); ++ memcpy(&browser_functions, browserTable, copySize); + + return true; + } _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->feedback I just committed a fix. If it doesn't work, please let me know. Thanks!
Responsible Changed From-To: freebsd-java->jkim I just committed a fix. If it doesn't work, please let me know. Thanks!
State Changed From-To: feedback->closed Several people reported the problem is indeed fixed.