From owner-freebsd-java@FreeBSD.ORG Thu Feb 12 08:22:15 2015 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22B6E22C for ; Thu, 12 Feb 2015 08:22:15 +0000 (UTC) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "misty.eyesbeyond.com", Issuer "misty.eyesbeyond.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D6A16C80 for ; Thu, 12 Feb 2015 08:22:13 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.9/8.14.9) with ESMTP id t1C8M08S020197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 12 Feb 2015 00:22:00 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.9/8.14.9/Submit) id t1C8M0u8020184; Thu, 12 Feb 2015 00:22:00 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 12 Feb 2015 00:21:59 -0800 From: Greg Lewis To: Jean-Yves Moulin Subject: Re: OpenJDK 1.7 has issues versus linux-sun-jdk17 Message-ID: <20150212082159.GA20132@misty.eyesbeyond.com> References: <5491EDAE.2010608@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Paul Pathiakis , freebsd-java X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 08:22:15 -0000 On Tue, Dec 23, 2014 at 09:42:45AM +0100, Jean-Yves Moulin wrote: > > On 17 Dec 2014, at 21:55 , Paul Pathiakis via freebsd-java wrote: > > > >> # A fatal error has been detected by the Java Runtime Environment: > >> # > >> # SIGSEGV (0xb) at pc=0x0000000803a4d4ae, pid=84602, tid=35353228288 > >> # > >> # JRE version: OpenJDK Runtime Environment (7.0-b14) (build 1.7.0_71-b14) > >> # Java VM: OpenJDK 64-Bit Server VM (24.71-b01 mixed mode bsd-amd64 compressed oops) > >> # Problematic frame: > >> # j java.net.SocketException.(Ljava/lang/String;)V+0 > >> # > >> # Core dump written. Default location: /cores/core or core.84602 > >> > > Interesting, we are tracking exactly the same kind of issue (Segfault on SocketException.init) with our home made applications. > > The same java binary runs fine on Linux-openjdk7 (Linux OS or FreeBSD OS). > > Did you got a response from OpenJDK team ? Late reply on this. Is it possible to narrow this down to a simpler test case than "set up OpenNMS and run it for ten minutes"? I assume one has to actually do more than just run it, since the exception is likely a result of some kind of network traffic. If not that, a wiki or something on how to set up OpenNMS and provoke the problem would be a big help. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Thu Feb 12 16:09:47 2015 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DDB71CC0 for ; Thu, 12 Feb 2015 16:09:47 +0000 (UTC) Received: from nm37-vm8.bullet.mail.bf1.yahoo.com (nm37-vm8.bullet.mail.bf1.yahoo.com [72.30.238.220]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 88B446E7 for ; Thu, 12 Feb 2015 16:09:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1423757225; bh=RGA+vwM2habtEmgFJ41FYY+eAnaR2TA/B8WaStBNOhM=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=LphfnG/r7aiSNiZ02EaNX36WdHvCNEYvAXU8QpmDTzJPxcTX5gBtSbxre+7V7bb8pBk2INfcV3JfmguGAEHcvhnCRY8NcTG9IHY7VQLbQM1kaNcSRjWgVQfox6RE7V1ZrSpSqxZcjDiAyjbIXyYBqTKiROLv5XA0RrJyc6XXHSEs6fbCgPki7Jk6GsihM9WxTDYxcREi6ztbsuIsQS19J77lXTdFd/Hrmnj6h7Qt6XU14s4237fBoUJcCDslOOLwlAZcz9Ymn2hTlCzoao5t5G5ddG5C464XFTcTXWBCkgRQueVQK01xMQmOvJgGYA1BIcDqK3rx3V7WPuYECP6ypw== Received: from [98.139.215.141] by nm37.bullet.mail.bf1.yahoo.com with NNFMP; 12 Feb 2015 16:07:05 -0000 Received: from [98.139.213.13] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 12 Feb 2015 16:07:05 -0000 Received: from [127.0.0.1] by smtp113.mail.bf1.yahoo.com with NNFMP; 12 Feb 2015 16:07:05 -0000 X-Yahoo-Newman-Id: 101442.57514.bm@smtp113.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: S._bQ.IVM1nKvEcrZRPVTsZ2XT6B70eHYT0mQj_y7_EMWfn Yxi2u3eg_OhEQHGuF4Qj8xlxJv40rpRCJ.d8L5NZIPXDt9n._8jArW3RI.sA z60Z6kl8Ej5KwXW.hKg3DWV_CgUY0gEBrNl8KmIl4sPQHtGfPZIIeH3zPw0w g_HI9hygernUNwUQy92fVF4ekv3yv4hPlIRM002NcryXScCdBwNfN2m.eGqt KRFxWrVdx68VSjXZpsaZeO_WkL_E_cvasLHaN40HcYQTnND9VP70ku_gkmcT gb9QPP.JCUPfPJvk52OiH.woVlKusDDYjEHphxt4Dny2Fn109Ms80vkMWuVn dmyaxt2U1Ke7DEedK5B2l_mUrcvVxctkl8pOlEdEqV9lQZTL.jj_laAJub4x 5l5JfhRS8Vs7ehmDT81cJ8lUdUvA.09UiiL70XzvgXqygCtxVXwWTcF2sLK4 _w5y1XhvxlxOwdbUqy.uWlxKu69DVOnO8JEVLlLJhN6CQ0Mu3MdGHH3_jdlE jsdYIWcAetA7R1trl4D2CTg9NAYEl11p7R5_mN35cz5zchojuV7FisYU9Zzw RvY0ilSEb0q9sQtGLNP_9XT634NR1YXOXAxZb3yHWrNSCarqSGgnblfEcmJM ax6mLM3jgNyqVOgUcNPwIFsUQ_lO5TFAurAUyLtEalQuWMrp2sRc0oVtdQhW E1h2VudNzCECOhciOsNsA X-Yahoo-SMTP: h3Xqg6.swBC0yI913RMMwp94grO_cg-- Message-ID: <54DCCFA8.7000703@yahoo.com> Date: Thu, 12 Feb 2015 11:07:04 -0500 From: Paul Pathiakis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Greg Lewis , Jean-Yves Moulin Subject: Re: OpenJDK 1.7 has issues versus linux-sun-jdk17 References: <5491EDAE.2010608@yahoo.com> <20150212082159.GA20132@misty.eyesbeyond.com> In-Reply-To: <20150212082159.GA20132@misty.eyesbeyond.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-java X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 16:09:48 -0000 Greg, Better late than..... Actually, no. Once it get's running, it will crash, usually, within 10 minutes. Sometimes, just activating the GUI web page will make it crash faster. I thought I had enclosed the instructions on how to set this up in a later/earlier post. First, you'll need an instance of Postgresql running and access to it. Here's the first part: (I will be posting this to the OpenNMS wiki for building on FreeBSD 10+ ) So, do the following: Download the software by going to the software www.sourceforge.net/opennms site and saving the file when prompted Move it to a 'build' directory Unpack gunzip < opennms-source-.tar.gz | tar xpf - Install supporting packages pkg install iplike pkg install jicmp jicmp6 pkg install git pkg install jrrdtool pkg install bash set the environment variables: JAVA_HOME = /usr/local JAVA_VENDOR = openjdk in the 'build' directory, ./compile.pl ./assemble.pl -Dopennms.home=/usr/local/opennms once this completes, mkdir /usr/local/opennms copy the new version from targets directory, it should be named something like: opennms-.tar.gz, to /usr/local/opennms unpack < opennms-.tar.gz | tar xpf - create a role opennms in the PGSQL database... Give it a password and the ability to login create a database named opennms and with opennms as the owner go into the the opennms etc directory: /usr/local/opennms/etc Edit the opennms-datasouce.xml file Search for the string jdbc-data. Search for the string localhost. If postgresql is on a remote machine, replace localhost with that address Search for localhost again and repeat the the replacement Search for postgres change the instance to pgsql Write out the file. Go back up to /usr/local/opennms run: ./bin/runjava -s (Success looks like: runjava: Looking for an appropriate JRE... runjava: Checking for an appropriate JRE in JAVA_HOME... runjava: skipping... JAVA_HOME not set runjava: Checking JRE in user's path: "/usr/local/bin/java"... runjava: found an appropriate JRE in user's path: "/usr/local/bin/java" runjava: value of "/usr/local/bin/java" stored in configuration file . ) Run the schema installer: ./bin/install -dis (the output is huge while it creates tables, schemas, etc Start opennms with: ./bin/opennms start I hope this is good. Let me know if you have issues. This is reproducible with this software. It will crash. However, I just noticed they upgraded to 1.15 on the download site and this was still occurring on the last version of 1.14. P. PS - I'd like to see this work soon as, not only do I want to create it on their Wiki, but I want to create and maintain the port and its dependencies. On 02/12/2015 03:21, Greg Lewis wrote: > On Tue, Dec 23, 2014 at 09:42:45AM +0100, Jean-Yves Moulin wrote: >>> On 17 Dec 2014, at 21:55 , Paul Pathiakis via freebsd-java wrote: >>> >>>> # A fatal error has been detected by the Java Runtime Environment: >>>> # >>>> # SIGSEGV (0xb) at pc=0x0000000803a4d4ae, pid=84602, tid=35353228288 >>>> # >>>> # JRE version: OpenJDK Runtime Environment (7.0-b14) (build 1.7.0_71-b14) >>>> # Java VM: OpenJDK 64-Bit Server VM (24.71-b01 mixed mode bsd-amd64 compressed oops) >>>> # Problematic frame: >>>> # j java.net.SocketException.(Ljava/lang/String;)V+0 >>>> # >>>> # Core dump written. Default location: /cores/core or core.84602 >>>> >> Interesting, we are tracking exactly the same kind of issue (Segfault on SocketException.init) with our home made applications. >> >> The same java binary runs fine on Linux-openjdk7 (Linux OS or FreeBSD OS). >> >> Did you got a response from OpenJDK team ? > Late reply on this. Is it possible to narrow this down to a simpler test > case than "set up OpenNMS and run it for ten minutes"? I assume one has to > actually do more than just run it, since the exception is likely a result > of some kind of network traffic. > > If not that, a wiki or something on how to set up OpenNMS and provoke the > problem would be a big help. > From owner-freebsd-java@FreeBSD.ORG Fri Feb 13 06:44:10 2015 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19009583 for ; Fri, 13 Feb 2015 06:44:10 +0000 (UTC) Received: from smtp-out06.msg.oleane.net (smtp-out06.msg.oleane.net [62.161.7.4]) by mx1.freebsd.org (Postfix) with ESMTP id 66BE9F29 for ; Fri, 13 Feb 2015 06:44:09 +0000 (UTC) Received: from smtp01.msg.oleane.net (smtp01.mail.priv [172.17.20.110]) by smtp-out06.msg.oleane.net with ESMTP id t1D6i8ta014874 for ; Fri, 13 Feb 2015 07:44:08 +0100 Received: from smtp01.msg.oleane.net (localhost.localdomain [127.0.0.1]) by smtp01.msg.oleane.net (MTA-AV) with ESMTP id t1D6i8P1001810 for ; Fri, 13 Feb 2015 07:44:08 +0100 Received: from [192.168.1.77] ([194.2.97.226]) (authenticated) by smtp01.msg.oleane.net (MSA) with ESMTP id t1D6hpMe001468 for ; Fri, 13 Feb 2015 07:44:07 +0100 X-DKIM: Sendmail DKIM Filter v2.8.3 smtp01.msg.oleane.net t1D6hpMe001468 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fr.oleane.com; s=orange; t=1423809847; bh=/4VrnIrH0vTc1Polap8k7ojjg7s=; h=Date:Mime-version:Subject:From:To:Message-Id:Content-Type; b=Zu+bWvEkdvnI2ua4fpHZvhSAubAwbXDu6SBm6XZiptPi4RuPvmSKzEU8QMe3zTzkZ lOaCGnuoYNVk5dvRZwx7r3uPuZNPwp41Lw00YBFPZgR7PRF8gbMiSZvtXtu9BCcUYu cr1AvNOJsejiBWWgIzEJTuFXQfzMLKfXfKB7oHvE= X-Oleane-Rep: REPA Date: Fri, 13 Feb 2015 07:44:07 +0100 Mime-version: 1.0 Subject: Visit the Nation's Largest Wound Care Exhibit Hall, San Antonio, TX, April 29-May 3 From: To: pkg-descr|java Message-Id: <213744.SECEBMAE@fr.oleane.com> X-Mailer: MBM 5.6.3-FR Original-recipient: rfc822;java@freebsd.org X-Backend: vm-smtp-sophos01v3 X-Backend: vm-smtp-sophos01v3 X-Spam-Flag: NO X-PMX-Spam: Probability=9% X-PMX-Spam: Probability=9% X-PFSI-Info: PMX 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2015.2.13.62721 (no virus found) X-Orange-Auth: bmV3c2xldHRlcmNtZkBsZXNlZGltMS5mci5mdG8= Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 06:44:10 -0000 SAWC Spring 2015 a:link { text-decoration: none !important; color: #1b1464; } a:visited { text-decoration: none !important; color: #1b1464; } a:hover { text-decoration: none !important; color: #1b1464; } a:active { text-decoration: none !important; color: #1b1464; } #outlook a { padding: 0; } /* Force Outlook to provide a "view in browser" button=2E */ body { width: 100% !important; margin: 0; padding: 0; } =2EReadMsgBody { width: 100%; } =2EExternalClass { width: 100%; } /* Force Hotmail to display emails at full width */ body { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; } =2Eyshortcuts, =2Eyshortcuts a, =2Eyshortcuts a:link, =2Eyshortcuts a:visited, =2Eysh= ortcuts a:hover, =2Eyshortcuts a span { text-decoration: none !important; border-bottom: none !important; background: none !important; } /* Reset Margins and Paddings */ h1, h2, h3, p { margin-top: 0 !important; margin-right: 0 !important; margin-bottom: 10px !import! ant; margin-left: 0 !important; } img { border: 0; display: block; -ms-interpolation-mode: bicubic; } =2Eimg-inline { display: inline; border: 0; vertical-align: -2px; -moz-border-radius: 0 !important; -webkit-border-radius: 0 !important; border-radius: 0 !important; } =2EBGtable { height: 100% !important; margin: 0; padding: 0; width: 100% !important; } br { line-height: 20px; } @media only screen and (max-width: 640px) { img[class~=3Dimg] { width: 100% !important; height: 100% !important; max-height: auto !important; max-width: auto !important; } img[class~=3Dimgspkr] { width: 100% !important; height: 100% !important; max-height: 94px !important; max-width: 73px !important; } img[class~=3Dimgevent] { width: 100% !important; height: 100% !important; max-height: 205px !important; max-width: 248px !important; text-align: center !important; } img[class~=3Dcontainer] { width: 100% !important; height: 10px !important; } td[class~=3Dsidebar-maincontent-right] { padding-left: 10p! x !important; } td[class~=3Dsidebar-maincontent] { padding-right: 10px !important; } td[class~=3Dgeneral-td] { padding: 10px 10px 0 10px !important; } td[class~=3Dgeneral-img-td] { padding: 10px !important; } /*------Table Size------*/ table[class~=3Drow] { width: 560px !important; } table[class=3Dsidebar] { width: 38% !important; } table[class=3Dmaincontent] { width: 62% !important; } table[class~=3Dcol2] { width: 50% !important; } table[class~=3Dcol3] { width: 33% !important; } table[class~=3Dcol-2-3] { width: 67% !important; } table[class~=3Dcol4] { width: 50% !important; } /*-------footer table---*/ table[class=3Dfooter-left] { width: 65% !important; } table[class=3Dfooter-right] { width: 35% !important; } /*-------img-size------*/ img[class=3Dwrap] { width: 100% !important; height: 10px !important; } img[class=3Dimg-166h] { max-width: 130px !important; } img[class=3Ddevider-img] { width: 100% !important; height: 10px !important; } } @media only screen and (max-width: 4! 80px) { /*container*/ table[class~=3Drow] { width: 400px !important; } ! /*small table*/ table[class=3Dsidebar] { width: 100% !important; } table[class=3Dmaincontent] { width: 100% !important; } table[class~=3Dcol2] { width: 100% !important; } table[class~=3Dcol3][class~=3Dfull] { width: 100% !important; } table[class~=3Dcol-2-3] { width: 100% !important; } table[class~=3Dcol3] { width: 50% !important; } table[class~=3Dcol4] { width: 50% !important; } /*footer table*/ table[class=3Dfooter-left] { width: 100% !important; } table[class=3Dfooter-right] { width: 100% !important; } table[class=3Dfooter-left] td { text-align: left !important; } table[class=3Dfooter-right] td { text-align: left !important; } /*-------img-size------*/ table[class~=3Dcol4] =2Eimg { max-width: 100% !important; } td[class~=3Dsidebar-maincontent] { padding: 0 !important; } td[class~=3Dsidebar-maincontent-right] { padding: 0 !important; } td[class~=3Dwebonly], span[class~=3Dwebonly] { display: none !important; } } @media only screen and (max-width: 360px) { table[class~=3Dro! w] { width: 320px !important; } table[class~=3Dcol3], table[class~=3Dcol4] { width: 100% !important; } img[class=3Dimg-166h] { width: 100px !important; } img[class=3Dwrap] { width: 98% !important; height: 10px !important; } td[class~=3Dtop-bar] { padding: 5px 10px !important; } } @media only screen and (max-width: 320px) { table[class~=3Drow] { width: 300px !important; } img[class=3Dimg-166h] { width: 80px !important; } } Nothing Compares to the Larg= est Wound Care Exhibit Hall in the Nation Come see why more than 200 exhibitors choose to showcase t= heir products, solutions and services at the Symposium for Advanced Wound Care Spring (SAWC Spring)/Wo= und Healing Society (WHS) meeting=2E Register now to peruse the 40,000 squ= are foot hall filled with leading companies showcasing the latest = in wound care technology=2E SAWC Spring/WHS also offers the largest and most well-respected mul= tidisciplinary wound care program in the nation with ! 80+ provocative new sessions sharing late-breaking research across six ! = dynamic tracks=2E These lecture tracks include =2E=2E=2E Advanced Practice Association= For The Advancement of Wound Care Clinical Practice Limb Preservation Post-Acute Care Wound Healing Society Wound Prevention and Therapeutics You will also find yourself surrounded by the largest gathering of = wound care clinicians from all over the country with whom you can = network=2E Nothing compares to SAWC Spring/WHS, which is why you need= to register now to be a part of not just the biggest, but the= best event in wound care this country has to offer! To view the accreditation information for this program, click her= e= =2E To unsubscribe or change your subscription options, please contact: newsle= tterSAWC