From owner-freebsd-java@FreeBSD.ORG Sat Mar 21 16:04:06 2015 Return-Path: Delivered-To: freebsd-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 A9771774 for ; Sat, 21 Mar 2015 16:04:06 +0000 (UTC) Received: from nm46.bullet.mail.bf1.yahoo.com (nm46.bullet.mail.bf1.yahoo.com [216.109.114.62]) (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 5DFA580E for ; Sat, 21 Mar 2015 16:04:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1426953694; bh=e8YgBGkmhIvprM7ZcvZcO+bRSFqlCVGQo6SSleKLHB4=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=SrtpK7JlXSon/iW+54zMLFuwcX/ZtiSek5UymYolWzoHteEbr+2pNkQ0OSiohMf1Op0F9sCKqU6YBL/PNvh8a9xLzJcjT3heRHBfASIXQeH/UhuA/A3hx4AOej8P201awrxq2YIMvx7XWSjkF4nuqVjQtQASMeoYAoDkl4jGgtVLSzeD0qeFZtsLTzYjwDfw6h05UsO1B7OhKYFVC4J+OSdgA8Cv/kaVYt0L0Sh4hRqMvKVlmQb7d2vecsulctaKLuWtRJdovzdE/7rOmqWqT3mp/bnLcL8pmTZ3QOJ6jJkrQ4+87JQP475ZyfoHEmSvkeFxP4plG3q3TwPPrJe/Pw== Received: from [98.139.170.179] by nm46.bullet.mail.bf1.yahoo.com with NNFMP; 21 Mar 2015 16:01:34 -0000 Received: from [98.139.213.13] by tm22.bullet.mail.bf1.yahoo.com with NNFMP; 21 Mar 2015 16:01:34 -0000 Received: from [127.0.0.1] by smtp113.mail.bf1.yahoo.com with NNFMP; 21 Mar 2015 16:01:34 -0000 X-Yahoo-Newman-Id: 293056.92661.bm@smtp113.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: QXQCU2oVM1ntCgQE2jrW4JmIQjyclcZK6bfGOemQpLWG0ld uRhYNJCebN6JkMkpameXdYZD8DAEiqHgaYSX3W3JgcmJ.Na99ZRWoxcqaMSz GxZKecL.G4Po2Zrr3LpQCszkq4_KDJ3z1FYyXwLLS9EC82snMCAdg9elSZPX K86FzmXhGMX9qTyDLlG7QlrsdjKSbw4CT3G4t7QcJVZWo2DOL8dQjAwIPShf am6Av9IwSu4ESvD4rVlcgKaLrz9O4zT1NiPKeAtDrIoHEJl3yifwMAmYygn2 WHAHzQTpXFBhKRBmkdD6OC2Ioli4ZzKpc_BpeSqaCHpQRliwIV92_GOnNKsE o5MZjV9BFxpmCYAPimYRLy0bvE3WcO4tyqLElSqEBOhgMF_V3KDNIEQHZDEC LpakI3v3A4P_8OmpCZ3C69.zI9fl.X27.HyLdJfxdOvGqzOeOBcsicvhBt3m jnQVdY6P3NA1RegYgkPxDY6_AGdLop4eMVKtUYBkx_lvt4q0KxzlbuilsGpo lqb.0NECk1.r0rLhUeqvznPFh25bPIMhemQ-- X-Yahoo-SMTP: h3Xqg6.swBC0yI913RMMwp94grO_cg-- Message-ID: <550D95DB.3020800@yahoo.com> Date: Sat, 21 Mar 2015 12:01:31 -0400 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: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sat, 21 Mar 2015 16:04:06 -0000 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. > Hi All! It looks like there are others trying to get this to work as well and a couple of them are mailing me as to the status. Anything? Look, if necessary, someone can be provided an account on my server and run everything from there if it's helpful. P. See below: So much for that… now java core dumps as soon as JettyServer tries to start. -KJ *From:*Kris Jacobs *Sent:* Tuesday, March 17, 2015 08:34 *To:* 'Paul Pathiakis' *Subject:* RE: FreeBSD, JDK, & OpenNMS Hey Paul, I see the Java 8 port is updated to 8.40 now – going to give it a try. -KJ *From:*Kris Jacobs *Sent:* Wednesday, March 11, 2015 11:33 *To:* 'Paul Pathiakis' *Subject:* RE: FreeBSD, JDK, & OpenNMS I gave up – crashing the same way with 7 or 8. At least I have my old installation running just fine. I’ll have to wait & see on the upgrade. Or just spin up a Linux VM... Ha! No way, FreeBSD all the way. ;) Thanks again Paul! -KJ *From:*Paul Pathiakis [mailto:pathiaki2@yahoo.com] *Sent:* Wednesday, March 11, 2015 11:29 *To:* Kris Jacobs *Subject:* Re: FreeBSD, JDK, & OpenNMS Kris, All my attempts were with a variation of 14.x. I also tried openjdk 7 and 8, but the only thing that would function for a while would be linux-jdk-17 requiring the entire linuxlator to be installed. P. On 03/11/2015 10:38, Kris Jacobs wrote: Alright, thanks Paul. I’m installing OpenJDK8 from ports now – I built and have been trying to run OpenNMS on Java 7, going to see if my build will run on Java 8. Have you tried OpenNMS 15.x with Java 8? -KJ *From:*Paul Pathiakis [mailto:pathiaki2@yahoo.com] *Sent:* Wednesday, March 11, 2015 10:26 *To:* Kris Jacobs *Subject:* Re: FreeBSD, JDK, & OpenNMS Kris, No. It's mainly the FreeBSD java team that is dragging it's feet on this. I've produced everything about this issue to them as the linux-jdk works much better (ie doesn't crash) but the openjdk crashes. The FreeBSD java group was asked to track this down. I gave them the information about how to set up OpenNMS and configure it so they could find out what was wrong. They have yet to respond. I'd say do the same thing as myself. Take all your findings and forward it to the freebsd java group and ask them to correct the openjdk issues. P. On 03/11/2015 08:59, Kris Jacobs wrote: Hi Paul, good morning. I’ve been reading a lot of your posts to the lists about OpenNMS on FreeBSD. I have been running OpenNMS v1.10.6 on FreeBSD 9 for years with no trouble, but decided to upgrade. Heh. See versions of software I’m running below. I have the same symptoms you described last fall: it runs for a while, then boom – JVM blows up. Have you had any luck getting it working? Thanks! ____________________________ Kris Jacobs Network Administrator % uname –a FreeBSD NETMONv2.calhouncountymi.local 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 % pkg version | grep jdk openjdk-7.76.13_1,1 opennms-15.0.1-1