From owner-freebsd-java@FreeBSD.ORG Mon Nov 1 08:59:20 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 040FC106564A for ; Mon, 1 Nov 2010 08:59:20 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 72E998FC0A for ; Mon, 1 Nov 2010 08:59:18 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id oA18xGNV094453 for ; Mon, 1 Nov 2010 10:59:16 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id oA18xGAc094452 for freebsd-java@freebsd.org; Mon, 1 Nov 2010 10:59:16 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Mon, 1 Nov 2010 11:59:16 +0300 User-Agent: KMail/1.9.7 References: <40bff08b3502166b8e1e21c7df2a584c.squirrel@webmail.ultra-secure.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201011011059.16227.achill@matrix.gatewaynet.com> Subject: Re: jdk16 vs openjdk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 08:59:20 -0000 =CE=A3=CF=84=CE=B9=CF=82 Saturday 30 October 2010 17:23:10 =CE=BF/=CE=B7 Ro= nald Klop =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > On Thu, 28 Oct 2010 20:57:04 +0200, wrote: >=20 > > Hi, > > > > can someone clarify the status of jdk16 vs. openjdk16? > > > > At what patchlevel (in terms of JSE6_uXX) is the diablo-jdk16 download = at > > the FreeBSD-foundation? > > > > Will it get updated to the latest patchlevel (u22) any time? > > > > Or should one just use OpenJDK16? > > > > > > Best Regards, > > Rainer >=20 > I would bet on openjdk6. As it is already much more up-to-date than jdk16= =2E =20 > I think openjdk6 gets more love. :-) i think jdk16 should be marked as deprecated, since this confuses a lot of = people. >=20 > Ronald. > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >=20 =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Mon Nov 1 11:07:00 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E740910656DA for ; Mon, 1 Nov 2010 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B9F278FC21 for ; Mon, 1 Nov 2010 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA1B70PQ019223 for ; Mon, 1 Nov 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA1B70Tx019221 for freebsd-java@FreeBSD.org; Mon, 1 Nov 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Nov 2010 11:07:00 GMT Message-Id: <201011011107.oA1B70Tx019221@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 11:07:01 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/150584 java Jave SE Timezone updater specified in the package is n o java/147512 java Crash of RXTX-2.1-7 on AMD64 system o ports/142704 java [PATCH] java/jai-imageio: use $SUB_FILES to dynamicall o java/141919 java Serious remote vulnerability in the JRE o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o java/116667 java linux-sun-javac1.4 hangs on SMP o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113467 java Multiple "missing return value" errors building JDK on f java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in 23 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Nov 1 11:07:31 2010 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CE9B10656C7 for ; Mon, 1 Nov 2010 11:07:31 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6AF968FC22 for ; Mon, 1 Nov 2010 11:07:31 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA1B7Vxt019610 for ; Mon, 1 Nov 2010 11:07:31 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA1B7UYF019608 for java@FreeBSD.org; Mon, 1 Nov 2010 11:07:30 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Nov 2010 11:07:30 GMT Message-Id: <201011011107.oA1B7UYF019608@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Cc: Subject: Current problem reports assigned to java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 11:07:31 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/151042 java [patch] java/openjdk6 Respect CC o ports/150142 java Not installed java/openjdk6 on file system zfs /usr/lo o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java 6 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Nov 1 14:50:16 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D0CE10656DD; Mon, 1 Nov 2010 14:50:16 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 32B368FC1D; Mon, 1 Nov 2010 14:50:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA1EoGMe051254; Mon, 1 Nov 2010 14:50:16 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA1EoGl9051245; Mon, 1 Nov 2010 14:50:16 GMT (envelope-from edwin) Date: Mon, 1 Nov 2010 14:50:16 GMT Message-Id: <201011011450.oA1EoGl9051245@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/151864: java/jdk16-doc - update to jdk-6u22-docs X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 14:50:16 -0000 Synopsis: java/jdk16-doc - update to jdk-6u22-docs Responsible-Changed-From-To: freebsd-ports-bugs->java Responsible-Changed-By: edwin Responsible-Changed-When: Mon Nov 1 14:50:15 UTC 2010 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=151864 From owner-freebsd-java@FreeBSD.ORG Mon Nov 1 17:57:19 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34B61106566C for ; Mon, 1 Nov 2010 17:57:19 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out3.libero.it (cp-out3.libero.it [212.52.84.103]) by mx1.freebsd.org (Postfix) with ESMTP id EEAEA8FC12 for ; Mon, 1 Nov 2010 17:57:18 +0000 (UTC) Received: from wmail26 (172.31.0.37) by cp-out3.libero.it (8.5.107) (authenticated as barbara.xxx1975@libero.it) id 4CC15B5200AC155A for freebsd-java@FreeBSD.org; Mon, 1 Nov 2010 18:57:17 +0100 Message-ID: <26429740.406291288634237284.JavaMail.defaultUser@defaultHost> Date: Mon, 1 Nov 2010 18:57:17 +0100 (CET) From: Barbara To: MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 87.10.2.61 Cc: Subject: R: IcedTea crashing again X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 17:57:19 -0000 >After updating to openjdk6 b20_4, Firefox is crashing again closing a window >running an applet. >Just like before the fixes made on Sept. 23. > As I noticed that it is crashing only on CURRENT, I have a suspect... Could it be caused by SVN rev 213098? http://svn.freebsd.org/viewvc/base/head/sys/i386/conf/GENERIC? r1=210947&r2=213098 Should I kldload sem again? Barbara From owner-freebsd-java@FreeBSD.ORG Mon Nov 1 20:50:19 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id BA051106566C; Mon, 1 Nov 2010 20:50:18 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org, Barbara Date: Mon, 1 Nov 2010 16:50:00 -0400 User-Agent: KMail/1.6.2 References: <26429740.406291288634237284.JavaMail.defaultUser@defaultHost> In-Reply-To: <26429740.406291288634237284.JavaMail.defaultUser@defaultHost> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011011650.05972.jkim@FreeBSD.org> Cc: Subject: Re: R: IcedTea crashing again X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 20:50:19 -0000 On Monday 01 November 2010 01:57 pm, Barbara wrote: > >After updating to openjdk6 b20_4, Firefox is crashing again > > closing a window running an applet. > >Just like before the fixes made on Sept. 23. > > As I noticed that it is crashing only on CURRENT, I have a > suspect... Sorry, I cannot reproduce it on amd64 CURRENT. FYI, David Xu has been busy reshuffling libthr recently. Maybe your kernel, libthr, and/or binaries from ports are out of sync? > Could it be caused by SVN rev 213098? > http://svn.freebsd.org/viewvc/base/head/sys/i386/conf/GENERIC? > r1=210947&r2=213098 > Should I kldload sem again? Why don't you try for yourself and let us know? :-P Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Mon Nov 1 22:30:39 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FD81106566B; Mon, 1 Nov 2010 22:30:39 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out2.libero.it (cp-out2.libero.it [212.52.84.102]) by mx1.freebsd.org (Postfix) with ESMTP id 090BA8FC16; Mon, 1 Nov 2010 22:30:38 +0000 (UTC) Received: from wmail33 (172.31.0.221) by cp-out2.libero.it (8.5.107) (authenticated as barbara.xxx1975@libero.it) id 4CCEC8E50005888D; Mon, 1 Nov 2010 23:30:37 +0100 Message-ID: <18362061.410961288650637745.JavaMail.defaultUser@defaultHost> Date: Mon, 1 Nov 2010 23:30:37 +0100 (CET) From: Barbara To: , MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 79.9.233.201 Cc: Subject: R: Re: R: IcedTea crashing again X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 22:30:39 -0000 >On Monday 01 November 2010 01:57 pm, Barbara wrote: >> >After updating to openjdk6 b20_4, Firefox is crashing again >> > closing a window running an applet. >> >Just like before the fixes made on Sept. 23. >> >> As I noticed that it is crashing only on CURRENT, I have a >> suspect... > >Sorry, I cannot reproduce it on amd64 CURRENT. FYI, David Xu has been >busy reshuffling libthr recently. Maybe your kernel, libthr, and/or >binaries from ports are out of sync? > >> Could it be caused by SVN rev 213098? >> http://svn.freebsd.org/viewvc/base/head/sys/i386/conf/GENERIC? >> r1=210947&r2=213098 >> Should I kldload sem again? > >Why don't you try for yourself and let us know? :-P > I've tried kldloading sem (on i386) and I was pretty sure it was working. I did that while rebuilding world+kernel after running csup. But at reboot it's segfaulting no matter if sem is loaded or not. So now I'm not so sure. All my ports are updated. I can crash it regularly loading a demo applet (e.g. ArcTest in /usr/local/openjdk6/demo/applets) in a tab and then closing the tab. If it could be of any help, I'm adding an excerpt from the backtrace I'm getting: Core was generated by `firefox-bin'. Program terminated with signal 11, Segmentation fault. ... #0 0x29e36247 in kill () from /lib/libc.so.7 #1 0x29e361a6 in raise () from /lib/libc.so.7 #2 0x282424f6 in XRE_LockProfileDirectory () from /usr/local/lib/firefox3/libxul.so #3 #4 0x29c8f1b2 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6 #5 0x2ef92402 in IcedTeaPluginUtilities::invalidateInstance () from /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so #6 0x2efa17b0 in ITNP_Destroy () from /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so #7 0x28b5d776 in ffi_call_SYSV () from /usr/local/lib/firefox3/libxul.so #8 0x284b023b in std::vector, std:: allocator > >::_M_insert_aux () from /usr/local/lib/firefox3/libxul.so #9 0x284b0598 in std::vector, std:: allocator > >::_M_insert_aux () from /usr/local/lib/firefox3/libxul.so #10 0x28d721c3 in NS_GetComponentManager_P () from /usr/local/lib/firefox3/libxul.so #11 0x28d339d3 in nsPrintSession::Release () from /usr/local/lib/firefox3/libxul.so #12 0x28c6ede7 in JSD_DebuggerOnForUser () from /usr/local/lib/firefox3/libxul. so #13 0x28ae42df in std::vector, std:: allocator > >::_M_insert_aux () from /usr/local/lib/firefox3/libxul.so #14 0x2823bc84 in XRE_main () from /usr/local/lib/firefox3/libxul.so Thanks Barbara P.S. Before sending this email, I've tried searching for the error message, and I've found a similar if not identical bt I've posted on the ml on september http://lists.freebsd.org/pipermail/freebsd-java/2010-September/008883.html From owner-freebsd-java@FreeBSD.ORG Mon Nov 1 23:24:24 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 2A7E61065675; Mon, 1 Nov 2010 23:24:23 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Barbara Date: Mon, 1 Nov 2010 19:24:02 -0400 User-Agent: KMail/1.6.2 References: <18362061.410961288650637745.JavaMail.defaultUser@defaultHost> In-Reply-To: <18362061.410961288650637745.JavaMail.defaultUser@defaultHost> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011011924.10460.jkim@FreeBSD.org> Cc: freebsd-java@FreeBSD.org Subject: Re: R: Re: R: IcedTea crashing again X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 23:24:24 -0000 On Monday 01 November 2010 06:30 pm, Barbara wrote: > >On Monday 01 November 2010 01:57 pm, Barbara wrote: > >> >After updating to openjdk6 b20_4, Firefox is crashing again > >> > closing a window running an applet. > >> >Just like before the fixes made on Sept. 23. > >> > >> As I noticed that it is crashing only on CURRENT, I have a > >> suspect... > > > >Sorry, I cannot reproduce it on amd64 CURRENT. FYI, David Xu has > > been busy reshuffling libthr recently. Maybe your kernel, > > libthr, and/or binaries from ports are out of sync? > > > >> Could it be caused by SVN rev 213098? > >> http://svn.freebsd.org/viewvc/base/head/sys/i386/conf/GENERIC? > >> r1=210947&r2=213098 > >> Should I kldload sem again? > > > >Why don't you try for yourself and let us know? :-P > > I've tried kldloading sem (on i386) and I was pretty sure it was > working. I did that while rebuilding world+kernel after running > csup. But at reboot it's segfaulting no matter if sem is loaded or > not. So now I'm not so sure. > > All my ports are updated. According to the commit log, sem.ko is only required for *old* binaries, i.e., updating ports may not fix the problem but you may have to *rebuild* every port from scratch to prove or disprove it, unfortunately. :-( > I can crash it regularly loading a demo applet (e.g. ArcTest in > /usr/local/openjdk6/demo/applets) in a tab and then closing the > tab. If it could be of any help, I'm adding an excerpt from the > backtrace I'm getting: > > Core was generated by `firefox-bin'. > Program terminated with signal 11, Segmentation fault. > ... > #0 0x29e36247 in kill () from /lib/libc.so.7 > #1 0x29e361a6 in raise () from /lib/libc.so.7 > #2 0x282424f6 in XRE_LockProfileDirectory () from > /usr/local/lib/firefox3/libxul.so > #3 > #4 0x29c8f1b2 in std::_Rb_tree_increment () from > /usr/lib/libstdc++.so.6 #5 0x2ef92402 in > IcedTeaPluginUtilities::invalidateInstance () from > /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so > #6 0x2efa17b0 in ITNP_Destroy () from > /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so > #7 0x28b5d776 in ffi_call_SYSV () from > /usr/local/lib/firefox3/libxul.so #8 0x284b023b in > std::vector, std:: > allocator > >::_M_insert_aux () from > /usr/local/lib/firefox3/libxul.so > #9 0x284b0598 in std::vector, std:: > allocator > >::_M_insert_aux () from > /usr/local/lib/firefox3/libxul.so > #10 0x28d721c3 in NS_GetComponentManager_P () from > /usr/local/lib/firefox3/libxul.so > #11 0x28d339d3 in nsPrintSession::Release () from > /usr/local/lib/firefox3/libxul.so > #12 0x28c6ede7 in JSD_DebuggerOnForUser () from > /usr/local/lib/firefox3/libxul. so > #13 0x28ae42df in std::vector, std:: > allocator > >::_M_insert_aux () from > /usr/local/lib/firefox3/libxul.so > #14 0x2823bc84 in XRE_main () from > /usr/local/lib/firefox3/libxul.so This trace looks almost identical as before, i.e., without the patch. :-/ Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Tue Nov 2 00:08:25 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 577301065693; Tue, 2 Nov 2010 00:08:25 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out1.libero.it (cp-out1.libero.it [212.52.84.101]) by mx1.freebsd.org (Postfix) with ESMTP id E6B8C8FC14; Tue, 2 Nov 2010 00:08:24 +0000 (UTC) Received: from wmail60 (172.31.0.57) by cp-out1.libero.it (8.5.115) (authenticated as barbara.xxx1975@libero.it) id 4AB23423179E2059; Tue, 2 Nov 2010 01:08:23 +0100 Message-ID: <11663775.437861288656503416.JavaMail.defaultUser@defaultHost> Date: Tue, 2 Nov 2010 01:08:23 +0100 (CET) From: Barbara To: MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 82.57.159.3 Cc: freebsd-java@FreeBSD.org Subject: R: Re: R: IcedTea crashing again X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 00:08:25 -0000 >On Monday 01 November 2010 06:30 pm, Barbara wrote: >> >On Monday 01 November 2010 01:57 pm, Barbara wrote: >> >> >After updating to openjdk6 b20_4, Firefox is crashing again >> >> > closing a window running an applet. >> >> >Just like before the fixes made on Sept. 23. >> >> >> >> As I noticed that it is crashing only on CURRENT, I have a >> >> suspect... >> > >> >Sorry, I cannot reproduce it on amd64 CURRENT. FYI, David Xu has >> > been busy reshuffling libthr recently. Maybe your kernel, >> > libthr, and/or binaries from ports are out of sync? >> > >> >> Could it be caused by SVN rev 213098? >> >> http://svn.freebsd.org/viewvc/base/head/sys/i386/conf/GENERIC? >> >> r1=210947&r2=213098 >> >> Should I kldload sem again? >> > >> >Why don't you try for yourself and let us know? :-P >> >> I've tried kldloading sem (on i386) and I was pretty sure it was >> working. I did that while rebuilding world+kernel after running >> csup. But at reboot it's segfaulting no matter if sem is loaded or >> not. So now I'm not so sure. >> >> All my ports are updated. > >According to the commit log, sem.ko is only required for *old* >binaries, i.e., updating ports may not fix the problem but you may >have to *rebuild* every port from scratch to prove or disprove it, >unfortunately. :-( > I was thinking about that. Anyway, many ports were built after that, including Firefox and OpenJDK. And kldloading sem doesn't fix that. Maybe my "successful" tests were just wrong. >> I can crash it regularly loading a demo applet (e.g. ArcTest in >> /usr/local/openjdk6/demo/applets) in a tab and then closing the >> tab. If it could be of any help, I'm adding an excerpt from the >> backtrace I'm getting: >> >> Core was generated by `firefox-bin'. >> Program terminated with signal 11, Segmentation fault. >> ... >> #0 0x29e36247 in kill () from /lib/libc.so.7 >> #1 0x29e361a6 in raise () from /lib/libc.so.7 >> #2 0x282424f6 in XRE_LockProfileDirectory () from >> /usr/local/lib/firefox3/libxul.so >> #3 >> #4 0x29c8f1b2 in std::_Rb_tree_increment () from >> /usr/lib/libstdc++.so.6 #5 0x2ef92402 in >> IcedTeaPluginUtilities::invalidateInstance () from >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so >> #6 0x2efa17b0 in ITNP_Destroy () from >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so >> #7 0x28b5d776 in ffi_call_SYSV () from >> /usr/local/lib/firefox3/libxul.so #8 0x284b023b in >> std::vector, std:: >> allocator > >::_M_insert_aux () from >> /usr/local/lib/firefox3/libxul.so >> #9 0x284b0598 in std::vector, std:: >> allocator > >::_M_insert_aux () from >> /usr/local/lib/firefox3/libxul.so >> #10 0x28d721c3 in NS_GetComponentManager_P () from >> /usr/local/lib/firefox3/libxul.so >> #11 0x28d339d3 in nsPrintSession::Release () from >> /usr/local/lib/firefox3/libxul.so >> #12 0x28c6ede7 in JSD_DebuggerOnForUser () from >> /usr/local/lib/firefox3/libxul. so >> #13 0x28ae42df in std::vector, std:: >> allocator > >::_M_insert_aux () from >> /usr/local/lib/firefox3/libxul.so >> #14 0x2823bc84 in XRE_main () from >> /usr/local/lib/firefox3/libxul.so > >This trace looks almost identical as before, i.e., without the >patch. :-/ > >Jung-uk Kim Are you talking about the patch you added to the previous version? The one I was talking about on my first post? If you create a patch for the new version, I can test it. I can try applying it to new current version, but I'm not sure I'll find any time before the week end. Thanks Barbara From owner-freebsd-java@FreeBSD.ORG Tue Nov 2 00:09:27 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B0E81065695 for ; Tue, 2 Nov 2010 00:09:27 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out4.libero.it (cp-out4.libero.it [212.52.84.104]) by mx1.freebsd.org (Postfix) with ESMTP id 06F248FC16 for ; Tue, 2 Nov 2010 00:09:26 +0000 (UTC) Received: from wmail60 (172.31.0.57) by cp-out4.libero.it (8.5.107) (authenticated as barbara.xxx1975@libero.it) id 4CCF0A0E000291FF for freebsd-java@FreeBSD.org; Tue, 2 Nov 2010 01:09:25 +0100 Message-ID: <30009308.437901288656565739.JavaMail.defaultUser@defaultHost> Date: Tue, 2 Nov 2010 01:09:25 +0100 (CET) From: Barbara To: MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 82.57.159.3 Cc: Subject: R: Re: R: IcedTea crashing again X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 00:09:27 -0000 >On Monday 01 November 2010 06:30 pm, Barbara wrote: >> >On Monday 01 November 2010 01:57 pm, Barbara wrote: >> >> >After updating to openjdk6 b20_4, Firefox is crashing again >> >> > closing a window running an applet. >> >> >Just like before the fixes made on Sept. 23. >> >> >> >> As I noticed that it is crashing only on CURRENT, I have a >> >> suspect... >> > >> >Sorry, I cannot reproduce it on amd64 CURRENT. FYI, David Xu has >> > been busy reshuffling libthr recently. Maybe your kernel, >> > libthr, and/or binaries from ports are out of sync? >> > >> >> Could it be caused by SVN rev 213098? >> >> http://svn.freebsd.org/viewvc/base/head/sys/i386/conf/GENERIC? >> >> r1=210947&r2=213098 >> >> Should I kldload sem again? >> > >> >Why don't you try for yourself and let us know? :-P >> >> I've tried kldloading sem (on i386) and I was pretty sure it was >> working. I did that while rebuilding world+kernel after running >> csup. But at reboot it's segfaulting no matter if sem is loaded or >> not. So now I'm not so sure. >> >> All my ports are updated. > >According to the commit log, sem.ko is only required for *old* >binaries, i.e., updating ports may not fix the problem but you may >have to *rebuild* every port from scratch to prove or disprove it, >unfortunately. :-( > I was thinking about that. Anyway, many ports were built after that, including Firefox and OpenJDK. And kldloading sem doesn't fix that. Maybe my "successful" tests were just wrong. >> I can crash it regularly loading a demo applet (e.g. ArcTest in >> /usr/local/openjdk6/demo/applets) in a tab and then closing the >> tab. If it could be of any help, I'm adding an excerpt from the >> backtrace I'm getting: >> >> Core was generated by `firefox-bin'. >> Program terminated with signal 11, Segmentation fault. >> ... >> #0 0x29e36247 in kill () from /lib/libc.so.7 >> #1 0x29e361a6 in raise () from /lib/libc.so.7 >> #2 0x282424f6 in XRE_LockProfileDirectory () from >> /usr/local/lib/firefox3/libxul.so >> #3 >> #4 0x29c8f1b2 in std::_Rb_tree_increment () from >> /usr/lib/libstdc++.so.6 #5 0x2ef92402 in >> IcedTeaPluginUtilities::invalidateInstance () from >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so >> #6 0x2efa17b0 in ITNP_Destroy () from >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so >> #7 0x28b5d776 in ffi_call_SYSV () from >> /usr/local/lib/firefox3/libxul.so #8 0x284b023b in >> std::vector, std:: >> allocator > >::_M_insert_aux () from >> /usr/local/lib/firefox3/libxul.so >> #9 0x284b0598 in std::vector, std:: >> allocator > >::_M_insert_aux () from >> /usr/local/lib/firefox3/libxul.so >> #10 0x28d721c3 in NS_GetComponentManager_P () from >> /usr/local/lib/firefox3/libxul.so >> #11 0x28d339d3 in nsPrintSession::Release () from >> /usr/local/lib/firefox3/libxul.so >> #12 0x28c6ede7 in JSD_DebuggerOnForUser () from >> /usr/local/lib/firefox3/libxul. so >> #13 0x28ae42df in std::vector, std:: >> allocator > >::_M_insert_aux () from >> /usr/local/lib/firefox3/libxul.so >> #14 0x2823bc84 in XRE_main () from >> /usr/local/lib/firefox3/libxul.so > >This trace looks almost identical as before, i.e., without the >patch. :-/ > >Jung-uk Kim Are you talking about the patch you added to the previous version? The one I was talking about on my first post? If you create a patch for the new version, I can test it. I can try applying it to new current version, but I'm not sure I'll find any time before the week end. Thanks Barbara From owner-freebsd-java@FreeBSD.ORG Tue Nov 2 15:01:05 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 8D8361065675; Tue, 2 Nov 2010 15:01:05 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Barbara Date: Tue, 2 Nov 2010 11:00:55 -0400 User-Agent: KMail/1.6.2 References: <11663775.437861288656503416.JavaMail.defaultUser@defaultHost> In-Reply-To: <11663775.437861288656503416.JavaMail.defaultUser@defaultHost> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011021100.58041.jkim@FreeBSD.org> Cc: freebsd-java@FreeBSD.org Subject: Re: R: Re: R: IcedTea crashing again X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 15:01:05 -0000 On Monday 01 November 2010 08:08 pm, Barbara wrote: > >On Monday 01 November 2010 06:30 pm, Barbara wrote: > >> >On Monday 01 November 2010 01:57 pm, Barbara wrote: > >> >> >After updating to openjdk6 b20_4, Firefox is crashing again > >> >> > closing a window running an applet. > >> >> >Just like before the fixes made on Sept. 23. > >> >> > >> >> As I noticed that it is crashing only on CURRENT, I have a > >> >> suspect... > >> > > >> >Sorry, I cannot reproduce it on amd64 CURRENT. FYI, David Xu > >> > has been busy reshuffling libthr recently. Maybe your kernel, > >> > libthr, and/or binaries from ports are out of sync? > >> > > >> >> Could it be caused by SVN rev 213098? > >> >> http://svn.freebsd.org/viewvc/base/head/sys/i386/conf/GENERIC > >> >>? r1=210947&r2=213098 > >> >> Should I kldload sem again? > >> > > >> >Why don't you try for yourself and let us know? :-P > >> > >> I've tried kldloading sem (on i386) and I was pretty sure it was > >> working. I did that while rebuilding world+kernel after running > >> csup. But at reboot it's segfaulting no matter if sem is loaded > >> or not. So now I'm not so sure. > >> > >> All my ports are updated. > > > >According to the commit log, sem.ko is only required for *old* > >binaries, i.e., updating ports may not fix the problem but you may > >have to *rebuild* every port from scratch to prove or disprove it, > >unfortunately. :-( > > I was thinking about that. > Anyway, many ports were built after that, including Firefox and > OpenJDK. And kldloading sem doesn't fix that. Maybe my "successful" > tests were just wrong. > > >> I can crash it regularly loading a demo applet (e.g. ArcTest in > >> /usr/local/openjdk6/demo/applets) in a tab and then closing the > >> tab. If it could be of any help, I'm adding an excerpt from the > >> backtrace I'm getting: > >> > >> Core was generated by `firefox-bin'. > >> Program terminated with signal 11, Segmentation fault. > >> ... > >> #0 0x29e36247 in kill () from /lib/libc.so.7 > >> #1 0x29e361a6 in raise () from /lib/libc.so.7 > >> #2 0x282424f6 in XRE_LockProfileDirectory () from > >> /usr/local/lib/firefox3/libxul.so > >> #3 > >> #4 0x29c8f1b2 in std::_Rb_tree_increment () from > >> /usr/lib/libstdc++.so.6 #5 0x2ef92402 in > >> IcedTeaPluginUtilities::invalidateInstance () from > >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so > >> #6 0x2efa17b0 in ITNP_Destroy () from > >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so > >> #7 0x28b5d776 in ffi_call_SYSV () from > >> /usr/local/lib/firefox3/libxul.so #8 0x284b023b in > >> std::vector, std:: > >> allocator > >::_M_insert_aux () from > >> /usr/local/lib/firefox3/libxul.so > >> #9 0x284b0598 in std::vector, std:: > >> allocator > >::_M_insert_aux () from > >> /usr/local/lib/firefox3/libxul.so > >> #10 0x28d721c3 in NS_GetComponentManager_P () from > >> /usr/local/lib/firefox3/libxul.so > >> #11 0x28d339d3 in nsPrintSession::Release () from > >> /usr/local/lib/firefox3/libxul.so > >> #12 0x28c6ede7 in JSD_DebuggerOnForUser () from > >> /usr/local/lib/firefox3/libxul. so > >> #13 0x28ae42df in std::vector, std:: > >> allocator > >::_M_insert_aux () from > >> /usr/local/lib/firefox3/libxul.so > >> #14 0x2823bc84 in XRE_main () from > >> /usr/local/lib/firefox3/libxul.so > > > >This trace looks almost identical as before, i.e., without the > >patch. :-/ > > > >Jung-uk Kim > > Are you talking about the patch you added to the previous version? > The one I was talking about on my first post? No, I was talking about the patch in the ports now. Jung-uk Kim > If you create a patch for the new version, I can test it. > I can try applying it to new current version, but I'm not sure I'll > find any time before the week end. > > Thanks > Barbara From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 00:22:18 2010 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 047E51065670 for ; Wed, 3 Nov 2010 00:22:18 +0000 (UTC) (envelope-from ibooker.llnw@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id C51B08FC1A for ; Wed, 3 Nov 2010 00:22:17 +0000 (UTC) Received: by pvc22 with SMTP id 22so16110pvc.13 for ; Tue, 02 Nov 2010 17:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:user-agent:date:subject:from :to:message-id:thread-topic:thread-index:mime-version:content-type; bh=fXmj4cqO5sJk8HeBSaQ3GcG4SXJTRAl7U2or4CBT/gI=; b=a+2uL8KcMis5t/XPWK/P8KO20z6Bn8+dm1MESn3b02zu1/1tnU8KkXAKySfRKgLPKZ Wrd3TABZeeTQe3VoEOlizYjiQk2aiPEtx84o6+3v7TmMXg0fSeHAlmGRYqYq73tkVpWE gm9dvJ3+GeA6mdODwMdjDwf2Qeq+insFa5lHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:mime-version:content-type; b=JjybLlzyJB832TTlqnP0+394ozJaobRwj8i41TLUqjL+6LQowXxRMNOVackvJstKv/ x80T7JBmBt6LC9b5BQZoklDrB8u+FOamsMxEaZ4S1orB1mu4loYNLtBIbM1fbtGlpAkx wa30eWu3Bo4QFnkyquEWpvXxUgeQ9L0ldmQJ8= Received: by 10.142.131.17 with SMTP id e17mr6572175wfd.320.1288742292543; Tue, 02 Nov 2010 16:58:12 -0700 (PDT) Received: from [68.142.115.63] ([68.142.115.63]) by mx.google.com with ESMTPS id w14sm11972458wfd.6.2010.11.02.16.58.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Nov 2010 16:58:11 -0700 (PDT) User-Agent: Microsoft-Entourage/12.25.0.100505 Date: Tue, 02 Nov 2010 17:00:17 -0700 From: I Booker To: Message-ID: Thread-Topic: OpenJDK Build Issue -- SIGSEGV at OperatingSystemMXBean getTotalPhysicalMemorySize Thread-Index: Act66hj37eieh0bH40aJPXTCp3YXqA== Mime-version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: OpenJDK Build Issue -- SIGSEGV at OperatingSystemMXBean getTotalPhysicalMemorySize X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 00:22:18 -0000 I=B9m looking for some guidance on configuring OpenJDK correctly for some platform. We recently noticed a problem where connecting to a java application (running using OpenJDK 6-b20_4) on a remote machine (running FreeBSD 7.2) using JConsole kills the remote application. The remote JVM crashes due to a segmentation fault almost immediately after a JConsole instance connects to it. =20 I traced the problem to the getTotalPhysicalMemorySize() function in the OperatingSystemMXBean. I can reproduce the segmentation fault using the unit test for this method that comes with OpenJDK ( jdk6/jdk/.../test/com/sun/management/OperatingSystemMXBean/GetTotalPhysical= M emorySize.java). This problem seems limited to OpenJDK. The same unit test, compiled and executed using an older Diablo build (1.6.0_07-b02), runs without error. Direct calls to the sysctl method (see libc, sys/sysctl.h) are successful, as are calls to the sysctl utility (e.g. sysctl hw.physmem). We were able t= o reproduce this issue on different machines, using Jconsole executables from OpenJDK & SUN JVM distros (v6). Does anyone have any suggestions as to build settings or any other configuration items we should look at to resolve this problem? Regards, I Booker LLNW BTW, I included the segmentation fault details generated by the GetTotalPhysicalMemorySize unit test # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=3D0x000000080205dd34, pid=3D75359, tid=3D34371281472 # # JRE version: 6.0-b20 # Java VM: OpenJDK 64-Bit Server VM (17.0-b16 mixed mode bsd-amd64 ) # Problematic frame: #=20 [error occurred during error reporting (printing problematic frame), id 0xb= ] # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x0000000801b2e000): JavaThread "main" [_thread_in_Java, id=3D11543104, stack(0x00007fffffaff000,0x00007fffffbff000)] siginfo:si_signo=3DSIGSEGV: si_errno=3D0, si_code=3D1 (SEGV_MAPERR), si_addr=3D0x00007fff00000018 Registers: RAX=3D0x00000001ff4ad000, RBX=3D0x00000008052bfdb0, RCX=3D0x000000080094c30c, RDX=3D0x0000000000000001 RSP=3D0x00007fffffbfe910, RBP=3D0x00007fff00000000, RSI=3D0x0000000000000002, RDI=3D0x00007fffffbfe900 R8 =3D0x0000000000000001, R9 =3D0x00007fffffbfe8f8, R10=3D0x0000000000000000, R11=3D0x000000080205af1b R12=3D0x0000000801b2e000, R13=3D0x00000008052bfdb0, R14=3D0x00007fffffbfe9a0, R15=3D0x0000000801b2e000 RIP=3D0x000000080205dd34, EFL=3D0x0000000000000000, ERR=3D0x0000000000000004 TRAPNO=3D0x000000000000000c Top of Stack: (sp=3D0x00007fffffbfe910) 0x00007fffffbfe910: 00000001ff4ad000 000000080205db26 0x00007fffffbfe920: 0000000041400000 000000080205dc88 0x00007fffffbfe930: 0000000801b11880 0000000801b11898 0x00007fffffbfe940: 00007fffffbfe940 00000008052bfdb0 0x00007fffffbfe950: 00007fffffbfe9a0 00000008052c14b0 0x00007fffffbfe960: 0000000000000000 00000008052bfdb0 0x00007fffffbfe970: 0000000000000000 00007fffffbfe9a0 0x00007fffffbfe980: 00007fffffbfe9e8 0000000802052dc3 0x00007fffffbfe990: 0000000000000000 000000080205af17 0x00007fffffbfe9a0: 000000085b082ce0 00007fffffbfe9a8 0x00007fffffbfe9b0: 00000008052aac5a 00007fffffbfea18 0x00007fffffbfe9c0: 00000008052ab1b0 0000000000000000 0x00007fffffbfe9d0: 00000008052aacf0 00007fffffbfe9a0 0x00007fffffbfe9e0: 00007fffffbfea18 00007fffffbfea80 0x00007fffffbfe9f0: 000000080204d3eb 0000000000000000 0x00007fffffbfea00: 0000000000000000 0000000008000000 0x00007fffffbfea10: 0000000000000000 000000085b0831d8 0x00007fffffbfea20: 0000000800001fa0 000000080204d369 0x00007fffffbfea30: 00007fffffbfebd0 0000000000000001 0x00007fffffbfea40: 0000000801b2e000 0000000801b11818 0x00007fffffbfea50: 00007fffffbfead0 00007fffffbfee08 0x00007fffffbfea60: 000000080000000a 00000008052aacf0 0x00007fffffbfea70: 000000080205c560 00007fffffbfebd8 0x00007fffffbfea80: 00007fffffbfeb70 0000000801014d88 0x00007fffffbfea90: 00007fff00000001 0000000801b2e000 0x00007fffffbfeaa0: 000000080205cf40 00007fffffbfead0 0x00007fffffbfeab0: 00007fffffbfeb10 00007fffffbfee08 0x00007fffffbfeac0: 000000080205c560 000000080000000a 0x00007fffffbfead0: 0000000801b2e000 0000000801b3f110 0x00007fffffbfeae0: 00000008052aacf0 0000000000000000 0x00007fffffbfeaf0: 0000000000000000 0000000000000000 0x00007fffffbfeb00: 0000000000000000 00007fffffbfee00 Instructions: (pc=3D0x000000080205dd34) 0x000000080205dd24: 00 00 00 00 00 00 49 bb 1b af 05 02 08 00 00 00 0x000000080205dd34: 4c 3b 5d 18 0f 85 20 00 00 00 48 8b 04 24 48 83 Stack: [0x00007fffffaff000,0x00007fffffbff000], sp=3D0x00007fffffbfe910, free space=3D3fe000000080094c0bck Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, C=3Dnative code) [error occurred during error reporting (printing native stack), id 0xb] --------------- P R O C E S S --------------- Java Threads: ( =3D> current thread ) 0x0000000884044000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3D28418928, stack(0x00007ffffeff4000,0x00007fffff0f4000)= ] 0x0000000884041000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3D28418528, stack(0x00007fffff0f5000,0x00007fffff1f5000)] 0x000000088403f000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3D28418128, stack(0x00007fffff1f6000,0x00007fffff2f6000)] 0x000000088403e000 JavaThread "Signal Dispatcher" daemon [_thread_blocked= , id=3D28417728, stack(0x00007fffff2f7000,0x00007fffff3f7000)] 0x0000000884016000 JavaThread "Finalizer" daemon [_thread_blocked, id=3D28417328, stack(0x00007fffff3f800 0,0x00007fffff4f8000)] 0x0000000884015000 JavaThread "Reference Handler" daemon [_thread_blocked= , id=3D28416928, stack(0x00007fffff4f9000,0x00007fffff5f9000)] =3D>0x0000000801b2e000 JavaThread "main" [_thread_in_Java, id=3D11543104, stack(0x00007fffffaff000,0x00007fffffbff000)] Other Threads: 0x0000000884011000 VMThread [stack: 0x00007fffff5fa000,0x00007fffff6fa000= ] [id=3D28416528] 0x000000088404d000 WatcherThread [stack: 0x00007ffffeef3000,0x00007ffffeff3000] [id=3D28414528] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 36224K, used 622K [0x000000085b050000, 0x000000085d8b0000, 0x0000000883650000) eden space 31104K, 2% used [0x000000085b050000,0x000000085b0eb868,0x000000085ceb0000) from space 5120K, 0% used [0x000000085d3b0000,0x000000085d3b0000,0x000000085d8b0000) to space 5120K, 0% used [0x000000085ceb0000,0x000000085ceb0000,0x000000085d3b0000) PSOldGen total 82688K, used 0K [0x000000080a450000, 0x000000080f510000, 0x000000085b050000) object space 82688K, 0% used [0x000000080a450000,0x000000080a450000,0x000000080f510000) PSPermGen total 21248K, used 2501K [0x0000000805050000, 0x0000000806510000, 0x000000080a450000) object space 21248K, 11% used [0x0000000805050000,0x00000008052c1560,0x0000000806510000) Dynamic libraries: 0x0000000000400000 /usr/local/openjdk6/bin/java 0x000000080063c000 /lib/libz.so.4 0x0000000800750000 /lib/libthr.so.3 0x0000000800868000 /lib/libc.so.7 0x0000000800c00000 /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so 0x0000000801613000 /usr/lib/libstdc++.so.6 0x000000080181f000 /lib/libm.so.5 0x0000000801939000 /lib/libgcc_s.so.1 0x0000000801c00000 /usr/local/openjdk6/jre/lib/amd64/libverify.so 0x0000000801d0f000 /usr/local/openjdk6/jre/lib/amd64/libjava.so 0x0000000801e3a000=20 /usr/local/openjdk6/jre/lib/amd64/native_threads/libhpi.so 0x0000000801f46000 /usr/local/openjdk6/jre/lib/amd64/libzip.so 0x0000000884600000 /usr/local/openjdk6/jre/lib/amd64/libmanagement.so 0x000000080050a000 /libexec/ld-elf.so.1 vM Arguments: java_command: GetTotalPhysicalMemorySize Launcher Type: SUN_STANDARD Environment Variables: PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi= n :/home/user/bin LD_LIBRARY_PATH=3D/usr/local/openjdk6/jre/lib/amd64/server:/usr/local/openjdk= 6 /jre/lib/amd64:/usr/local/openjdk6/jre/../lib/amd64 SHELL=3D/usr/local/bin/bash Signal Handlers: SIGSEGV: [libjvm.so+0x740970], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGBUS: [libjvm.so+0x740970], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGFPE: [libjvm.so+0x5f8fb0], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGPIPE: [libjvm.so+0x5f8fb0], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGXFSZ: [libjvm.so+0x5f8fb0], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGILL: [libjvm.so+0x5f8fb0], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=3D0x63807efb, sa_flags=3D0x00000000 SIGUSR2: [libjvm.so+0x5fbaa0], sa_mask[0]=3D0x00000000, sa_flags=3D0x00000042 SIGHUP: [libjvm.so+0x5fa480], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGINT: [libjvm.so+0x5fa480], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGTERM: [libjvm.so+0x5fa480], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGQUIT: [libjvm.so+0x5fa480], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Oct 12 14:56:23 MST 2009 user@host.domain.net:/usr/obj/usr/src/sys/SIXFOUR amd64 rlimit: STACK 524288k, CORE infinity, NPROC 5547, NOFILE 32768 CPU:total 4 (2 cores per cpu, 1 threads per core) family 6 model 15 steppin= g 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 7935044k(1983761k free) vm_info: OpenJDK 64-Bit Server VM (17.0-b16) for bsd-amd64 JRE (1.6.0-b20), built on Oct 14 2010 10:36:36 by "root" with gcc 4.2.1 20070719 [FreeBSD] time: Tue Nov 2 13:39:23 2010 elapsed time: 0 seconds From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 04:00:33 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B452106566C; Wed, 3 Nov 2010 04:00:33 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 212E08FC08; Wed, 3 Nov 2010 04:00:33 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA340XuC095263; Wed, 3 Nov 2010 04:00:33 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA340WOH095245; Wed, 3 Nov 2010 04:00:32 GMT (envelope-from edwin) Date: Wed, 3 Nov 2010 04:00:32 GMT Message-Id: <201011030400.oA340WOH095245@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/151906: [PATCH] devel/apache-ant: update to 1.8.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 04:00:33 -0000 Synopsis: [PATCH] devel/apache-ant: update to 1.8.1 Responsible-Changed-From-To: freebsd-ports-bugs->java Responsible-Changed-By: edwin Responsible-Changed-When: Wed Nov 3 04:00:32 UTC 2010 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=151906 From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 04:17:57 2010 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD038106566C for ; Wed, 3 Nov 2010 04:17:57 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 710C68FC25 for ; Wed, 3 Nov 2010 04:17:57 +0000 (UTC) Received: by yxl31 with SMTP id 31so191305yxl.13 for ; Tue, 02 Nov 2010 21:17:56 -0700 (PDT) Received: by 10.100.123.12 with SMTP id v12mr1575827anc.253.1288756296652; Tue, 02 Nov 2010 20:51:36 -0700 (PDT) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id b22sm4808652anb.15.2010.11.02.20.51.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Nov 2010 20:51:34 -0700 (PDT) Sender: Sunpoet Hsieh Received: by sunpoet.net (Postfix, from userid 1000) id 0CB172AEC9D3; Wed, 3 Nov 2010 11:51:11 +0800 (CST) To: FreeBSD-gnats-submit@freebsd.org From: Sunpoet Po-Chuan Hsieh X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20101103035111.0CB172AEC9D3@sunpoet.net> Date: Wed, 3 Nov 2010 11:51:11 +0800 (CST) Cc: java@FreeBSD.org Subject: [PATCH] devel/apache-ant: update to 1.8.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 04:17:57 -0000 >Submitter-Id: current-users >Originator: Sunpoet Po-Chuan Hsieh >Organization: The FreeBSD Project >Confidential: no >Synopsis: [PATCH] devel/apache-ant: update to 1.8.1 >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 8.1-STABLE amd64 >Environment: System: FreeBSD bonjour.sunpoet.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Oct 23 16:01:16 CST 2010 >Description: - Update to 1.8.1 - Add LICENSE - Cleanup MASTER_SITES - Sort PLIST Port maintainer (java@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- apache-ant-1.8.1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/apache-ant/Makefile,v retrieving revision 1.49 diff -u -u -r1.49 Makefile --- Makefile 9 Mar 2009 22:45:22 -0000 1.49 +++ Makefile 3 Nov 2010 03:50:07 -0000 @@ -6,11 +6,10 @@ # PORTNAME= apache-ant -PORTVERSION= 1.7.1 +PORTVERSION= 1.8.1 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:bin,} \ - ${MASTER_SITE_LOCAL:S,%SUBDIR%/,hq/:man,} \ - http://www.esil.univ-mrs.fr/~hquiroz/:man + LOCAL/hq:man DISTFILES= ${ANT_DISTFILE}:bin \ ${MANPAGE_DISTFILE}:man EXTRACT_ONLY= ${ANT_DISTFILE} @@ -20,6 +19,8 @@ RUN_DEPENDS= classpath:${PORTSDIR}/java/javavmwrapper +LICENSE= ASL + ANT_DISTFILE= ${PORTNAME}-${PORTVERSION}-bin.tar.bz2 MANPAGE_DISTFILE= ${PORTNAME}-manpage-${MANPAGE_VERSION}.tgz MANPAGE_VERSION= 20030908 @@ -30,12 +31,10 @@ NO_BUILD= YES DATADIR= ${JAVASHAREDIR}/${PORTNAME} -PLIST_SUB+= ANT_VERSION="${PORTVERSION}" - READMES= LICENSE README WHATSNEW .if !defined(NOPORTDOCS) -PORTDOCS= * .htaccess +PORTDOCS= * .endif WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} Index: distinfo =================================================================== RCS file: /home/ncvs/ports/devel/apache-ant/distinfo,v retrieving revision 1.20 diff -u -u -r1.20 distinfo --- distinfo 9 Mar 2009 22:45:31 -0000 1.20 +++ distinfo 3 Nov 2010 03:50:07 -0000 @@ -1,6 +1,4 @@ -MD5 (apache-ant-1.7.1-bin.tar.bz2) = 9330447f3763b87570dd1118c49a8efd -SHA256 (apache-ant-1.7.1-bin.tar.bz2) = 24e54c9d90b81d1b7342695a8285a969393fd883e99ffbbc04203c106d9c2f97 -SIZE (apache-ant-1.7.1-bin.tar.bz2) = 7641928 -MD5 (apache-ant-manpage-20030908.tgz) = 1fe1fdab6cce4def62005d67d929a9c9 +SHA256 (apache-ant-1.8.1-bin.tar.bz2) = e0c4e1133b0cb80dc4b29fc48f11b8f57e845e16474472f2749625be5cc66ca9 +SIZE (apache-ant-1.8.1-bin.tar.bz2) = 6702817 SHA256 (apache-ant-manpage-20030908.tgz) = 721981f64fae3577c04c527232edab9bfa0755af08319049cec206584dc8830c SIZE (apache-ant-manpage-20030908.tgz) = 9735 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/devel/apache-ant/pkg-plist,v retrieving revision 1.26 diff -u -u -r1.26 pkg-plist --- pkg-plist 9 Mar 2009 22:45:31 -0000 1.26 +++ pkg-plist 3 Nov 2010 03:50:07 -0000 @@ -1,4 +1,5 @@ @comment $FreeBSD: ports/devel/apache-ant/pkg-plist,v 1.26 2009/03/09 22:45:31 gahr Exp $ +bin/ant %%DATADIR%%/bin/antRun %%DATADIR%%/etc/ant-bootstrap.jar %%DATADIR%%/etc/changelog.xsl @@ -16,115 +17,54 @@ %%DATADIR%%/etc/mmetrics-frames.xsl %%DATADIR%%/etc/tagdiff.xsl %%DATADIR%%/lib/README -%%DATADIR%%/lib/ant-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-%%ANT_VERSION%%.pom.sha1 -%%DATADIR%%/lib/ant-antlr-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-antlr-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-antlr-%%ANT_VERSION%%.pom.sha1 %%DATADIR%%/lib/ant-antlr.jar -%%DATADIR%%/lib/ant-apache-bcel-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-apache-bcel-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-apache-bcel-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-antlr.pom %%DATADIR%%/lib/ant-apache-bcel.jar -%%DATADIR%%/lib/ant-apache-bsf-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-apache-bsf-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-apache-bsf-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-apache-bcel.pom %%DATADIR%%/lib/ant-apache-bsf.jar -%%DATADIR%%/lib/ant-apache-log4j-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-apache-log4j-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-apache-log4j-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-apache-bsf.pom %%DATADIR%%/lib/ant-apache-log4j.jar -%%DATADIR%%/lib/ant-apache-oro-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-apache-oro-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-apache-oro-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-apache-log4j.pom %%DATADIR%%/lib/ant-apache-oro.jar -%%DATADIR%%/lib/ant-apache-regexp-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-apache-regexp-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-apache-regexp-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-apache-oro.pom %%DATADIR%%/lib/ant-apache-regexp.jar -%%DATADIR%%/lib/ant-apache-resolver-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-apache-resolver-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-apache-resolver-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-apache-regexp.pom %%DATADIR%%/lib/ant-apache-resolver.jar -%%DATADIR%%/lib/ant-commons-logging-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-commons-logging-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-commons-logging-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-apache-resolver.pom +%%DATADIR%%/lib/ant-apache-xalan2.jar +%%DATADIR%%/lib/ant-apache-xalan2.pom %%DATADIR%%/lib/ant-commons-logging.jar -%%DATADIR%%/lib/ant-commons-net-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-commons-net-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-commons-net-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-commons-logging.pom %%DATADIR%%/lib/ant-commons-net.jar -%%DATADIR%%/lib/ant-jai-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-jai-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-jai-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-commons-net.pom %%DATADIR%%/lib/ant-jai.jar -%%DATADIR%%/lib/ant-javamail-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-javamail-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-javamail-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-jai.pom %%DATADIR%%/lib/ant-javamail.jar -%%DATADIR%%/lib/ant-jdepend-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-jdepend-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-jdepend-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-javamail.pom %%DATADIR%%/lib/ant-jdepend.jar -%%DATADIR%%/lib/ant-jmf-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-jmf-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-jmf-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-jdepend.pom %%DATADIR%%/lib/ant-jmf.jar -%%DATADIR%%/lib/ant-jsch-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-jsch-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-jsch-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-jmf.pom %%DATADIR%%/lib/ant-jsch.jar -%%DATADIR%%/lib/ant-junit-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-junit-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-junit-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-jsch.pom %%DATADIR%%/lib/ant-junit.jar -%%DATADIR%%/lib/ant-launcher-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-launcher-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-launcher-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-junit.pom %%DATADIR%%/lib/ant-launcher.jar -%%DATADIR%%/lib/ant-netrexx-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-netrexx-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-netrexx-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-launcher.pom %%DATADIR%%/lib/ant-netrexx.jar -%%DATADIR%%/lib/ant-nodeps-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-nodeps-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-nodeps-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-netrexx.pom %%DATADIR%%/lib/ant-nodeps.jar -%%DATADIR%%/lib/ant-parent-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-parent-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-parent-%%ANT_VERSION%%.pom.sha1 -%%DATADIR%%/lib/ant-starteam-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-starteam-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-starteam-%%ANT_VERSION%%.pom.sha1 -%%DATADIR%%/lib/ant-starteam.jar -%%DATADIR%%/lib/ant-stylebook-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-stylebook-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-stylebook-%%ANT_VERSION%%.pom.sha1 -%%DATADIR%%/lib/ant-stylebook.jar -%%DATADIR%%/lib/ant-swing-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-swing-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-swing-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-nodeps.pom +%%DATADIR%%/lib/ant-parent.pom %%DATADIR%%/lib/ant-swing.jar -%%DATADIR%%/lib/ant-testutil-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-testutil-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-testutil-%%ANT_VERSION%%.pom.sha1 +%%DATADIR%%/lib/ant-swing.pom %%DATADIR%%/lib/ant-testutil.jar -%%DATADIR%%/lib/ant-trax-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-trax-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-trax-%%ANT_VERSION%%.pom.sha1 -%%DATADIR%%/lib/ant-trax.jar -%%DATADIR%%/lib/ant-weblogic-%%ANT_VERSION%%.pom -%%DATADIR%%/lib/ant-weblogic-%%ANT_VERSION%%.pom.md5 -%%DATADIR%%/lib/ant-weblogic-%%ANT_VERSION%%.pom.sha1 -%%DATADIR%%/lib/ant-weblogic.jar +%%DATADIR%%/lib/ant-testutil.pom %%DATADIR%%/lib/ant.jar +%%DATADIR%%/lib/ant.pom %%DATADIR%%/lib/libraries.properties -%%DATADIR%%/lib/xercesImpl.jar -%%DATADIR%%/lib/xml-apis.jar -bin/ant -@dirrm %%DATADIR%%/bin +@dirrm %%DATADIR%%/lib @dirrm %%DATADIR%%/etc/checkstyle @dirrm %%DATADIR%%/etc -@dirrm %%DATADIR%%/lib +@dirrm %%DATADIR%%/bin @dirrm %%DATADIR%% --- apache-ant-1.8.1.patch ends here --- From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 20:00:31 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32B45106564A; Wed, 3 Nov 2010 20:00:31 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 08A958FC15; Wed, 3 Nov 2010 20:00:31 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA3K0UGi025679; Wed, 3 Nov 2010 20:00:30 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA3K0Uit025659; Wed, 3 Nov 2010 20:00:30 GMT (envelope-from edwin) Date: Wed, 3 Nov 2010 20:00:30 GMT Message-Id: <201011032000.oA3K0Uit025659@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 20:00:31 -0000 Synopsis: [patch] java/openjdk6: free and native openjdk bootstrap Responsible-Changed-From-To: freebsd-ports-bugs->java Responsible-Changed-By: edwin Responsible-Changed-When: Wed Nov 3 20:00:29 UTC 2010 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=151923 From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 21:10:11 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E71C106564A for ; Wed, 3 Nov 2010 21:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7DEB08FC17 for ; Wed, 3 Nov 2010 21:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA3LABsF097972 for ; Wed, 3 Nov 2010 21:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA3LABd5097970; Wed, 3 Nov 2010 21:10:11 GMT (envelope-from gnats) Date: Wed, 3 Nov 2010 21:10:11 GMT Message-Id: <201011032110.oA3LABd5097970@freefall.freebsd.org> To: java@FreeBSD.org From: David DEMELIER Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David DEMELIER List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 21:10:11 -0000 The following reply was made to PR ports/151923; it has been noted by GNATS. From: David DEMELIER To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap Date: Wed, 3 Nov 2010 21:43:18 +0100 Sorry, there is something missing in the distinfo. I don't know why it had disappear but replace the line from : SHA256 (freebsd-8-openjdk6-i386-bootstrap.tgz) = 2419f8a47b03a04c94fb213386af03a1956f0cf34546402d85834 to : SHA256 (freebsd-8-openjdk6-i386-bootstrap.tgz) = 2419f8a47b03a04c94fb213386af03a1956f0cf34546402d85834f0ecfafc214 Sorry for this. -- Demelier David From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 21:51:55 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 26FF910656AB; Wed, 3 Nov 2010 21:51:55 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: bug-followup@FreeBSD.org, freebsd-java@freebsd.org, David DEMELIER Date: Wed, 3 Nov 2010 17:51:44 -0400 User-Agent: KMail/1.6.2 References: <201011032110.oA3LABd5097970@freefall.freebsd.org> In-Reply-To: <201011032110.oA3LABd5097970@freefall.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011031751.47171.jkim@FreeBSD.org> Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 21:51:55 -0000 It doesn't make any sense to me because we have prebuilt OpenJDK packages to bootstrap on FTP servers. I mean all you have to do is "pkg_add -r openjdk6" to bootstrap itself. Why do you want to do that for? Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 22:00:21 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 889A31065679 for ; Wed, 3 Nov 2010 22:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 539158FC13 for ; Wed, 3 Nov 2010 22:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA3M0LgT047646 for ; Wed, 3 Nov 2010 22:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA3M0L3v047623; Wed, 3 Nov 2010 22:00:21 GMT (envelope-from gnats) Date: Wed, 3 Nov 2010 22:00:21 GMT Message-Id: <201011032200.oA3M0L3v047623@freefall.freebsd.org> To: java@FreeBSD.org From: Jung-uk Kim Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jung-uk Kim List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 22:00:21 -0000 The following reply was made to PR ports/151923; it has been noted by GNATS. From: Jung-uk Kim To: bug-followup@FreeBSD.org, freebsd-java@freebsd.org, David DEMELIER Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap Date: Wed, 3 Nov 2010 17:51:44 -0400 It doesn't make any sense to me because we have prebuilt OpenJDK packages to bootstrap on FTP servers. I mean all you have to do is "pkg_add -r openjdk6" to bootstrap itself. Why do you want to do that for? Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 23:08:50 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 822E2106566C; Wed, 3 Nov 2010 23:08:50 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B0B2B8FC1B; Wed, 3 Nov 2010 23:08:49 +0000 (UTC) Received: by bwz3 with SMTP id 3so1075661bwz.13 for ; Wed, 03 Nov 2010 16:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=vH5UIqL8dfQT++OCwAJ1+u4Q6wrafagyCCRGTYMdf00=; b=hH/H0JxzsnA5tCc3M5PQ4vy+1qEaFiKxxb0hKUuNDH8LwmEn5TvcU88jjSZrvdN9gE wwBWC/VCOSrSouctBivoesdoKLUEAzuSJvkORMuqQOin1hMHcBfr9x8+49BvJcG6YEHh N5ffKp8eg4+fz6dqwt92wfPSESbcAkgz9tlpU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hA9smapZ+YMBVDqCRuvBrk6Z4LJIweLH0A9U0FQJVtC4RXA9ZNMVd686hJ9kg+1G+Z ZqRAjqMr5K4BDvC0x1geLFaklGebqlxjt3roeAw9mTyFJ2sj9KKNDkf6jU6nQ1vHwbKX YTG7/ex3Y1P2vSJC5NsvFAvNdGj3cvb6e2sMY= MIME-Version: 1.0 Received: by 10.204.62.193 with SMTP id y1mr15982722bkh.131.1288824201133; Wed, 03 Nov 2010 15:43:21 -0700 (PDT) Received: by 10.204.98.195 with HTTP; Wed, 3 Nov 2010 15:43:21 -0700 (PDT) In-Reply-To: <201011031751.47171.jkim@FreeBSD.org> References: <201011032110.oA3LABd5097970@freefall.freebsd.org> <201011031751.47171.jkim@FreeBSD.org> Date: Wed, 3 Nov 2010 23:43:21 +0100 Message-ID: From: David DEMELIER To: Jung-uk Kim Content-Type: text/plain; charset=UTF-8 Cc: bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 23:08:50 -0000 I made this like pkgsrc does, pkg_add -r openjdk6 pulls some dependencies, I agree with you pkg_add'ing the prebuilt package is possible but some people don't like this. If you run -current or -stable packages could be outdated too, here using a bootstrap will build depends from ports and openjdk from ports without any binaries and without any non-free binaries. -- Demelier David From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 23:10:11 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6828B1065673 for ; Wed, 3 Nov 2010 23:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 57F1C8FC14 for ; Wed, 3 Nov 2010 23:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA3NABcB021358 for ; Wed, 3 Nov 2010 23:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA3NABva021357; Wed, 3 Nov 2010 23:10:11 GMT (envelope-from gnats) Date: Wed, 3 Nov 2010 23:10:11 GMT Message-Id: <201011032310.oA3NABva021357@freefall.freebsd.org> To: java@FreeBSD.org From: David DEMELIER Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David DEMELIER List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 23:10:11 -0000 The following reply was made to PR ports/151923; it has been noted by GNATS. From: David DEMELIER To: Jung-uk Kim Cc: bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap Date: Wed, 3 Nov 2010 23:43:21 +0100 I made this like pkgsrc does, pkg_add -r openjdk6 pulls some dependencies, I agree with you pkg_add'ing the prebuilt package is possible but some people don't like this. If you run -current or -stable packages could be outdated too, here using a bootstrap will build depends from ports and openjdk from ports without any binaries and without any non-free binaries. -- Demelier David From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 23:14:51 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E90B71065670 for ; Wed, 3 Nov 2010 23:14:51 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out3.libero.it (cp-out3.libero.it [212.52.84.103]) by mx1.freebsd.org (Postfix) with ESMTP id 84C4F8FC15 for ; Wed, 3 Nov 2010 23:14:51 +0000 (UTC) Received: from wmail29 (172.31.0.40) by cp-out3.libero.it (8.5.107) (authenticated as barbara.xxx1975@libero.it) id 4CC15B5200DE1BEF for freebsd-java@FreeBSD.org; Thu, 4 Nov 2010 00:14:49 +0100 Message-ID: <5594115.458831288826089780.JavaMail.defaultUser@defaultHost> Date: Thu, 4 Nov 2010 00:14:49 +0100 (CET) From: Barbara To: MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 87.19.208.3 Cc: Subject: R: Re: R: IcedTea crashing again X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 23:14:52 -0000 >On Monday 01 November 2010 08:08 pm, Barbara wrote: >> >On Monday 01 November 2010 06:30 pm, Barbara wrote: >> >> >On Monday 01 November 2010 01:57 pm, Barbara wrote: >> >> >> >After updating to openjdk6 b20_4, Firefox is crashing again >> >> >> > closing a window running an applet. >> >> >> >Just like before the fixes made on Sept. 23. >> >> >> >> >> >> As I noticed that it is crashing only on CURRENT, I have a >> >> >> suspect... >> >> > >> >> >Sorry, I cannot reproduce it on amd64 CURRENT. FYI, David Xu >> >> > has been busy reshuffling libthr recently. Maybe your kernel, >> >> > libthr, and/or binaries from ports are out of sync? >> >> > >> >> >> Could it be caused by SVN rev 213098? >> >> >> http://svn.freebsd.org/viewvc/base/head/sys/i386/conf/GENERIC >> >> >>? r1=210947&r2=213098 >> >> >> Should I kldload sem again? >> >> > >> >> >Why don't you try for yourself and let us know? :-P >> >> >> >> I've tried kldloading sem (on i386) and I was pretty sure it was >> >> working. I did that while rebuilding world+kernel after running >> >> csup. But at reboot it's segfaulting no matter if sem is loaded >> >> or not. So now I'm not so sure. >> >> >> >> All my ports are updated. >> > >> >According to the commit log, sem.ko is only required for *old* >> >binaries, i.e., updating ports may not fix the problem but you may >> >have to *rebuild* every port from scratch to prove or disprove it, >> >unfortunately. :-( >> >> I was thinking about that. >> Anyway, many ports were built after that, including Firefox and >> OpenJDK. And kldloading sem doesn't fix that. Maybe my "successful" >> tests were just wrong. >> >> >> I can crash it regularly loading a demo applet (e.g. ArcTest in >> >> /usr/local/openjdk6/demo/applets) in a tab and then closing the >> >> tab. If it could be of any help, I'm adding an excerpt from the >> >> backtrace I'm getting: >> >> >> >> Core was generated by `firefox-bin'. >> >> Program terminated with signal 11, Segmentation fault. >> >> ... >> >> #0 0x29e36247 in kill () from /lib/libc.so.7 >> >> #1 0x29e361a6 in raise () from /lib/libc.so.7 >> >> #2 0x282424f6 in XRE_LockProfileDirectory () from >> >> /usr/local/lib/firefox3/libxul.so >> >> #3 >> >> #4 0x29c8f1b2 in std::_Rb_tree_increment () from >> >> /usr/lib/libstdc++.so.6 #5 0x2ef92402 in >> >> IcedTeaPluginUtilities::invalidateInstance () from >> >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so >> >> #6 0x2efa17b0 in ITNP_Destroy () from >> >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so >> >> #7 0x28b5d776 in ffi_call_SYSV () from >> >> /usr/local/lib/firefox3/libxul.so #8 0x284b023b in >> >> std::vector, std:: >> >> allocator > >::_M_insert_aux () from >> >> /usr/local/lib/firefox3/libxul.so >> >> #9 0x284b0598 in std::vector, std:: >> >> allocator > >::_M_insert_aux () from >> >> /usr/local/lib/firefox3/libxul.so >> >> #10 0x28d721c3 in NS_GetComponentManager_P () from >> >> /usr/local/lib/firefox3/libxul.so >> >> #11 0x28d339d3 in nsPrintSession::Release () from >> >> /usr/local/lib/firefox3/libxul.so >> >> #12 0x28c6ede7 in JSD_DebuggerOnForUser () from >> >> /usr/local/lib/firefox3/libxul. so >> >> #13 0x28ae42df in std::vector, std:: >> >> allocator > >::_M_insert_aux () from >> >> /usr/local/lib/firefox3/libxul.so >> >> #14 0x2823bc84 in XRE_main () from >> >> /usr/local/lib/firefox3/libxul.so >> > >> >This trace looks almost identical as before, i.e., without the >> >patch. :-/ >> > >> >Jung-uk Kim >> >> Are you talking about the patch you added to the previous version? >> The one I was talking about on my first post? > >No, I was talking about the patch in the ports now. > >Jung-uk Kim I've tested the IcedTeaPlugin on 8_STABLE and it's not crashing. Anyway I looked at the bt and I wrote a patch. You can find it here: http://pastebin.com/b2KKFNSG As risking a build failure (because of my patch) while building the entire port would have been too much time consuming, I rebuilt just the plugin, with the following steps: cd /usr/ports/java/openjdk6 make patch cd work patch < $MY_PATCH cd icedtea6-1.9.1 mkdir -p build/lib cd plugin/icedteanp make -f /usr/ports/java/openjdk6/files/Makefile.plugin depend all \ DEBUG_FLAGS=-g \ LIBDIR=../../build/lib \ LIBOWN=`id -u` \ LIBGRP=`id -g` \ LOCALBASE=/usr/local \ JDK_UPDATE_VERSION=20 \ PLUGIN_VERSION="OpenJDK6 b20" Then I renamed the installed IcedTeaPlugin.so appending .old and moved the new one in the same directory. Now I can open many tabs with the demo applets without crashes after closing them. Even if I'm not a C++ expert, the patch does make sense to me, as the iterator should be invalidated, and so not reused, after calling erase() as in the original code. If I'm correct, I'm wondering why it's working on 8_STABLE. Obviously, if you find the patch useful, feel free to use it at your will. Thanks Barbara From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 23:34:26 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 43BDF1065674; Wed, 3 Nov 2010 23:34:26 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: David DEMELIER Date: Wed, 3 Nov 2010 19:34:16 -0400 User-Agent: KMail/1.6.2 References: <201011032110.oA3LABd5097970@freefall.freebsd.org> <201011031751.47171.jkim@FreeBSD.org> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011031934.17767.jkim@FreeBSD.org> Cc: bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 23:34:26 -0000 On Wednesday 03 November 2010 06:43 pm, David DEMELIER wrote: > I made this like pkgsrc does, pkg_add -r openjdk6 pulls some > dependencies, I agree with you pkg_add'ing the prebuilt package is > possible but some people don't like this. If you are building it, you will need the dependencies sooner or later anyway. I don't see your point. :-/ > If you run -current or -stable packages could be outdated too, here > using a bootstrap will build depends from ports and openjdk from > ports without any binaries and without any non-free binaries. What made you think that your bootstrap binaries won't be outdated? In fact, I cannot shake the feeling that it may rot even faster than prebuilt packages. Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Wed Nov 3 23:40:10 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 289E51065675 for ; Wed, 3 Nov 2010 23:40:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 18EC78FC12 for ; Wed, 3 Nov 2010 23:40:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA3Ne9OA051821 for ; Wed, 3 Nov 2010 23:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA3Ne9o9051820; Wed, 3 Nov 2010 23:40:09 GMT (envelope-from gnats) Date: Wed, 3 Nov 2010 23:40:09 GMT Message-Id: <201011032340.oA3Ne9o9051820@freefall.freebsd.org> To: java@FreeBSD.org From: Jung-uk Kim Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jung-uk Kim List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 23:40:10 -0000 The following reply was made to PR ports/151923; it has been noted by GNATS. From: Jung-uk Kim To: David DEMELIER Cc: bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap Date: Wed, 3 Nov 2010 19:34:16 -0400 On Wednesday 03 November 2010 06:43 pm, David DEMELIER wrote: > I made this like pkgsrc does, pkg_add -r openjdk6 pulls some > dependencies, I agree with you pkg_add'ing the prebuilt package is > possible but some people don't like this. If you are building it, you will need the dependencies sooner or later anyway. I don't see your point. :-/ > If you run -current or -stable packages could be outdated too, here > using a bootstrap will build depends from ports and openjdk from > ports without any binaries and without any non-free binaries. What made you think that your bootstrap binaries won't be outdated? In fact, I cannot shake the feeling that it may rot even faster than prebuilt packages. Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Thu Nov 4 07:04:23 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DD16106567A; Thu, 4 Nov 2010 07:04:23 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 36ACA8FC15; Thu, 4 Nov 2010 07:04:21 +0000 (UTC) Received: by bwz3 with SMTP id 3so1329962bwz.13 for ; Thu, 04 Nov 2010 00:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=sFzBPxkmsqG+Htb/qbdpdVS8DwnJqKLikTGdhdMsBSg=; b=dtPIVN/r1rgKiblWzn6ENtRoV6nqYFyJwoeSPHlBT6pi6GQHSElfUwFH5fU+NN+sPf Tm6b5g48Y3VSF74JP4MQfEShOJLgweKkRyeTrizwsCAE8W+Rw7pSVARP9I6Jz+HTzJ8N +WMyOPgvsELOCAXt0Jc6onxI9FT7J6kDBexp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=oRpu+UXg9s5xhNwBJ0xiJn0F97G2iHk2q5qv/Z0Gq77X3hn/IaEkJ2ncK4aub0zEvy tWHSP2Y4OMNC0wOTwCfklIADdCzPpHE0CjHhXiq/7waEBdv0LYhx0yZGwx9ElrBidiOd PI2V3Tk7ubH4FIujppARRU0jpt+v32mNoQTZc= MIME-Version: 1.0 Received: by 10.204.71.65 with SMTP id g1mr300674bkj.23.1288854260791; Thu, 04 Nov 2010 00:04:20 -0700 (PDT) Received: by 10.204.98.195 with HTTP; Thu, 4 Nov 2010 00:04:20 -0700 (PDT) In-Reply-To: <201011031934.17767.jkim@FreeBSD.org> References: <201011032110.oA3LABd5097970@freefall.freebsd.org> <201011031751.47171.jkim@FreeBSD.org> <201011031934.17767.jkim@FreeBSD.org> Date: Thu, 4 Nov 2010 08:04:20 +0100 Message-ID: From: David DEMELIER To: Jung-uk Kim Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 07:04:23 -0000 2010/11/4 Jung-uk Kim : > On Wednesday 03 November 2010 06:43 pm, David DEMELIER wrote: >> I made this like pkgsrc does, pkg_add -r openjdk6 pulls some >> dependencies, I agree with you pkg_add'ing the prebuilt package is >> possible but some people don't like this. > > If you are building it, you will need the dependencies sooner or later > anyway. =C2=A0I don't see your point. :-/ > >> If you run -current or -stable packages could be outdated too, here >> using a bootstrap will build depends from ports and openjdk from >> ports without any binaries and without any non-free binaries. > > What made you think that your bootstrap binaries won't be outdated? > In fact, I cannot shake the feeling that it may rot even faster than > prebuilt packages. > markand@Melon ~ $ pkg_info -r openjdk6-b20_4 Information for openjdk6-b20_4: Depends on: Dependency: xextproto-7.1.1 Dependency: xbitmaps-1.1.0 Dependency: recordproto-1.14 Dependency: printproto-1.0.4 Dependency: kbproto-1.0.4 Dependency: inputproto-2.0 Dependency: expat-2.0.1_1 Dependency: javavmwrapper-2.3.5 Dependency: pkg-config-0.25_1 Dependency: freetype2-2.4.2 Dependency: fontconfig-2.8.0,1 Dependency: dejavu-2.32 Dependency: xproto-7.0.16 Dependency: libICE-1.0.6,1 Dependency: libSM-1.1.1_3,1 Dependency: libXdmcp-1.0.3 Dependency: libXau-1.0.5 Dependency: libpthread-stubs-0.3_3 Dependency: libxcb-1.7 Dependency: libX11-1.3.3_1,1 Dependency: libXt-1.0.7 Dependency: libXext-1.1.1,1 Dependency: libXi-1.3,1 Dependency: libXtst-1.1.0 Dependency: libXpm-3.5.7 Dependency: libXp-1.0.0,1 Dependency: libXmu-1.0.5,1 Dependency: libXaw-1.0.7,1 Dependency: open-motif-2.2.3_6 If you add openjdk6 from pkg_add -r you will add these depends from packages too, and these could be outdated. And as I said some people don't like to install binaries and I agree with this. If you install openjdk6 from ports you will build all this depends from ports and every ports will be up-to-date. I don't understand what you don't like in my patch, it prevents installing diablo-jdk and it's easier to build from ports without installing binaries before. Okay, I agree people still can add openjdk6 from binaries to bootstrap but if you want only ports this patch could be better in any case. Cheers, --=20 Demelier David From owner-freebsd-java@FreeBSD.ORG Thu Nov 4 07:10:11 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A95F1065679 for ; Thu, 4 Nov 2010 07:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1E8318FC13 for ; Thu, 4 Nov 2010 07:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA47AAPo027396 for ; Thu, 4 Nov 2010 07:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA47AAbr027395; Thu, 4 Nov 2010 07:10:10 GMT (envelope-from gnats) Date: Thu, 4 Nov 2010 07:10:10 GMT Message-Id: <201011040710.oA47AAbr027395@freefall.freebsd.org> To: java@FreeBSD.org From: David DEMELIER Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David DEMELIER List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 07:10:11 -0000 The following reply was made to PR ports/151923; it has been noted by GNATS. From: David DEMELIER To: Jung-uk Kim Cc: bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap Date: Thu, 4 Nov 2010 08:04:20 +0100 2010/11/4 Jung-uk Kim : > On Wednesday 03 November 2010 06:43 pm, David DEMELIER wrote: >> I made this like pkgsrc does, pkg_add -r openjdk6 pulls some >> dependencies, I agree with you pkg_add'ing the prebuilt package is >> possible but some people don't like this. > > If you are building it, you will need the dependencies sooner or later > anyway. =C2=A0I don't see your point. :-/ > >> If you run -current or -stable packages could be outdated too, here >> using a bootstrap will build depends from ports and openjdk from >> ports without any binaries and without any non-free binaries. > > What made you think that your bootstrap binaries won't be outdated? > In fact, I cannot shake the feeling that it may rot even faster than > prebuilt packages. > markand@Melon ~ $ pkg_info -r openjdk6-b20_4 Information for openjdk6-b20_4: Depends on: Dependency: xextproto-7.1.1 Dependency: xbitmaps-1.1.0 Dependency: recordproto-1.14 Dependency: printproto-1.0.4 Dependency: kbproto-1.0.4 Dependency: inputproto-2.0 Dependency: expat-2.0.1_1 Dependency: javavmwrapper-2.3.5 Dependency: pkg-config-0.25_1 Dependency: freetype2-2.4.2 Dependency: fontconfig-2.8.0,1 Dependency: dejavu-2.32 Dependency: xproto-7.0.16 Dependency: libICE-1.0.6,1 Dependency: libSM-1.1.1_3,1 Dependency: libXdmcp-1.0.3 Dependency: libXau-1.0.5 Dependency: libpthread-stubs-0.3_3 Dependency: libxcb-1.7 Dependency: libX11-1.3.3_1,1 Dependency: libXt-1.0.7 Dependency: libXext-1.1.1,1 Dependency: libXi-1.3,1 Dependency: libXtst-1.1.0 Dependency: libXpm-3.5.7 Dependency: libXp-1.0.0,1 Dependency: libXmu-1.0.5,1 Dependency: libXaw-1.0.7,1 Dependency: open-motif-2.2.3_6 If you add openjdk6 from pkg_add -r you will add these depends from packages too, and these could be outdated. And as I said some people don't like to install binaries and I agree with this. If you install openjdk6 from ports you will build all this depends from ports and every ports will be up-to-date. I don't understand what you don't like in my patch, it prevents installing diablo-jdk and it's easier to build from ports without installing binaries before. Okay, I agree people still can add openjdk6 from binaries to bootstrap but if you want only ports this patch could be better in any case. Cheers, --=20 Demelier David From owner-freebsd-java@FreeBSD.ORG Thu Nov 4 08:02:39 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44352106566B; Thu, 4 Nov 2010 08:02:39 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C72EB8FC0C; Thu, 4 Nov 2010 08:02:36 +0000 (UTC) Received: by gwj16 with SMTP id 16so1197788gwj.13 for ; Thu, 04 Nov 2010 01:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=oa4WjXsPT9+jybW7eBuKPyetvqX93diLiYowfwsECi8=; b=sTfv+Za7bfA30SSxDshekCEJA7VRF6qwMPQYQ0l4IoA9cK/hVRi6Bf5ZLOvP1JdnCt kcQM47hzn79v17xwf7m1/zk2Sj9Z7ZC5HqaIoDXgsvTq4etHRdl0IaJMfLLzspy6jsRN ZI1/zqJ64qKmnZhb1a7epGVGhMj70UTgjmzmE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=IUgJ2pl7Y8ziHerJj+U4K89npyZV4haiWXTvm9mXlh7EJBq91Vdxfi5Imi5RFCvqVG rGwghwgYMzNyos5FAJX7Kjy0bFiDcgxe7jydMresNXFbDC9V8KzJJSzU+6e1euRdZNuZ Ex99MGAHSl1WmyOZik4IAFZdIJdDU4qxRP3VI= MIME-Version: 1.0 Received: by 10.231.36.11 with SMTP id r11mr186306ibd.58.1288856121220; Thu, 04 Nov 2010 00:35:21 -0700 (PDT) Sender: baptiste.daroussin@gmail.com Received: by 10.231.192.76 with HTTP; Thu, 4 Nov 2010 00:35:21 -0700 (PDT) In-Reply-To: <201011031934.17767.jkim@FreeBSD.org> References: <201011032110.oA3LABd5097970@freefall.freebsd.org> <201011031751.47171.jkim@FreeBSD.org> <201011031934.17767.jkim@FreeBSD.org> Date: Thu, 4 Nov 2010 07:35:21 +0000 X-Google-Sender-Auth: 1Wq4PehaA72MGdTLaM-rmq8KKXU Message-ID: From: Baptiste Daroussin To: Jung-uk Kim Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: David DEMELIER , bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 08:02:39 -0000 2010/11/3 Jung-uk Kim : > On Wednesday 03 November 2010 06:43 pm, David DEMELIER wrote: >> I made this like pkgsrc does, pkg_add -r openjdk6 pulls some >> dependencies, I agree with you pkg_add'ing the prebuilt package is >> possible but some people don't like this. > > If you are building it, you will need the dependencies sooner or later > anyway. =A0I don't see your point. :-/ > >> If you run -current or -stable packages could be outdated too, here >> using a bootstrap will build depends from ports and openjdk from >> ports without any binaries and without any non-free binaries. > > What made you think that your bootstrap binaries won't be outdated? > In fact, I cannot shake the feeling that it may rot even faster than > prebuilt packages. > Bootstrapping jdk has always been an issue because it depends on non-free binary packages. Try to setup a package build cluster from scratch it won't work because of openjdk. This solution is the easiest way to get openjdk6 without too much pain for the user. he will just have to portmaster java/openjdk6 or the way they usually install ports on there systems without being forced to install prebuilt dependencies or install non free software. with the old way it would have been pkg_add -r openjdk6 && make && make deinstall reinstall. Sorry but I prefer a simple make install :) In my case I would love to see it in the ports. regards, Bapt From owner-freebsd-java@FreeBSD.ORG Thu Nov 4 08:10:13 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5475410656A6 for ; Thu, 4 Nov 2010 08:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2892A8FC13 for ; Thu, 4 Nov 2010 08:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA48ADIv013640 for ; Thu, 4 Nov 2010 08:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA48ADxL013639; Thu, 4 Nov 2010 08:10:13 GMT (envelope-from gnats) Date: Thu, 4 Nov 2010 08:10:13 GMT Message-Id: <201011040810.oA48ADxL013639@freefall.freebsd.org> To: java@FreeBSD.org From: Baptiste Daroussin Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Baptiste Daroussin List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 08:10:13 -0000 The following reply was made to PR ports/151923; it has been noted by GNATS. From: Baptiste Daroussin To: Jung-uk Kim Cc: David DEMELIER , bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap Date: Thu, 4 Nov 2010 07:35:21 +0000 2010/11/3 Jung-uk Kim : > On Wednesday 03 November 2010 06:43 pm, David DEMELIER wrote: >> I made this like pkgsrc does, pkg_add -r openjdk6 pulls some >> dependencies, I agree with you pkg_add'ing the prebuilt package is >> possible but some people don't like this. > > If you are building it, you will need the dependencies sooner or later > anyway. =A0I don't see your point. :-/ > >> If you run -current or -stable packages could be outdated too, here >> using a bootstrap will build depends from ports and openjdk from >> ports without any binaries and without any non-free binaries. > > What made you think that your bootstrap binaries won't be outdated? > In fact, I cannot shake the feeling that it may rot even faster than > prebuilt packages. > Bootstrapping jdk has always been an issue because it depends on non-free binary packages. Try to setup a package build cluster from scratch it won't work because of openjdk. This solution is the easiest way to get openjdk6 without too much pain for the user. he will just have to portmaster java/openjdk6 or the way they usually install ports on there systems without being forced to install prebuilt dependencies or install non free software. with the old way it would have been pkg_add -r openjdk6 && make && make deinstall reinstall. Sorry but I prefer a simple make install :) In my case I would love to see it in the ports. regards, Bapt From owner-freebsd-java@FreeBSD.ORG Thu Nov 4 08:10:15 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BA7C1065679 for ; Thu, 4 Nov 2010 08:10:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D51438FC1F for ; Thu, 4 Nov 2010 08:10:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA48AEV1013651 for ; Thu, 4 Nov 2010 08:10:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA48AERY013650; Thu, 4 Nov 2010 08:10:14 GMT (envelope-from gnats) Date: Thu, 4 Nov 2010 08:10:14 GMT Message-Id: <201011040810.oA48AERY013650@freefall.freebsd.org> To: java@FreeBSD.org From: Rob Farmer Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rob Farmer List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 08:10:15 -0000 The following reply was made to PR ports/151923; it has been noted by GNATS. From: Rob Farmer To: Baptiste Daroussin Cc: Jung-uk Kim , David DEMELIER , bug-followup@freebsd.org, freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap Date: Thu, 4 Nov 2010 01:06:29 -0700 On Thu, Nov 4, 2010 at 00:35, Baptiste Daroussin wrote: > Bootstrapping jdk has always been an issue because it depends on > non-free binary packages. Try to setup a package build cluster from > scratch it won't work =A0because of openjdk. > > This solution is the easiest way to get openjdk6 without too much pain > for the user. he will just have to portmaster java/openjdk6 or the way > they usually install ports on there systems without being forced to > install prebuilt dependencies or install non free software. Indeed - that's what I like about this - you can do everything within the normal ports work-flow - no using packages or dealing with the diablo distfiles. It would be much more seamless for users. In the suggested alternative, I would need to: 1) pkg_add openjdk 2) build openjdk from ports 3) uninstall openjdk from the package 4) install openjdk from the port portmaster/upgrade can help with 2-4 but it still need manual intervention beyond normal "make install clean." And of course it assumes I know this situation exists - if I don't, then I end up with an error related to fetching diablo distfiles that doesn't present a way forward, other than install diablo as a build dependency. Also, what about using the official packages from the cluster as the bootstrap instead? That would solve the problem of manually built packages getting behind. --=20 Rob Farmer From owner-freebsd-java@FreeBSD.ORG Thu Nov 4 08:33:30 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADDFB106566C; Thu, 4 Nov 2010 08:33:30 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 58D518FC16; Thu, 4 Nov 2010 08:33:30 +0000 (UTC) Received: by qwg8 with SMTP id 8so1000189qwg.13 for ; Thu, 04 Nov 2010 01:33:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.232.205 with SMTP id jv13mr385498qcb.68.1288857989349; Thu, 04 Nov 2010 01:06:29 -0700 (PDT) Received: by 10.220.203.1 with HTTP; Thu, 4 Nov 2010 01:06:29 -0700 (PDT) X-Originating-IP: [128.95.133.122] In-Reply-To: References: <201011032110.oA3LABd5097970@freefall.freebsd.org> <201011031751.47171.jkim@FreeBSD.org> <201011031934.17767.jkim@FreeBSD.org> Date: Thu, 4 Nov 2010 01:06:29 -0700 Message-ID: From: Rob Farmer To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: David DEMELIER , bug-followup@freebsd.org, Jung-uk Kim , freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 08:33:30 -0000 On Thu, Nov 4, 2010 at 00:35, Baptiste Daroussin wrote: > Bootstrapping jdk has always been an issue because it depends on > non-free binary packages. Try to setup a package build cluster from > scratch it won't work =A0because of openjdk. > > This solution is the easiest way to get openjdk6 without too much pain > for the user. he will just have to portmaster java/openjdk6 or the way > they usually install ports on there systems without being forced to > install prebuilt dependencies or install non free software. Indeed - that's what I like about this - you can do everything within the normal ports work-flow - no using packages or dealing with the diablo distfiles. It would be much more seamless for users. In the suggested alternative, I would need to: 1) pkg_add openjdk 2) build openjdk from ports 3) uninstall openjdk from the package 4) install openjdk from the port portmaster/upgrade can help with 2-4 but it still need manual intervention beyond normal "make install clean." And of course it assumes I know this situation exists - if I don't, then I end up with an error related to fetching diablo distfiles that doesn't present a way forward, other than install diablo as a build dependency. Also, what about using the official packages from the cluster as the bootstrap instead? That would solve the problem of manually built packages getting behind. --=20 Rob Farmer From owner-freebsd-java@FreeBSD.ORG Thu Nov 4 17:51:52 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 850201065672; Thu, 4 Nov 2010 17:51:51 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: bug-followup@FreeBSD.org, freebsd-java@freebsd.org, Rob Farmer Date: Thu, 4 Nov 2010 13:51:38 -0400 User-Agent: KMail/1.6.2 References: <201011040810.oA48AERY013650@freefall.freebsd.org> In-Reply-To: <201011040810.oA48AERY013650@freefall.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011041351.42334.jkim@FreeBSD.org> Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 17:51:52 -0000 [I am not picking on anyone here. It's just a rant about this issue.] You see this Java bootstrap is a classic chicken-and-egg issue. It's like "you need C compiler to bootstrap GCC". We have C compiler in the base, so it isn't a big deal. Now Java bootstrap is more complicated because we don't have GCJ or something like that in the base. You say we build them from build clusters but how? How do we bootstrap itself without help of another Java compiler such as GCJ? If we are going ahead in this direction, clearly somebody has to maintain the sources, patches, and generated binaries, and we *must* have a way to automate the process *outside* of normal ports build because distributing GPL'd software without knowing how to reproduce it is worse than third-party binary plugs IMHO. Certainly, I won't take it for granted your binaries are "free" to redistribute unless you show me the way to reproduce it. On the other hand, we have ports/java/jbootstrap to work around this issue but it is pretty much dead and non-free. If you really want something like that, you may use ports/java/openjdk6 as master port, make it bootstrap with GCJ or something totally "free" just enough to bootstrap OpenJDK6 and OpenJDK7, and package it with minimal runtime dependency (if there is any). Then, ports/java/openjdk6, ports/java/openjdk7, etc. can use it as a *build* dependency. I believe that is the way to go. Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Thu Nov 4 18:00:25 2010 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F4851065670 for ; Thu, 4 Nov 2010 18:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F23018FC13 for ; Thu, 4 Nov 2010 18:00:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA4I0OpE033341 for ; Thu, 4 Nov 2010 18:00:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA4I0ODU033325; Thu, 4 Nov 2010 18:00:24 GMT (envelope-from gnats) Date: Thu, 4 Nov 2010 18:00:24 GMT Message-Id: <201011041800.oA4I0ODU033325@freefall.freebsd.org> To: java@FreeBSD.org From: Jung-uk Kim Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jung-uk Kim List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 18:00:25 -0000 The following reply was made to PR ports/151923; it has been noted by GNATS. From: Jung-uk Kim To: bug-followup@FreeBSD.org, freebsd-java@freebsd.org, Rob Farmer Cc: Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap Date: Thu, 4 Nov 2010 13:51:38 -0400 [I am not picking on anyone here. It's just a rant about this issue.] You see this Java bootstrap is a classic chicken-and-egg issue. It's like "you need C compiler to bootstrap GCC". We have C compiler in the base, so it isn't a big deal. Now Java bootstrap is more complicated because we don't have GCJ or something like that in the base. You say we build them from build clusters but how? How do we bootstrap itself without help of another Java compiler such as GCJ? If we are going ahead in this direction, clearly somebody has to maintain the sources, patches, and generated binaries, and we *must* have a way to automate the process *outside* of normal ports build because distributing GPL'd software without knowing how to reproduce it is worse than third-party binary plugs IMHO. Certainly, I won't take it for granted your binaries are "free" to redistribute unless you show me the way to reproduce it. On the other hand, we have ports/java/jbootstrap to work around this issue but it is pretty much dead and non-free. If you really want something like that, you may use ports/java/openjdk6 as master port, make it bootstrap with GCJ or something totally "free" just enough to bootstrap OpenJDK6 and OpenJDK7, and package it with minimal runtime dependency (if there is any). Then, ports/java/openjdk6, ports/java/openjdk7, etc. can use it as a *build* dependency. I believe that is the way to go. Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Fri Nov 5 08:57:44 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 532361065673 for ; Fri, 5 Nov 2010 08:57:44 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out2.libero.it (cp-out2.libero.it [212.52.84.102]) by mx1.freebsd.org (Postfix) with ESMTP id C3FB18FC20 for ; Fri, 5 Nov 2010 08:57:43 +0000 (UTC) Received: from wmail44 (172.31.0.234) by cp-out2.libero.it (8.5.107) (authenticated as barbara.xxx1975@libero.it) id 4CCEC8E500507DF2 for freebsd-java@FreeBSD.org; Fri, 5 Nov 2010 09:57:42 +0100 Message-ID: <7706560.762491288947462086.JavaMail.defaultUser@defaultHost> Date: Fri, 5 Nov 2010 09:57:42 +0100 (CET) From: Barbara To: MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 87.1.225.47 Cc: Subject: R: Re: R: IcedTea crashing again X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 08:57:44 -0000 >>On Monday 01 November 2010 08:08 pm, Barbara wrote: >>> >On Monday 01 November 2010 06:30 pm, Barbara wrote: >>> >> >On Monday 01 November 2010 01:57 pm, Barbara wrote: >>> >> >> >After updating to openjdk6 b20_4, Firefox is crashing again >>> >> >> > closing a window running an applet. >>> >> >> >Just like before the fixes made on Sept. 23. >>> >> >> >>> >> >> As I noticed that it is crashing only on CURRENT, I have a >>> >> >> suspect... >>> >> > >>> >> >Sorry, I cannot reproduce it on amd64 CURRENT. FYI, David Xu >>> >> > has been busy reshuffling libthr recently. Maybe your kernel, >>> >> > libthr, and/or binaries from ports are out of sync? >>> >> > >>> >> >> Could it be caused by SVN rev 213098? >>> >> >> http://svn.freebsd.org/viewvc/base/head/sys/i386/conf/GENERIC >>> >> >>? r1=210947&r2=213098 >>> >> >> Should I kldload sem again? >>> >> > >>> >> >Why don't you try for yourself and let us know? :-P >>> >> >>> >> I've tried kldloading sem (on i386) and I was pretty sure it was >>> >> working. I did that while rebuilding world+kernel after running >>> >> csup. But at reboot it's segfaulting no matter if sem is loaded >>> >> or not. So now I'm not so sure. >>> >> >>> >> All my ports are updated. >>> > >>> >According to the commit log, sem.ko is only required for *old* >>> >binaries, i.e., updating ports may not fix the problem but you may >>> >have to *rebuild* every port from scratch to prove or disprove it, >>> >unfortunately. :-( >>> >>> I was thinking about that. >>> Anyway, many ports were built after that, including Firefox and >>> OpenJDK. And kldloading sem doesn't fix that. Maybe my "successful" >>> tests were just wrong. >>> >>> >> I can crash it regularly loading a demo applet (e.g. ArcTest in >>> >> /usr/local/openjdk6/demo/applets) in a tab and then closing the >>> >> tab. If it could be of any help, I'm adding an excerpt from the >>> >> backtrace I'm getting: >>> >> >>> >> Core was generated by `firefox-bin'. >>> >> Program terminated with signal 11, Segmentation fault. >>> >> ... >>> >> #0 0x29e36247 in kill () from /lib/libc.so.7 >>> >> #1 0x29e361a6 in raise () from /lib/libc.so.7 >>> >> #2 0x282424f6 in XRE_LockProfileDirectory () from >>> >> /usr/local/lib/firefox3/libxul.so >>> >> #3 >>> >> #4 0x29c8f1b2 in std::_Rb_tree_increment () from >>> >> /usr/lib/libstdc++.so.6 #5 0x2ef92402 in >>> >> IcedTeaPluginUtilities::invalidateInstance () from >>> >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so >>> >> #6 0x2efa17b0 in ITNP_Destroy () from >>> >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so >>> >> #7 0x28b5d776 in ffi_call_SYSV () from >>> >> /usr/local/lib/firefox3/libxul.so #8 0x284b023b in >>> >> std::vector, std:: >>> >> allocator > >::_M_insert_aux () from >>> >> /usr/local/lib/firefox3/libxul.so >>> >> #9 0x284b0598 in std::vector, std:: >>> >> allocator > >::_M_insert_aux () from >>> >> /usr/local/lib/firefox3/libxul.so >>> >> #10 0x28d721c3 in NS_GetComponentManager_P () from >>> >> /usr/local/lib/firefox3/libxul.so >>> >> #11 0x28d339d3 in nsPrintSession::Release () from >>> >> /usr/local/lib/firefox3/libxul.so >>> >> #12 0x28c6ede7 in JSD_DebuggerOnForUser () from >>> >> /usr/local/lib/firefox3/libxul. so >>> >> #13 0x28ae42df in std::vector, std:: >>> >> allocator > >::_M_insert_aux () from >>> >> /usr/local/lib/firefox3/libxul.so >>> >> #14 0x2823bc84 in XRE_main () from >>> >> /usr/local/lib/firefox3/libxul.so >>> > >>> >This trace looks almost identical as before, i.e., without the >>> >patch. :-/ >>> > >>> >Jung-uk Kim >>> >>> Are you talking about the patch you added to the previous version? >>> The one I was talking about on my first post? >> >>No, I was talking about the patch in the ports now. >> >>Jung-uk Kim > >I've tested the IcedTeaPlugin on 8_STABLE and it's not crashing. > >Anyway I looked at the bt and I wrote a patch. You can find it here: >http://pastebin.com/b2KKFNSG > >As risking a build failure (because of my patch) while building the entire >port would have been too much time consuming, I rebuilt just the plugin, with >the following steps: > >cd /usr/ports/java/openjdk6 >make patch >cd work >patch < $MY_PATCH >cd icedtea6-1.9.1 >mkdir -p build/lib >cd plugin/icedteanp > >make -f /usr/ports/java/openjdk6/files/Makefile.plugin depend all \ >DEBUG_FLAGS=-g \ >LIBDIR=../../build/lib \ >LIBOWN=`id -u` \ >LIBGRP=`id -g` \ >LOCALBASE=/usr/local \ >JDK_UPDATE_VERSION=20 \ >PLUGIN_VERSION="OpenJDK6 b20" > >Then I renamed the installed IcedTeaPlugin.so appending .old and moved the new >one in the same directory. >Now I can open many tabs with the demo applets without crashes after closing >them. > >Even if I'm not a C++ expert, the patch does make sense to me, as the iterator >should be invalidated, and so not reused, after calling erase() as in the >original code. >If I'm correct, I'm wondering why it's working on 8_STABLE. >Obviously, if you find the patch useful, feel free to use it at your will. > >Thanks >Barbara > Looking at the code again, there was something I was not sure about. So, I wrote a simple test with a function which doing more or less the same thing you can see in invalidateInstance in IcedTeaPluginUtils.cc. I don't know C++ and I had just rudiments of C some years ago, so if there is something wrong with the code "invalidating" the test, please let me know. Here's the code (http://pastebin.com/Amk4UJ0g): -------------------------------------------------------------------------------- #include #include #include #include std::map cars; void fillCars() { cars["nissan"] = "micra"; cars["ford"] = "ka"; cars["toyota"] = "yaris"; cars["fiat"] = "punto"; cars["volkswagen"] = "fox"; } void printCars() { std::map::iterator iter; for (iter = cars.begin(); iter != cars.end(); iter++) { std::cout << (*iter).first << " "; std::cout << (*iter).second << std::endl; } } void removeModel(const char * modelName) { std::map::iterator iter; for (iter = cars.begin(); iter != cars.end(); iter++) { if ((*iter).second == modelName) { std::cout << modelName << " FOUND -> erase" << std::endl; cars.erase((*iter).first); } } } int main() { fillCars(); std::cout << "--> PRINTING CARS" << std::endl; printCars(); std::cout << std::endl; const char* punto[] = {"punto"}; std::cout << "--> REMOVING MODEL: " << (*punto) << std::endl; removeModel(*punto); std::cout << std::endl; std::cout << "--> PRINTING CARS" << std::endl; printCars(); std::cout << std::endl; } -------------------------------------------------------------------------------- Build it with: g++ -g -o cars cars.cc Running it on 8_STABLE i386 it works without errors. On 9.0-CURRENT i386, I get a "Segmentation fault: 11 (core dumped)" when erase() is invoked. The backtrace: #0 0x280d11b2 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6 #1 0x080499cb in std::_Rb_tree_iterator >::operator++ (this=0xbfbfe8d0) at stl_tree.h:191 #2 0x08048c8b in removeModel (modelName=0x804a4a6 "punto") at cars.cc:32 #3 0x08048ec9 in main () at cars.cc:52 which looks similar to the one I'm getting from the IcedTea plugin. Is there something wrong on CURRENT? Can someone test the code on CURRENT X86_64? Thanks Barbara From owner-freebsd-java@FreeBSD.ORG Sat Nov 6 03:15:11 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71104106564A for ; Sat, 6 Nov 2010 03:15:11 +0000 (UTC) (envelope-from milo@cyberlifelabs.com) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 566CC8FC16 for ; Sat, 6 Nov 2010 03:15:11 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta10.emeryville.ca.mail.comcast.net with comcast id TQQV1f0031eYJf8AAf21nV; Sat, 06 Nov 2010 03:02:01 +0000 Received: from [192.168.1.108] ([71.227.219.222]) by omta19.emeryville.ca.mail.comcast.net with comcast id Tf1z1f00A4oVxvK01f20Qi; Sat, 06 Nov 2010 03:02:01 +0000 From: Milo Hyson Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 5 Nov 2010 20:01:58 -0700 Message-Id: <1AA9F186-A50D-4558-B407-0CCB6CE3F514@cyberlifelabs.com> To: freebsd-java@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Cc: Subject: SIGSEGV while running Tomcat X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 03:15:11 -0000 I'm getting a fairly regular SIGSEGV when running Tomcat 6.0.29 via = diablo-jdk1.6.0_07 on FreeBSD 7.3. =46rom the crash log it appears to be = occurring while my watchdog application is sending out pings (via = external process calls). Log is as follows: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=3D0x1b404828, pid=3D49138, tid=3D0x28202690 # # Java VM: Diablo Java HotSpot(TM) Client VM (10.0-b23 mixed mode = bsd-x86) # Problematic frame: # C 0x1b404828 # # Please submit bug reports to freebsd-java@FreeBSD.org # --------------- T H R E A D --------------- Current thread (0x33128800): JavaThread "Thread-3" daemon = [_thread_in_Java, id=3D673195664, stack(0xbf5f5000,0xbf645000)] siginfo:si_signo=3DSIGSEGV: si_errno=3D0, si_code=3D1 (SEGV_MAPERR), = si_addr=3D0x1b404828 Registers: EAX=3D0x0000003f, EBX=3D0x000000b7, ECX=3D0x00000000, EDX=3D0x2acfbdb8 ESP=3D0xbf6443cc, EBP=3D0xbf644400, ESI=3D0x2ed84768, EDI=3D0xbf644414 EIP=3D0x1b404828, EFLAGS=3D0x00010203 Top of Stack: (sp=3D0xbf6443cc) 0xbf6443cc: 2acfbdb8 3f800000 3f800000 2b1b4048 0xbf6443dc: 2acf9d68 bf6443e0 2ed84761 bf644414 0xbf6443ec: 2ed85dd0 00000000 2ed84778 00000000 0xbf6443fc: bf644408 bf644438 28c19c87 3f800000 0xbf64440c: 3f800000 2b1b4048 2acf9d68 bf644418 0xbf64441c: 2ed83058 bf644444 2ed862e0 00000000 0xbf64442c: 2ed83070 bf644408 bf644440 bf644468 0xbf64443c: 28c19c87 2b1b4048 2acf9d68 bf644448=20 Instructions: (pc=3D0x1b404828) 0x1b404818: =20 [error occurred during error reporting (printing registers, top of = stack, instructions near pc), id 0xb] Stack: [0xbf5f5000,0xbf645000], sp=3D0xbf6443cc, free space=3D316k Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, = C=3Dnative code) C 0x1b404828 v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter J = sun.net.www.protocol.http.HttpURLConnection.getInputStream()Ljava/io/Input= Stream; v ~BufferBlob::Interpreter J = net.cyberlifelabs.ops.kanobe.watchdog.Http.getStatusCode(Ljava/lang/String= ;)I v ~BufferBlob::Interpreter J net.cyberlifelabs.ops.kanobe.watchdog.Watchdog.runAllTests()V J net.cyberlifelabs.ops.kanobe.watchdog.WatchdogThread.run()V v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) V [libjvm.so+0x1aa0dc] V [libjvm.so+0x2a3fd9] V [libjvm.so+0x1a920f] V [libjvm.so+0x1a9315] V [libjvm.so+0x1a9bca] V [libjvm.so+0x1fdbf6] V [libjvm.so+0x332191] V [libjvm.so+0x33224b] V [libjvm.so+0x2a9237] C [libthr.so.3+0x673f] pthread_getprio+0x1bf --------------- P R O C E S S --------------- Java Threads: ( =3D> current thread ) 0x3305d000 JavaThread "http-8080-3" daemon [_thread_blocked, = id=3D673195936, stack(0xbf460000,0xbf4b0000)] 0x3305b800 JavaThread "http-8080-2" daemon [_thread_blocked, = id=3D673198928, stack(0xbf5a4000,0xbf5f4000)] 0x3305a800 JavaThread "http-8080-1" daemon [_thread_blocked, = id=3D673198384, stack(0xbf4b1000,0xbf501000)] =3D>0x33128800 JavaThread "Thread-3" daemon [_thread_in_Java, = id=3D673195664, stack(0xbf5f5000,0xbf645000)] 0x330e7800 JavaThread "http-8080-Acceptor-0" daemon = [_thread_in_native, id=3D673194304, stack(0xbf646000,0xbf696000)] 0x330e6800 JavaThread = "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon = [_thread_blocked, id=3D673194032, stack(0xbf697000,0xbf6e7000)] 0x282f2000 JavaThread "Low Memory Detector" daemon [_thread_blocked, = id=3D673191856, stack(0xbf769000,0xbf7b9000)] 0x2820d800 JavaThread "CompilerThread0" daemon [_thread_blocked, = id=3D673191584, stack(0xbf7ba000,0xbf83a000)] 0x2820c800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, = id=3D673191312, stack(0xbf83b000,0xbf88b000)] 0x2820b000 JavaThread "Finalizer" daemon [_thread_blocked, = id=3D673191040, stack(0xbf88c000,0xbf8dc000)] 0x2820a000 JavaThread "Reference Handler" daemon [_thread_blocked, = id=3D673190768, stack(0xbf8dd000,0xbf92d000)] 0x28208000 JavaThread "main" [_thread_in_native, id=3D673190224, = stack(0xbf9af000,0xbf9ff000)] Other Threads: 0x28209000 VMThread [stack: 0xbf92e000,0xbf9ae000] [id=3D673190496] 0x282f3000 WatcherThread [stack: 0xbf6e8000,0xbf768000] [id=3D673192128]= VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 1472K, used 502K [0x2aca0000, 0x2ae30000, = 0x2b180000) eden space 1344K, 27% used [0x2aca0000, 0x2acfdb80, 0x2adf0000) from space 128K, 100% used [0x2adf0000, 0x2ae10000, 0x2ae10000) to space 128K, 0% used [0x2ae10000, 0x2ae10000, 0x2ae30000) tenured generation total 18464K, used 9561K [0x2b180000, 0x2c388000, = 0x2eca0000) the space 18464K, 51% used [0x2b180000, 0x2bad6588, 0x2bad6600, = 0x2c388000) compacting perm gen total 13824K, used 13632K [0x2eca0000, 0x2fa20000, = 0x32ca0000) the space 13824K, 98% used [0x2eca0000, 0x2f9f01d0, 0x2f9f0200, = 0x2fa20000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/applications/diablo-jdk1.6.0_07/bin/java 0x28090000 /lib/libthr.so.3 0x280a5000 /lib/libc.so.7 0x28300000 = /usr/local/applications/diablo-jdk1.6.0_07/jre/lib/i386/client/libjvm.so 0x28ae9000 /usr/lib/libstdc++.so.6 0x281ab000 /lib/libm.so.5 0x281c0000 /lib/libgcc_s.so.1 0x281cc000 = /usr/local/applications/diablo-jdk1.6.0_07/jre/lib/i386/native_threads/lib= hpi.so 0x281e7000 = /usr/local/applications/diablo-jdk1.6.0_07/jre/lib/i386/libverify.so 0x28bde000 = /usr/local/applications/diablo-jdk1.6.0_07/jre/lib/i386/libjava.so 0x281f4000 = /usr/local/applications/diablo-jdk1.6.0_07/jre/lib/i386/libzip.so 0x28c05000 /lib/libz.so.4 0x2ac97000 = /usr/local/applications/diablo-jdk1.6.0_07/jre/lib/i386/libmanagement.so 0x33200000 = /usr/local/applications/diablo-jdk1.6.0_07/jre/lib/i386/libnet.so 0x28059000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: = -Djava.util.logging.config.file=3D/servlets/server/conf/logging.properties= -Djava.util.logging.manager=3Dorg.apache.juli.ClassLoaderLogManager = -Djava.endorsed.dirs=3D/servlets/server/endorsed = -Dcatalina.base=3D/servlets/server -Dcatalina.home=3D/servlets/server = -Djava.io.tmpdir=3D/servlets/server/temp=20 java_command: org.apache.catalina.startup.Bootstrap start Launcher Type: SUN_STANDARD Environment Variables: = PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local= /bin:/home/milo/bin:/applications/postgresql-8.4.5/bin:/applications/java/= bin:/home/milo/bin USERNAME=3Droot = LD_LIBRARY_PATH=3D/usr/local/applications/diablo-jdk1.6.0_07/jre/lib/i386/= client:/usr/local/applications/diablo-jdk1.6.0_07/jre/lib/i386:/usr/local/= applications/diablo-jdk1.6.0_07/jre/../lib/i386 SHELL=3D/bin/bash Signal Handlers: SIGSEGV: [libjvm.so+0x3685b0], sa_mask[0]=3D0xfffefeff, = sa_flags=3D0x00000042 SIGBUS: [libjvm.so+0x3685b0], sa_mask[0]=3D0xfffefeff, = sa_flags=3D0x00000042 SIGFPE: [libjvm.so+0x2a4f60], sa_mask[0]=3D0xfffefeff, = sa_flags=3D0x00000042 SIGPIPE: [libjvm.so+0x2a4f60], sa_mask[0]=3D0xfffefeff, = sa_flags=3D0x00000042 SIGXFSZ: [libjvm.so+0x2a4f60], sa_mask[0]=3D0xfffefeff, = sa_flags=3D0x00000042 SIGILL: [libjvm.so+0x2a4f60], sa_mask[0]=3D0xfffefeff, = sa_flags=3D0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=3D0x63807efb, sa_flags=3D0x00000000 SIGUSR2: [libjvm.so+0x2a7660], sa_mask[0]=3D0x00000000, = sa_flags=3D0x00000042 SIGHUP: [libjvm.so+0x2a6750], sa_mask[0]=3D0xfffefeff, = sa_flags=3D0x00000042 SIGINT: SIG_IGN, sa_mask[0]=3D0x00000000, sa_flags=3D0x00000000 SIGTERM: [libjvm.so+0x2a6750], sa_mask[0]=3D0xfffefeff, = sa_flags=3D0x00000042 SIGQUIT: [libjvm.so+0x2a6750], sa_mask[0]=3D0xfffefeff, = sa_flags=3D0x00000042 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 = UTC 2010 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC = i386 rlimit: STACK 65536k, CORE infinity, NPROC 5547, NOFILE 11095 CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 10 = stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnow, 3dnowext Memory: 4k page, physical 929620k(232405k free) vm_info: Diablo Java HotSpot(TM) Client VM (10.0-b23) for bsd-x86 JRE = (1.6.0_07-b02), built on May 12 2008 23:14:46 by "truk" with gcc 4.2.1 = 20070719 [FreeBSD] time: Fri Nov 5 18:23:34 2010 elapsed time: 16287 seconds