From owner-freebsd-java@freebsd.org Sun May 15 11:55:07 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA6C9B225A6 for ; Sun, 15 May 2016 11:55:07 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B0F641081 for ; Sun, 15 May 2016 11:55:07 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1b1udM-0008Ke-Ps; Sun, 15 May 2016 13:54:57 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-java@freebsd.org, "Anton Shterenlikht" Subject: Re: help fix javax.media.opengl.GLException: Error making context current References: <201605131703.u4DH3Xx5005224@mech-as222.men.bris.ac.uk> Date: Sun, 15 May 2016 13:54:56 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <201605131703.u4DH3Xx5005224@mech-as222.men.bris.ac.uk> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: d2b65465fd2235632e6f1ea95c39dbf6 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2016 11:55:08 -0000 Hi, A little googling on 'javax.media.opengl.GLException: Error making context current' gives a lot of pages about the same error people are having (mainly on Linux). It looks like it depends a lot on versions of OS/drivers/libraries/graphics card, etc. And also about how robust programs are programmed related to small differences in threading+opengl of the OS/java implementation. So it is quite a hard question to answer AFAIK except when somebody has seen exact your problem in the past and solved it. Ronald. On Fri, 13 May 2016 19:03:33 +0200, Anton Shterenlikht wrote: > Hi > > I get the following errors when trying > to run a 3D GL program over ssh. > To be clear the program is launched on a remote linux server, > and I view the graphical results on a local workstation. > > I get identical errors trying to > connect to the remote server from FreeBSD 10.3 (2 different > graphic cards) and from 11-current. > > However, I just checked, and it works fine > if I connect to the remote server from MS Windows 7(?) > and use Xming (http://www.straightrunning.com/XmingNotes/) > to view remote graphics. > > I don't know where to start looking. > Please help > > The errors: > > paraprof > javax.media.opengl.GLException: Error making context current > at > com.sun.opengl.impl.x11.X11GLContext.makeCurrentImpl(X11GLContext.java:141) > at > com.sun.opengl.impl.x11.X11OnscreenGLContext.makeCurrentImpl(X11OnscreenGLContext.java:69) > at > com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:127) > at > com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182) > at > javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:258) > at javax.media.opengl.GLCanvas.display(GLCanvas.java:130) > at javax.media.opengl.GLCanvas.paint(GLCanvas.java:142) > at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264) > at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:73) > at sun.awt.RepaintArea.paint(RepaintArea.java:240) > at > sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:694) > at java.awt.Component.dispatchEventImpl(Component.java:4725) > at java.awt.Component.dispatchEvent(Component.java:4475) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675) > at java.awt.EventQueue.access$300(EventQueue.java:96) > at java.awt.EventQueue$2.run(EventQueue.java:634) > at java.awt.EventQueue$2.run(EventQueue.java:632) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108) > at > java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:119) > at java.awt.EventQueue$3.run(EventQueue.java:648) > at java.awt.EventQueue$3.run(EventQueue.java:646) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:645) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) > > The program is TAU paraprof: > https://www.cs.uoregon.edu/research/tau/docs/newguide/bk01pt02.html > > What I want to get is visualisation like this: > http://cgpack.sourceforge.net/201605res/para3d.png > (This was obtained using MS Windows as X server with Xming(?)). > > I tried getting help in this list in April, > and also from X11@ and in questions@. > > The sysadmin of the remote linux server tells > me that probably my graphics card or driver are > too old. This probably is not the case. > My 11-current laptop has a Haswell card and I use > xf86-video-intel-2.21.15_9 x11-drivers/xf86-video-intel > video driver. > > Perhaps my java is not right? > Or my OpenGL? > > Maybe I should ask in yet another list? > > Many thanks > > Anton > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@freebsd.org Sun May 15 12:21:00 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3C83B3A0CD for ; Sun, 15 May 2016 12:21:00 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CA151AE1 for ; Sun, 15 May 2016 12:21:00 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x229.google.com with SMTP id g17so96280913wme.1 for ; Sun, 15 May 2016 05:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:reply-to:in-reply-to; bh=TI+nbswGV59Z9DwZU9hZRU6Zgjm4DKBejy8JC0XC7PY=; b=k3robQU6NN707Es/MkHP21ASDHtqyNhiX8euEivXVd2DNsaRDMy/h4AALdUZJBw8Pv LGthBZe8qOh06LKzuQYVXnWsY9W8teEJB4yvlixkyDGoPjAbW+2H9iS7hW17BG6XVHn3 EByzon6N12n9I7zpGwMCdwO3ym9MEBY6SYbS8cNl7wa8nIuisrDoFFqTc9Z+w0sCcW7X IfG/CLV5ocI/EHyT23nHaOjYyCR8o0tkBR9K/Urr3Qti79nxZA6D4WzWdDt6b8Nt5SJv iIlULe6mS+HkyV6tW0lxkLNQyWgQwbRIZqOx0QA4UyD7L0QMFj2LbdnXmemvSx8Vh9vb QpOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to :in-reply-to; bh=TI+nbswGV59Z9DwZU9hZRU6Zgjm4DKBejy8JC0XC7PY=; b=d3bnThd6b/SJ9POlnSLXCt/05tTK6I4sb/LOsToJFNjFPzf25BJnoWNY3y26/9EAa8 YbBeOO89HxbQ7m2ufBdziiE0Ztog7ysj1jQCUDYy1s8lY5ErLxBPm6+o0tRLoeI08fr/ egHc/BVCVV85RkK63JYSmQIkF9jaaPcUKPb3L+5W1Qagt7/WaBpW/IpK+tfeLBld52wm /TcncYz+GZaiFP2m86qsOu8UXOcV55emdMuT5Tz6XFNRfRyA1HmLkH6JjEdaUMGy4rfy oUo/ucLXO+Kv57/hxt7tZV2XerOMH5QOqKRhdevJ/ZfwagzEktJn47kxpBEUC7oz6CRr bp9Q== X-Gm-Message-State: AOPr4FWOxCtX1nGB2TtdtuBYDgcTUwtPIRoGLB3KPSbmftalazZSOCFCz34V0XdhN4woWE49 X-Received: by 10.28.152.19 with SMTP id a19mr12340214wme.60.1463314858643; Sun, 15 May 2016 05:20:58 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id e8sm28411619wjm.23.2016.05.15.05.20.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 May 2016 05:20:58 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u4FCKvaw013864; Sun, 15 May 2016 13:20:57 +0100 (BST) (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u4FCKve9013863; Sun, 15 May 2016 13:20:57 +0100 (BST) (envelope-from mexas) Date: Sun, 15 May 2016 13:20:57 +0100 (BST) From: Anton Shterenlikht Message-Id: <201605151220.u4FCKve9013863@mech-as222.men.bris.ac.uk> To: freebsd-java@freebsd.org, mexas@bris.ac.uk, ronald-lists@klop.ws Subject: Re: help fix javax.media.opengl.GLException: Error making context current Reply-To: mexas@bris.ac.uk In-Reply-To: X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2016 12:21:01 -0000 >From ronald-lists@klop.ws Sun May 15 13:16:13 2016 > >A little googling on 'javax.media.opengl.GLException: Error making context >current' gives a lot of pages about the same error people are having >(mainly on Linux). >It looks like it depends a lot on versions of >OS/drivers/libraries/graphics card, etc. >And also about how robust programs are programmed related to small >differences in threading+opengl of the OS/java implementation. > >So it is quite a hard question to answer AFAIK except when somebody has >seen exact your problem in the past and solved it. I thought so... Looks like I'm stuffed. Thanks anyway Anton From owner-freebsd-java@freebsd.org Mon May 16 09:22:46 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA898B3DFC5 for ; Mon, 16 May 2016 09:22:46 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8614E12FF for ; Mon, 16 May 2016 09:22:46 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-vk0-x22d.google.com with SMTP id s184so205774342vkb.3 for ; Mon, 16 May 2016 02:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=YvmMwS7KIcIL9BhpuSaFDGbxeQo1XyEwiPjmakP/NC0=; b=nfb7fbhS4WqN524N5XcdBTIH2BSju29FnKdk9LzJx87aJeKtsOh8wtScc/HZniMpU4 CrziTjxNlvsGNlVErdUDkj3fqjNTB24wWi4LAJLz5WKBRGscd0uJyhqwz5za72JwGo8P KJrkK+uOzid4qT51I1jaCzlWheIrHa4vGjVDwVhM6wBVAwpAjgtnhPSg02U0ZUefPM0U ixJohd72OQ13pUYRy+A4z3oe4wKWqcxT4FTwKLwzhL3meAeo5B2D8kHLEJdebxfvL9Yh vVnFbwDmWrvb9rJe6n3B5jacFVw0DqFaDKDOILg5GRDLDqG8rK5AWx/NeULaaQKowlhN aM3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=YvmMwS7KIcIL9BhpuSaFDGbxeQo1XyEwiPjmakP/NC0=; b=krjKHkqGjIczYQKTxKCLipYLncKuRzQ4FYeiwpnX0/MAasLrr1+865aXhoeioqxoS+ jqb4WXQe2xTf2TvbPGE0JJOWLOxJLvGsNccxV/1gxpCWDPz+sycMTc+bUC00NjkU99fQ xw7bPErr/usYWQCZlQ521uwHzvX1foDPB37mof5WFP/hWttk7+yi6x5HL/pUmtISFI9l DMxxR+QMF9vJ7FjYv6s4JACpjJ5dIYeNhzHrKslBe92mtQ4MPRQtTFMDvLpfVaygAafZ cq7YKYBDrfam/F9wmw3ab9sQO2ujQVAwsrYKZuz+z5kD2A4t6FurvcB/iAiw4yiZ8tBQ u7hw== X-Gm-Message-State: AOPr4FW6otHxaU+VFVRg1RehSM1z6AUOibICD797kD0gwMPKI/Yi9i1QwD8DJ1x6kwoqHS/AcI2nFURk2x9a0cKh MIME-Version: 1.0 X-Received: by 10.176.64.100 with SMTP id h91mr12536675uad.56.1463390565481; Mon, 16 May 2016 02:22:45 -0700 (PDT) Received: by 10.176.69.208 with HTTP; Mon, 16 May 2016 02:22:45 -0700 (PDT) In-Reply-To: References: <201605131703.u4DH3Xx5005224@mech-as222.men.bris.ac.uk> Date: Mon, 16 May 2016 10:22:45 +0100 Message-ID: Subject: Re: help fix javax.media.opengl.GLException: Error making context current From: Anton Shterenlikht To: Ronald Klop Cc: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 09:22:46 -0000 Is there a program/port on FreeBSD that I can use to debug this locally, i.e. without ssh? I'm having problems building the remote application on FreeBSD. This might take a while to resolve. So I'm thinking if there is some other application I can use to test my java/OpenGL installation and config? Also, do I need graphics/jogamp-jogl or graphics/jogl installed to have java/OpenGL working correctly? Thanks Anton From owner-freebsd-java@freebsd.org Mon May 16 12:42:52 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 433A6B3C79E for ; Mon, 16 May 2016 12:42:52 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D722A107A for ; Mon, 16 May 2016 12:42:51 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x229.google.com with SMTP id g17so134044572wme.1 for ; Mon, 16 May 2016 05:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:reply-to; bh=Y/je+539shXY6t406WZm+Idapq7uMMDSXqE9RYr5D80=; b=Vme+e/BrHsOjOBhusjUOIFrIq6jUd5T0xNDHeGIPO7FUzZtEZeHnL4/nUEXu+4dtkk HBqt4oza07QalPhd3sfSNgioZkj9du1Sqmy6bSlDuCPdgm/ARKk5i4jddnihBbs2CBNW +HYbpd1K3LC0ZpRsxIl26+YQAmUNKFhgMoqtRgc2KUkHvu38p1SWFVcB9SGEOoz/MmdJ K9fU2NDdvswwApoAFqKbN76EgISgXtZfQUngeBVB9fU8pIYYCcShELtbb/Jw1cnedlWq v2WcJ/HglRi38Z0NnSNxo2FwyhLA+E2Ti6eZ4jp2of4qUspVc5dbUAf+i7leGPn3rzxP iOJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=Y/je+539shXY6t406WZm+Idapq7uMMDSXqE9RYr5D80=; b=O9vOsiBnCHnxFJBothlKJ9vTVZD65r6AHfMsf0xxyaSYfvlxlKwwWBEco1wVBhz7dH Kna3cTPJo3qtjxnYkWgFv+2rN3Muo8Pl64ZshwjaMAABZdUNEZtSCU3eBGb+ILA3BPVF I66iYZEe/ndM+vxUwt9OYCCRwx6VxQWiwE5obpkj93ewSVwMtgSu/rOqGggTOG3OCAu5 mTeIVCMRP4zcBdCZVOaLTr2SAtdnJ1/amAHIw/JWEExO8F10LdVJ/rZCsyQTmb7NmKTv Jtl50IieuQTDrc2TOidAVGwPk6H268PLluq2r/Hp0imtObYqBNcTNWEFNOtFus0nINQP WbWg== X-Gm-Message-State: AOPr4FWZ867UbuI9+mIrsIiO6TCe7ElP9EfiqoMuPtJjko9bUpcg7cIAlqTNIjIVMCLSOO69 X-Received: by 10.28.41.65 with SMTP id p62mr17013415wmp.15.1463402570138; Mon, 16 May 2016 05:42:50 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id u6sm33612672wjh.2.2016.05.16.05.42.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 May 2016 05:42:49 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u4GCgmEw019036 for ; Mon, 16 May 2016 13:42:48 +0100 (BST) (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u4GCgmgh019035 for freebsd-java@freebsd.org; Mon, 16 May 2016 13:42:48 +0100 (BST) (envelope-from mexas) Date: Mon, 16 May 2016 13:42:48 +0100 (BST) From: Anton Shterenlikht Message-Id: <201605161242.u4GCgmgh019035@mech-as222.men.bris.ac.uk> To: freebsd-java@freebsd.org Subject: pkg: /usr/local/bin/java was not found in the database Reply-To: mexas@bris.ac.uk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 12:42:52 -0000 I'm trying to resolve some java/OpenGL errors. I know nothing about java and next to nothing about OpenGL. I just want to run a particular application. Anyway, in an attempt to get to the bottom of my errors [1], I'm trying to run any java/OpenGL locally on my 11-current laptop. I'm starting with java, something very simple, e.g.: http://www.skylit.com/javamethods/faqs/javaindos.html $ cat HelloWorld.java public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } } I get: $ javac HelloWorld.java $ java HelloWorld.class Error: Could not find or load main class HelloWorld.class This should've worked. So I wanted to check which java and javac I'm using: $ pkg which /usr/local/bin/java /usr/local/bin/java was not found in the database $ pkg which /usr/local/bin/javac /usr/local/bin/javac was not found in the database $ Is there something wrong with my java packages? I've openjdk8-8.77.3 java/openjdk8 but that seems to store binaries in different folder: $ pkg info -xl openjd | grep java |grep bin /usr/local/openjdk8/bin/java /usr/local/openjdk8/bin/java-rmi.cgi /usr/local/openjdk8/bin/javac /usr/local/openjdk8/bin/javadoc /usr/local/openjdk8/bin/javah /usr/local/openjdk8/bin/javap /usr/local/openjdk8/jre/bin/java So I'm not sure what's going on. Please advise how to test a working java environment. Thanks Anton [1] http://lists.freebsd.org/pipermail/freebsd-java/2016-May/011537.html From owner-freebsd-java@freebsd.org Mon May 16 13:19:27 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AAEFB3D325 for ; Mon, 16 May 2016 13:19:27 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D4FC919F7 for ; Mon, 16 May 2016 13:19:26 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x230.google.com with SMTP id e201so100666291wme.0 for ; Mon, 16 May 2016 06:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:reply-to; bh=xrb3NTRt4ngKu00eC9Zola7xYAaGRxvqq3eB2ErfZfU=; b=ooBvbQAlTr2UBgsTvu15CKutuFR5KmRP1CiwumQJI66ArIdBotSsc+ivtA9clR6mHO /sfKx7/8YvuZ0hWKp2JdH7jzveLcDkrOsE8JspH44/crZbj3G/L4FzNu6TBoYX8cLuEC 97H7bIZ90tvqD50uh/u8oh9R7GpGdvYO1e0rDrAuvdFybK3aZxlC7Zra6/RX/bB1vrq4 A1Jr+oTz2BteSWxahbdqUv2EYyJFmAQsQWGgwoIZN4FJxpuCKLVewZLtxmilq0Lkcvnk S1pGc/tA81fR4CYHlDsPgXE2lHkn0eBV24hYrfLwxfCqk4gyecORNoROeJpVET6xd+Ld P5VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=xrb3NTRt4ngKu00eC9Zola7xYAaGRxvqq3eB2ErfZfU=; b=PYH26RvUgzQ9sEUO0ndcd807cXUJ8xgZvbo06Gi+lYZTA704ZxyGnafRQtgAe0l0wa sRCJcN/UYbQm/psYdtj4v546uiYqMTp+3j/f/1CK1IJc/OXZOJkbQwjJ90SFHt3wrtty jBV7H31Xg1WsDBvpXrCfPTeSZi5MToyD0nlPiTsfvlZzoBqCs95ZHl96CrArPJR9FUei 2wLzcGqo59XCWQnti7BS/0m0+yUV4ZFLY0b5Y2McoL0bZWVjmtDCGlFfMPAs6yCUdrjv weWjYbFSOeD7kuZjIFwChoITBdgRSNv4sW4TUX5aywJ15mza9fuNCitdDc53hw+L95C2 LImA== X-Gm-Message-State: AOPr4FVlR8fWAt3iofUOt2+UbQ3YEBUkfgxpCCTG0GITxNigXzj6gt0H4eMJoIs90FMtGcbL X-Received: by 10.28.29.147 with SMTP id d141mr18062209wmd.91.1463404765322; Mon, 16 May 2016 06:19:25 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id p129sm18286782wmd.13.2016.05.16.06.19.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 May 2016 06:19:24 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u4GDJN8d019166 for ; Mon, 16 May 2016 14:19:23 +0100 (BST) (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u4GDJNkM019165 for freebsd-java@freebsd.org; Mon, 16 May 2016 14:19:23 +0100 (BST) (envelope-from mexas) Date: Mon, 16 May 2016 14:19:23 +0100 (BST) From: Anton Shterenlikht Message-Id: <201605161319.u4GDJNkM019165@mech-as222.men.bris.ac.uk> To: freebsd-java@freebsd.org Subject: help fix JOGL errors/warnings Reply-To: mexas@bris.ac.uk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 13:19:27 -0000 Hi I'm trying to follow this JOGL tutorial: https://sites.google.com/site/justinscsstuff/jogl-tutorial-2 I can successfully create an empty window with AWT, although I get a warning: $ echo $CLASSPATH /usr/local/share/java/classes/jogl2.jar:/usr/local/share/java/classes/gluegen2.jar:/usr/local/share/java/classes/gluegen2-rt.jar:. $ cat SimpleScene.java import java.awt.Frame; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.media.opengl.*; import javax.media.opengl.awt.GLCanvas; public class SimpleScene { public static void main(String[] args) { GLProfile glp = GLProfile.getDefault(); GLCapabilities caps = new GLCapabilities(glp); GLCanvas canvas = new GLCanvas(caps); Frame frame = new Frame("AWT Window Test"); frame.setSize(300, 300); frame.add(canvas); frame.setVisible(true); // by default, an AWT Frame doesn't do anything when you click // the close button; this bit of code will terminate the program when // the window is asked to close frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); } } $ $ javac SimpleScene.java warning: Supported source version 'RELEASE_6' from annotation processor 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source '1.8' 1 warning $ What is this warning about? Is the example not conforming with my JOGL version? $ pkg info -xo jogl jogamp-jogl-2.2.4 graphics/jogamp-jogl Anyway, when I then run $ java SimpleScene I get an empty window. However, when I try to create a window with NEWT: (lower down on the same page: https://sites.google.com/site/justinscsstuff/jogl-tutorial-2 ) I get: $ cat SimpleScene.java import javax.media.opengl.*; import com.jogamp.newt.event.WindowAdapter; import com.jogamp.newt.event.WindowEvent; import com.jogamp.newt.opengl.GLWindow; public class SimpleScene { public static void main(String[] args) { GLProfile glp = GLProfile.getDefault(); GLCapabilities caps = new GLCapabilities(glp); GLWindow window = GLWindow.create(caps); window.setSize(300, 300); window.setVisible(true); window.setTitle("NEWT Window Test"); window.addWindowListener(new WindowAdapter() { public void windowDestroyNotify(WindowEvent arg0) { System.exit(0); }; }); } } $ javac SimpleScene.java warning: Supported source version 'RELEASE_6' from annotation processor 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source '1.8' 1 warning $ java SimpleScene X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2) X11Util: Open X11 Display Connections: 2 X11Util: Open[0]: NamedX11Display[:0.0, 0x8d6e22000, refCount 1, unCloseable false] X11Util: Open[1]: NamedX11Display[:0.0, 0x8d6e23400, refCount 1, unCloseable false] $ The window opens momentarity and then shuts down automatically. Is this an expected behaviour? I then try to run a moving triangle example, bottom of this page: https://sites.google.com/site/justinscsstuff/jogl-tutorial-3 I get this error: SimpleScene.java:34: error: incompatible types: FPSAnimator cannot be converted to Animator Animator animator = new FPSAnimator(canvas, 60); ^ 1 error Again, perhaps the example is out of date, or the other way round - the JOGL version installed is out of date? Thanks Anton From owner-freebsd-java@freebsd.org Mon May 16 13:27:52 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41FCCB3D683 for ; Mon, 16 May 2016 13:27:52 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB81E109D for ; Mon, 16 May 2016 13:27:51 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-lb0-x22e.google.com with SMTP id jj5so49978271lbc.0 for ; Mon, 16 May 2016 06:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=O/JDsRVmyzkflo416YDGvOrCt+4pJlKEBDmpo7ylj5M=; b=IIPUj8wfIJLrIoUzGTGSLjKgtfLHyugU9EIAS6NGI/prAMEvhCxAxWHqe9bt17nuqp hRbsNTNc4VvMVAG22qHq61BSHG7GGEw9v9DTLKcIn5K0PN2iBMAZycRerF8K+Nt+kwF6 STVlXyZZcDubYAsU8H8+JbnF+BCuws277J8/IRfcigntPHTK61b3Nez/15vqo26JBMwh JIjQPzc680HK2CgBVRkqwlGhdGTxv2XkxLa96EkrdHZF3UtoXzjGwO0STdCUR7GYoeTP l1LLqjlgX99c3Q3BOIL0SzsQCeB0qDltU7s8pXeC6P2PHp6UPN8XX9AScYBaogGx/yFV ctRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=O/JDsRVmyzkflo416YDGvOrCt+4pJlKEBDmpo7ylj5M=; b=czIeVik8RvGgm2ghxoRvegO42Qws+mpch2BH55gkKPtj7iuCsqRDP0Qe9LA/2m2h/1 dGIEm9Vf8Lkfm8d6mM1+tgwCXy6ywmkXfwTw4GRsUZHe8r8Yysw0mDtZXHXJTu1qakne x+puigM6fZv7kmwggDEDia/t4PO8t3m3CC8dYhRJXr/cJRrYnynXtwyBS8H3ICKzSJg7 vYaXC2K1Y+M38QI+Uf86nB1unWeASHq/Xuyv0JlC5Ywrmmg1JPwqUwvxILgeItxD4kc2 katBJLcgAnD5vdK0O08VDA2mQwJ5rAbgLLpcW98tQg7ejymxA4yAslhoDKE+ocIb7OXG 8w2Q== X-Gm-Message-State: AOPr4FVhZKgzeA3TIhE4BwlZs+Ef4Tduhs274YNWOpgPA6mFXo+SP6bcDVqu4lcFpKK+RM1cciH3mSMpzToEfg== MIME-Version: 1.0 X-Received: by 10.112.220.6 with SMTP id ps6mr11420375lbc.16.1463405269467; Mon, 16 May 2016 06:27:49 -0700 (PDT) Received: by 10.25.152.83 with HTTP; Mon, 16 May 2016 06:27:49 -0700 (PDT) In-Reply-To: <201605161319.u4GDJNkM019165@mech-as222.men.bris.ac.uk> References: <201605161319.u4GDJNkM019165@mech-as222.men.bris.ac.uk> Date: Mon, 16 May 2016 16:27:49 +0300 Message-ID: Subject: Re: help fix JOGL errors/warnings From: Michael Zhilin To: mexas@bris.ac.uk Cc: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 13:27:52 -0000 Hi, Do you have tried graphics/jogl also? Thanks! On Mon, May 16, 2016 at 4:19 PM, Anton Shterenlikht wrote: > Hi > > I'm trying to follow this JOGL tutorial: > https://sites.google.com/site/justinscsstuff/jogl-tutorial-2 > > I can successfully create an empty window with AWT, > although I get a warning: > > $ echo $CLASSPATH > > /usr/local/share/java/classes/jogl2.jar:/usr/local/share/java/classes/gluegen2.jar:/usr/local/share/java/classes/gluegen2-rt.jar:. > $ cat SimpleScene.java > > import java.awt.Frame; > import java.awt.event.WindowAdapter; > import java.awt.event.WindowEvent; > import javax.media.opengl.*; > import javax.media.opengl.awt.GLCanvas; > > public class SimpleScene { > public static void main(String[] args) { > GLProfile glp = GLProfile.getDefault(); > GLCapabilities caps = new GLCapabilities(glp); > GLCanvas canvas = new GLCanvas(caps); > > Frame frame = new Frame("AWT Window Test"); > frame.setSize(300, 300); > frame.add(canvas); > frame.setVisible(true); > > // by default, an AWT Frame doesn't do anything when you click > // the close button; this bit of code will terminate the program > when > // the window is asked to close > frame.addWindowListener(new WindowAdapter() { > public void windowClosing(WindowEvent e) { > System.exit(0); > } > }); > } > } > > $ > > $ javac SimpleScene.java > warning: Supported source version 'RELEASE_6' from annotation processor > 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source > '1.8' > 1 warning > $ > > What is this warning about? > Is the example not conforming with my JOGL version? > > $ pkg info -xo jogl > jogamp-jogl-2.2.4 graphics/jogamp-jogl > > Anyway, when I then run > > $ java SimpleScene > > I get an empty window. > > However, when I try to create a window with NEWT: > (lower down on the same page: > https://sites.google.com/site/justinscsstuff/jogl-tutorial-2 ) > > I get: > > $ cat SimpleScene.java > > import javax.media.opengl.*; > import com.jogamp.newt.event.WindowAdapter; > import com.jogamp.newt.event.WindowEvent; > import com.jogamp.newt.opengl.GLWindow; > > public class SimpleScene { > public static void main(String[] args) { > GLProfile glp = GLProfile.getDefault(); > GLCapabilities caps = new GLCapabilities(glp); > > GLWindow window = GLWindow.create(caps); > window.setSize(300, 300); > window.setVisible(true); > window.setTitle("NEWT Window Test"); > > window.addWindowListener(new WindowAdapter() { > public void windowDestroyNotify(WindowEvent arg0) { > System.exit(0); > }; > }); > } > } > > $ javac SimpleScene.java > warning: Supported source version 'RELEASE_6' from annotation processor > 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source > '1.8' > 1 warning > $ java SimpleScene > X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): > 2/2, reusable (open, marked uncloseable): 0, pending (open in creation > order): 2) > X11Util: Open X11 Display Connections: 2 > X11Util: Open[0]: NamedX11Display[:0.0, 0x8d6e22000, refCount 1, > unCloseable false] > X11Util: Open[1]: NamedX11Display[:0.0, 0x8d6e23400, refCount 1, > unCloseable false] > $ > > The window opens momentarity and then shuts down automatically. > Is this an expected behaviour? > > I then try to run a moving triangle example, > bottom of this page: > https://sites.google.com/site/justinscsstuff/jogl-tutorial-3 > > I get this error: > > SimpleScene.java:34: error: incompatible types: FPSAnimator cannot be > converted to Animator > Animator animator = new FPSAnimator(canvas, 60); > ^ > 1 error > > Again, perhaps the example is out of date, > or the other way round - the JOGL version installed > is out of date? > > Thanks > > Anton > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > From owner-freebsd-java@freebsd.org Mon May 16 13:30:19 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE093B3D7DE for ; Mon, 16 May 2016 13:30:19 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 444B21275 for ; Mon, 16 May 2016 13:30:19 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-lb0-x22c.google.com with SMTP id jj5so50004327lbc.0 for ; Mon, 16 May 2016 06:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=+c0ltQddL2io5RKseOL+xZM+GsgTQjIC2nGo2tUv9u8=; b=R28vIsX3tF4l15wd/oJbCA2W01ArdZ3jDjXga+cykriYvedv6aT9PfmeFx3zhzBTWB wexX50+B7UUi+qHOWfnsdcySbw6P+yK6A1N1n2gHT7GL7nFSuax2YzTx3t4otgwuvfoG ydo43D817W49CitrfKXdhcdvxMB3S4Ctl4AzhjuSaCfPk+av/NCBYfFXq1hYUwp36JKl AyTxAHux8MzK06e/uQIWgFXHg1muNsjiWRjlf2o1d0OTgF4D22TF/U6rPineR6edI/Dx l0mRbh1pQ3tr6LCsK4M1fq9i5/DWpWhC8EKULI/MLH6hAJU9rvQcM0NuSdwIli05TIIv mx7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=+c0ltQddL2io5RKseOL+xZM+GsgTQjIC2nGo2tUv9u8=; b=OohzadRVQqPsPX4XTeE0PaJtLUykZlMBtrA7lFjHXcMfkyfDEJ1s0fK6OZTG8ISCxt ZbtWzvPxy2unVBNUzQ2NtMSIya2Evr+aBI5YyXizLU7DTIJoqBGmf8YcY07xbgFOMUOr ZXsZRiSXG6w2j6rcZeyXxiAN0ieedPSsXtAsbTKk6huzFXBH4rUP30VXRoor819uc1nV 8HiqMIhOuH/K3aszTdxl5GWhSC3L+auW1E2Dd5gGiy3SvwbZrwOnTqlcrh8KEuC5p9Vz B5THDnVdMyxMMW6vX1NW9RDO389wLCIwe71US2ks9X63KcNODqpFouyrBY+nF3nztKfV XbrA== X-Gm-Message-State: AOPr4FUN4UAgcY73nd2KlfzUG/qUNfqhdJHV2haJLQb1R8j5GMnXrZGWGtDv2bZEmnlouZ320MdLBSqrdyRmiw== MIME-Version: 1.0 X-Received: by 10.112.129.129 with SMTP id nw1mr12011272lbb.23.1463405417609; Mon, 16 May 2016 06:30:17 -0700 (PDT) Received: by 10.25.152.83 with HTTP; Mon, 16 May 2016 06:30:17 -0700 (PDT) In-Reply-To: <201605161242.u4GCgmgh019035@mech-as222.men.bris.ac.uk> References: <201605161242.u4GCgmgh019035@mech-as222.men.bris.ac.uk> Date: Mon, 16 May 2016 16:30:17 +0300 Message-ID: Subject: Re: pkg: /usr/local/bin/java was not found in the database From: Michael Zhilin To: mexas@bris.ac.uk Cc: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 13:30:19 -0000 Hi, Try it: $ java HelloWorld Thanks! On Mon, May 16, 2016 at 3:42 PM, Anton Shterenlikht wrote: > I'm trying to resolve some java/OpenGL errors. > I know nothing about java and next to nothing > about OpenGL. I just want to run a particular application. > > Anyway, in an attempt to get to the bottom of my > errors [1], I'm trying to run any java/OpenGL > locally on my 11-current laptop. I'm starting > with java, something very simple, e.g.: > http://www.skylit.com/javamethods/faqs/javaindos.html > > $ cat HelloWorld.java > public class HelloWorld > { > public static void main(String[] args) > { > System.out.println("Hello, World!"); > } > } > > I get: > > $ javac HelloWorld.java > $ java HelloWorld.class > Error: Could not find or load main class HelloWorld.class > > This should've worked. > So I wanted to check which java and javac I'm using: > > $ pkg which /usr/local/bin/java > /usr/local/bin/java was not found in the database > $ pkg which /usr/local/bin/javac > /usr/local/bin/javac was not found in the database > $ > > Is there something wrong with my java packages? > I've > openjdk8-8.77.3 java/openjdk8 > > but that seems to store binaries in different folder: > > $ pkg info -xl openjd | grep java |grep bin > /usr/local/openjdk8/bin/java > /usr/local/openjdk8/bin/java-rmi.cgi > /usr/local/openjdk8/bin/javac > /usr/local/openjdk8/bin/javadoc > /usr/local/openjdk8/bin/javah > /usr/local/openjdk8/bin/javap > /usr/local/openjdk8/jre/bin/java > > So I'm not sure what's going on. > > Please advise how to test a working java environment. > > Thanks > > Anton > > [1] http://lists.freebsd.org/pipermail/freebsd-java/2016-May/011537.html > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > From owner-freebsd-java@freebsd.org Mon May 16 13:47:18 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A23F9B3DCC5 for ; Mon, 16 May 2016 13:47:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 37D041E27 for ; Mon, 16 May 2016 13:47:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x233.google.com with SMTP id a17so137125761wme.0 for ; Mon, 16 May 2016 06:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:cc:reply-to:in-reply-to; bh=riR6mkbbGkgkfbXHPo/81QYs1cl3bNjjWp2xqn3s1Ts=; b=NKEt8SQlncCfcwt7KTmlynVt5nINdGT/YxN1nGYYf7ZugJqPMdk49a2e+Up73qpQUP WF4sW0EFfdrGWEI40xPqQg9F/eQERZXa3gTgrXHmhHdyIFJuB5Bx8TueJCVSJ78hTwPE bx/fRvntO9KYy7tpuB9/U8uwJhJxNPsQA311PbFVAYc6d36FbNcprtQ3RT9TxFjDqO7q nLpT2osjVfBdOgDD6AWDe8ZeQ3eoBvrOzEOmqFONZ7VcUc3mT/P9q1rj8RZ1/f0eYsTc FLJXgefb4sOxmNvA+tKZmkdFmHrktC4/3mZXJ3KjTf/YUPrvQrJiv9sQ2F+acVhCiSQZ QrgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=riR6mkbbGkgkfbXHPo/81QYs1cl3bNjjWp2xqn3s1Ts=; b=O4OR6ip2LG5QaL3M8ouYb7iQd5EdaQQmp2QbJzsfhfTam0v6bOOt2csTZE76j2N5F4 4y1+bbroxHGAKSsyQme/nCi2ObmaKSCvP098+iF0QYQq6mBDR4zovlbPXHGhfUcVz8fg 3i4O9ib6BJ0MbnqM5Lmy+JPrOjjp1b+EQ7TNTyytWQOOrbc8tMDY99nsyOKqZnQF/VaL YWDqI8AweEVuwi/VCj4yXiMhilSEcseCZUBqCXBAnoQMyZn0eC6NOWPHfsY6DJBIwMqC Oly4Viu8n8G5fKBOZIJM3VVx6Lu1hpMCjbFdTYrwOO51BIIkE0ybZKOWfi3Dv2AY/GL8 Qiug== X-Gm-Message-State: AOPr4FX7C4EwVoPrfvE5sASPUBtbl1xAwa16rcJ3PMLG3ERAvb1hH2A7HJRiCZ7OOFga5bTq X-Received: by 10.194.64.35 with SMTP id l3mr29005156wjs.180.1463406436645; Mon, 16 May 2016 06:47:16 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id e8sm33922430wjm.23.2016.05.16.06.47.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 May 2016 06:47:16 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u4GDlFSD019302; Mon, 16 May 2016 14:47:15 +0100 (BST) (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u4GDlFTR019301; Mon, 16 May 2016 14:47:15 +0100 (BST) (envelope-from mexas) Date: Mon, 16 May 2016 14:47:15 +0100 (BST) From: Anton Shterenlikht Message-Id: <201605161347.u4GDlFTR019301@mech-as222.men.bris.ac.uk> To: mexas@bris.ac.uk, mizhka@gmail.com Subject: Re: help fix JOGL errors/warnings Cc: freebsd-java@freebsd.org Reply-To: mexas@bris.ac.uk In-Reply-To: X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 13:47:18 -0000 >From mizhka@gmail.com Mon May 16 14:29:22 2016 > >Do you have tried graphics/jogl also? no, not yet. The reason is that the tutorials I'm trying to follow are described as [1] "These tutorials use JOGL 2.0, not the older JOGL 1.x." But I'll see if jogl 1.1.1 makes a difference. Thank you Anton [1] https://sites.google.com/site/justinscsstuff/jogl-tutorials From owner-freebsd-java@freebsd.org Mon May 16 16:31:18 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4B0DB3D136 for ; Mon, 16 May 2016 16:31:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 646FC1741 for ; Mon, 16 May 2016 16:31:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x22f.google.com with SMTP id e201so107701893wme.0 for ; Mon, 16 May 2016 09:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:reply-to; bh=VWee/rJ13BlzAXDelzZ4O+AbzkHzIskiJ2M6kwQFuy0=; b=gOKv4hvXE8A9w/8uEVlkNoTvBn1cKAQAMsQIojuBCpt5D/oZb9La1QMxBMt4B+sou9 ef7yZU7O/JvDUaj1Pv+fj668tQmpjtOeBYwcF5lO5oeXsJlWScIH69nhOrSm3ypLA7hQ oCvpaEecsYUXONx/3NydDt8FEmmtzvABC5oXnjzEeUONP+Aty8iC64UjutAFxTkeVMjv WX/3ZbIF/ZZSIqmRiKaWaeadsoeVVqmsiIy8cQl69qPxdJ7e8NgdMPzn49of5buI87xy FEYQ40RSITgK/YVpXMlAgGvQpzZ1LKJIhP7D6rXbShqK8AGSHvSGZNDIpfEEyqhiGMjT +w0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=VWee/rJ13BlzAXDelzZ4O+AbzkHzIskiJ2M6kwQFuy0=; b=fiIxAk56kaxkzzQ9EPLF1A6ky9tehIvRwwa9C0B6uwmTpxdkOZJTtRdt1yWzYxVT/o UUVo60c44ydf8Zd1/Alcc5PX0ALwXLGsAU/cdnK9TqBvOuoJjQSb96DD2B5ou6DopYzJ Wpvud9A8OhLogZIdcj6ODcMTkpVnIDwOqs/ilshurgV1Wr8luu0//lohdygHUqkKFLV+ RgJUkTBvVI19/E3x8m5XmI6ANvLmcD4ieyRmw4FMPWJ+HHOZVhNRVM2+RlxLPvERSDaa BUDTlcSBcuYtUAmkkPgtRwIXP4xFSYNmJn1Z9j4KLhhh08j7vyO+KNxWEXrHRS/invTg AfMQ== X-Gm-Message-State: AOPr4FUrVV5AmvoB53yNrA2KFY7Ye++4rDoiJLIhJrWLwfYsHifsFaZG6Ul9VSPkwipcG5Uh X-Received: by 10.194.205.105 with SMTP id lf9mr30184426wjc.25.1463416276547; Mon, 16 May 2016 09:31:16 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id kc2sm32579827wjb.5.2016.05.16.09.31.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 May 2016 09:31:16 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u4GGVFgq019851 for ; Mon, 16 May 2016 17:31:15 +0100 (BST) (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u4GGVFc0019850 for freebsd-java@freebsd.org; Mon, 16 May 2016 17:31:15 +0100 (BST) (envelope-from mexas) Date: Mon, 16 May 2016 17:31:15 +0100 (BST) From: Anton Shterenlikht Message-Id: <201605161631.u4GGVFc0019850@mech-as222.men.bris.ac.uk> To: freebsd-java@freebsd.org Subject: java.lang.IllegalArgumentException: Drawable already added to animator Reply-To: mexas@bris.ac.uk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 16:31:18 -0000 I advanced a step further. I can compile this JOGL program: import java.awt.Frame; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.media.opengl.*; import javax.media.opengl.awt.GLCanvas; import com.jogamp.opengl.util.*; public class SimpleScene implements GLEventListener { private double theta = 0; private double s = 0; private double c = 0; public static void main(String[] args) { GLProfile glp = GLProfile.getDefault(); GLCapabilities caps = new GLCapabilities(glp); GLCanvas canvas = new GLCanvas(caps); Frame frame = new Frame("AWT Window Test"); frame.setSize(300, 300); frame.add(canvas); frame.setVisible(true); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); canvas.addGLEventListener(new SimpleScene()); FPSAnimator animator = new FPSAnimator(canvas, 60); animator.add(canvas); animator.start(); } @Override public void display(GLAutoDrawable drawable) { update(); render(drawable); } @Override public void dispose(GLAutoDrawable drawable) { } @Override public void init(GLAutoDrawable drawable) { } @Override public void reshape(GLAutoDrawable drawable, int x, int y, int w, int h) { } private void update() { theta += 0.01; s = Math.sin(theta); c = Math.cos(theta); } private void render(GLAutoDrawable drawable) { GL2 gl = drawable.getGL().getGL2(); gl.glClear(GL.GL_COLOR_BUFFER_BIT); // draw a triangle filling the window gl.glBegin(GL.GL_TRIANGLES); gl.glColor3f(1, 0, 0); gl.glVertex2d(-c, -c); gl.glColor3f(0, 1, 0); gl.glVertex2d(0, c); gl.glColor3f(0, 0, 1); gl.glVertex2d(s, -s); gl.glEnd(); } } with $ javac SimpleScene.java warning: Supported source version 'RELEASE_6' from annotation processor 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source '1.8' 1 warning but when I run it, I get this error: $ java SimpleScene Exception in thread "main" java.lang.IllegalArgumentException: Drawable already added to animator: com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 1, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread false(null)], AWT-GLCanvas[Realized false, jogamp.opengl.x11.glx.X11OnscreenGLXDrawable, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@91161c7, handle 0x2600020, Drawable size 286x269 surface[286x269], AWT[pos 7/24, size 286x269, visible true, displayable true, showing true, AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0xba, fbc 0x81: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0xba], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x8d73fd800, owner true, JAWTToolkitLock[obj 0x604ed9f0, isOwner false, <6a4f787b, 685cb137>[count 0, qsz 0, owner ]]], idx 0], visualID 0xba, fbConfigID 0x81, requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], chosen GLCaps[glx vid 0xba, fbc 0x81: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]]]]]] at com.jogamp.opengl.util.AnimatorBase.add(AnimatorBase.java:201) at SimpleScene.main(SimpleScene.java:33) Anything obvious? Thanks Anton From owner-freebsd-java@freebsd.org Mon May 16 20:21:13 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 501D1B3D677 for ; Mon, 16 May 2016 20:21:13 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B16B916F5 for ; Mon, 16 May 2016 20:21:12 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-lb0-x236.google.com with SMTP id ww9so46028137lbc.2 for ; Mon, 16 May 2016 13:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=fLWcQqjsDgzO+Zr+SZ9ItkOqcUGrc0C46RFpR5qZH90=; b=XrxqZVjnXjZpduVZpiPK6Cav0I0YTS7tL4p/JAzBxlgJ0T5F8jmG+EX0KFxgszLhym mFE966ipT4HYFt6IKVDh2CpkTJJ1wMWL6l2JMReQ91LoFuYyXuNvW+PzCdMuNM1OYl7V REIoQO0wx69Ss98C7cboTgQd2ilLhsTzDnZsCEkzZbts0UMuREFBqCSwvIfMAehNFWSt 6apKA2wvKCu1iECtoSCWYlnPdX+7O+UMRJMi4dZGlNnnefFwuKT7JUcjgH0zX0Qf0xIl LDRhAU8XQma880ASY6OcCDOHOkM5laycd4p2qvcmeq8j89fwVDoxhkyUz/VeA2K024fP 35yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=fLWcQqjsDgzO+Zr+SZ9ItkOqcUGrc0C46RFpR5qZH90=; b=UEwyrfvohhq/9nznyN1OlUxlwsno8bEFQf6qQfyPwXO/9TRkQF4SPALgQu6ikjpEIG ZWz8Cmyrq0rxpPpc84erWCiSus9ldLODoknH1IaTKutH4E1ik2S1Yyx3Umns8UKb0TDJ rr5EXMPd1XA07fv6JL7l7rD09aGrDCt3cmekmXqUYrwN6fMLmeF51QGnj+MxLfBInzMl 2QBs19IHJNPhIyeC2n4r0yLNDIif50wRKoVVSnpoUL2DgB4KjJOrSdFJFMNXzqqLx0fo qcyvEmFrwM9OphJN2w8bI7A2ngB3ZO3tvITNuq6MxBPmLyNTJxRs8sr2xnczlVU9lUG6 p/8Q== X-Gm-Message-State: AOPr4FXQ4s6POjq49nIwnx4rL1H0r9CmlrNtSzE/svfJm+0Godwjq6yGJvY2gnvR+1N3MbLj51B8Rrhf6qHBoA== MIME-Version: 1.0 X-Received: by 10.112.220.6 with SMTP id ps6mr12128597lbc.16.1463430070987; Mon, 16 May 2016 13:21:10 -0700 (PDT) Received: by 10.25.152.83 with HTTP; Mon, 16 May 2016 13:21:10 -0700 (PDT) In-Reply-To: <201605161631.u4GGVFc0019850@mech-as222.men.bris.ac.uk> References: <201605161631.u4GGVFc0019850@mech-as222.men.bris.ac.uk> Date: Mon, 16 May 2016 23:21:10 +0300 Message-ID: Subject: Re: java.lang.IllegalArgumentException: Drawable already added to animator From: Michael Zhilin To: mexas@bris.ac.uk Cc: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 20:21:13 -0000 I suppose commenting line 33 may resolve issue. :) Because animator constructor already passed canvas. Thanks! On Mon, May 16, 2016 at 7:31 PM, Anton Shterenlikht wrote: > I advanced a step further. > > I can compile this JOGL program: > > import java.awt.Frame; > import java.awt.event.WindowAdapter; > import java.awt.event.WindowEvent; > import javax.media.opengl.*; > import javax.media.opengl.awt.GLCanvas; > import com.jogamp.opengl.util.*; > > public class SimpleScene implements GLEventListener { > > private double theta = 0; > private double s = 0; > private double c = 0; > > public static void main(String[] args) { > GLProfile glp = GLProfile.getDefault(); > GLCapabilities caps = new GLCapabilities(glp); > GLCanvas canvas = new GLCanvas(caps); > > Frame frame = new Frame("AWT Window Test"); > frame.setSize(300, 300); > frame.add(canvas); > frame.setVisible(true); > > frame.addWindowListener(new WindowAdapter() { > public void windowClosing(WindowEvent e) { > System.exit(0); > } > }); > > canvas.addGLEventListener(new SimpleScene()); > > FPSAnimator animator = new FPSAnimator(canvas, 60); > animator.add(canvas); > animator.start(); > } > > @Override > public void display(GLAutoDrawable drawable) { > update(); > render(drawable); > } > > @Override > public void dispose(GLAutoDrawable drawable) { > } > > @Override > public void init(GLAutoDrawable drawable) { > } > > @Override > public void reshape(GLAutoDrawable drawable, int x, int y, int w, int > h) { > } > > private void update() { > theta += 0.01; > s = Math.sin(theta); > c = Math.cos(theta); > } > > private void render(GLAutoDrawable drawable) { > GL2 gl = drawable.getGL().getGL2(); > > gl.glClear(GL.GL_COLOR_BUFFER_BIT); > > // draw a triangle filling the window > gl.glBegin(GL.GL_TRIANGLES); > gl.glColor3f(1, 0, 0); > gl.glVertex2d(-c, -c); > gl.glColor3f(0, 1, 0); > gl.glVertex2d(0, c); > gl.glColor3f(0, 0, 1); > gl.glVertex2d(s, -s); > gl.glEnd(); > } > } > > with > > $ javac SimpleScene.java > warning: Supported source version 'RELEASE_6' from annotation processor > 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source > '1.8' > 1 warning > > but when I run it, I get this error: > > $ java SimpleScene > Exception in thread "main" java.lang.IllegalArgumentException: Drawable > already added to animator: com.jogamp.opengl.util.FPSAnimator[started > false, animating false, paused false, drawable 1, totals[dt 0, frames 0, > fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread > false(null)], AWT-GLCanvas[Realized false, > jogamp.opengl.x11.glx.X11OnscreenGLXDrawable, > Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@91161c7, > handle 0x2600020, > Drawable size 286x269 surface[286x269], > AWT[pos 7/24, size 286x269, > visible true, displayable true, showing true, > AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type > .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], > handle 0x0], idx 0], > chosen GLCaps[glx vid 0xba, fbc 0x81: rgba 8/8/8/0, opaque, > accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, > GLProfile[GL2/GL2.hw], on-scr[.]], > requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, > dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], > X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0xba], > encapsulated > X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, > connection :0.0, unitID 0, handle 0x8d73fd800, owner true, > JAWTToolkitLock[obj 0x604ed9f0, isOwner false, <6a4f787b, 685cb137>[count > 0, qsz 0, owner ]]], idx 0], visualID 0xba, fbConfigID 0x81, > requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, > dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], > chosen GLCaps[glx vid 0xba, fbc 0x81: rgba 8/8/8/0, opaque, > accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, > GLProfile[GL2/GL2.hw], on-scr[.]]]]]] > at com.jogamp.opengl.util.AnimatorBase.add(AnimatorBase.java:201) > at SimpleScene.main(SimpleScene.java:33) > > Anything obvious? > > Thanks > > Anton > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > From owner-freebsd-java@freebsd.org Mon May 16 20:25:08 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EBB1B3D8A5 for ; Mon, 16 May 2016 20:25:08 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09EB51C67 for ; Mon, 16 May 2016 20:25:08 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-lb0-x22b.google.com with SMTP id n11so54325151lbh.1 for ; Mon, 16 May 2016 13:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=kCkDpZI3YLIPsy5Nbd4K8N8I0qJRhN5wqiaA2U711H4=; b=VWSixiajSN8K2ZNJwBirKSn5/SgT9UIetL1bKUTlYLQjC39vzNrXRRts7cBqxU5Jun M3dEE0+SaLxdQUnPAi2O6qbdwfMr6w02M5sojTQ7eq96iFflvSnAQe4CnjWdwBN0efjL iAihSUoIrXC2sx80J/2223dx1LQIFdXRQSc0bpiUyYys8IAjnmJnAqNahynBkEJ9u6Rl hMS61fKvubURao5YC5u4oWm1EC/k+CzPIx3u8f9mFodpEWthzvfMnyvYVHFp0tE0hYrN HlhdcYiiaU3eOsCXrK7HvQMGfEmQt40CmBqJYLSFDuot3B/X/ofBd6xrdtSlLsdRcvne L+uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=kCkDpZI3YLIPsy5Nbd4K8N8I0qJRhN5wqiaA2U711H4=; b=dl+A5t/TE4r1G8JzgKohkQQ+XZ8CpuOqqWrMUo2AkwFYUXm7tMB6d38W9AVi6D+gF1 LFGClMOPO8SKwXi6fBjF1UOksO152+JuFmMY3huYKRPpaXVh1cuWzf3AewfIGoBIXoR0 i2VYSoAVKbpPYCIEMMjhSTuhXwFBewvz5qXLAKN37DmfmMDqGnmNk6ltlurP/3pnixmj X0J5Er1W8taAGJxPrPfRIR1uUSKhimlnOG46SNqiUutztl8Yt+okwaHa8zLUFlSI+UJ7 UbeTXrE92Im3JBUeupt7N2ZSzNiKExBtdKhda12wpCvEZK9STEZ9oHaPrdPclX9dwsaS ff/A== X-Gm-Message-State: AOPr4FXJKVz705ztYNFCbB4+XsudVKSL7KyRrlptjWGmxq4NFMp6bRsuGy4wvnHcaLTjv+Dy/LKZ+jKBZBNJ0g== MIME-Version: 1.0 X-Received: by 10.112.78.1 with SMTP id x1mr12148959lbw.64.1463430306347; Mon, 16 May 2016 13:25:06 -0700 (PDT) Received: by 10.25.152.83 with HTTP; Mon, 16 May 2016 13:25:06 -0700 (PDT) Date: Mon, 16 May 2016 23:25:06 +0300 Message-ID: Subject: IRC channel From: Michael Zhilin To: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 20:25:08 -0000 Hi, Is there any IRC channel for Java questions on FreeBSD? Thanks! From owner-freebsd-java@freebsd.org Mon May 16 21:08:43 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA79CB3E87C for ; Mon, 16 May 2016 21:08:43 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A97221A47 for ; Mon, 16 May 2016 21:08:43 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x22c.google.com with SMTP id g17so155772335wme.1 for ; Mon, 16 May 2016 14:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:cc:reply-to:in-reply-to; bh=vOkluNhzGxTxAjAx4Ty7oM3FIk/iVKRQhLS4h9+IT4Q=; b=zZs7Hcnql5tGQJyb1CnJ2cBpLNiWBlXX0P2LTtwWO+PmK1CvYU/XLJiUiIxF64HyiK EulYkforfQf9OSfNo0cfrJB3qkJg0KYRV+IfYKOCzESNDffRhNfmGKoQQ1wq2taeZgEY 5ItAyEqN6LQxSAgj1fi/MZIO0S3ubEWZTxJhjChyQ4uRf8uV7WKcjnTba8pZY+BwsOry vbzKsZ080cb6D6FOFKmi0djiRxIgJNukuxnHB6Fg3wxA3+ygHLS/zYLaHP/jOXukUdo7 OIPVnpAbt/3bep+9Uo1+1zEnShpnArfFQKnbx35+f3Q9c2wmfLwlpMzIxQFy057vmlCC TFiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=vOkluNhzGxTxAjAx4Ty7oM3FIk/iVKRQhLS4h9+IT4Q=; b=YGXVntlYcMcUtJ25BQjJzkSS160XAX9RsQMX6pUAzLhj52luWUobT2861s0xNI0goJ kXL1mWm7qrlcB2cylvj3PGJQMHe0nLDlIW733R2r6n95QJHtV26mbh+Xqn5OU/E/yKXt WwJn7UR/Jc991S3y7Nu5ypZyVVUCVQzXd0viDKkLDFW6BFg1XRaxSkYr9OYia9GnQ9Ah uxmQiMqGvzWY69swdHGuCIkPM5xJRS8DXl9K6+lCNQuSpQYelBlJvFGmggZnloGSTxRW esa52m4jP7+h0SPRZuQg4CcNqy2sSRmkO05Wf22PgkhbiY/HiOsKpthMFrH24g4Jbd2W BAZA== X-Gm-Message-State: AOPr4FWCcyAt1zMtYjKo7K/VDdFI/P1aw731pb8anWMbAe7cpqcPHZNJ7slmyjaVLgnkOb8f X-Received: by 10.194.105.230 with SMTP id gp6mr30414424wjb.90.1463432922023; Mon, 16 May 2016 14:08:42 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id m140sm20262479wma.24.2016.05.16.14.08.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 May 2016 14:08:41 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u4GL8elS020960; Mon, 16 May 2016 22:08:40 +0100 (BST) (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u4GL8eCi020959; Mon, 16 May 2016 22:08:40 +0100 (BST) (envelope-from mexas) Date: Mon, 16 May 2016 22:08:40 +0100 (BST) From: Anton Shterenlikht Message-Id: <201605162108.u4GL8eCi020959@mech-as222.men.bris.ac.uk> To: mexas@bris.ac.uk, mizhka@gmail.com Subject: Re: java.lang.IllegalArgumentException: Drawable already added to animator Cc: freebsd-java@freebsd.org Reply-To: mexas@bris.ac.uk In-Reply-To: X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 21:08:44 -0000 >From mizhka@gmail.com Mon May 16 21:31:44 2016 > >I suppose commenting line 33 may resolve issue. :) Because animator >constructor already passed canvas. Thank you! Yes, you are right, commenting this line made the animation run smoothly. I guess I'll have to look for more complex JOGL examples. But for now I have to conclude that java/opengl works fine locally. Perhaps my program is some version mismatch between remote and local java or opengl installations. Many thanks for all replies! Anton From owner-freebsd-java@freebsd.org Tue May 17 06:48:01 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8036CB3E412 for ; Tue, 17 May 2016 06:48:01 +0000 (UTC) (envelope-from kakawkaization@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B63C14C7 for ; Tue, 17 May 2016 06:48:01 +0000 (UTC) (envelope-from kakawkaization@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id g17so12953185wme.1 for ; Mon, 16 May 2016 23:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=/PsQmKIwsGMSr+20vfR9eCZeuLn+WiME3Kgm7j/3YG8=; b=v3q5ZilWUwTAViiz1sDaZlSo0694ZGNFp+BypIxmJbTgv4BBQogN7bI2t9CX86u4AE Z6epUqDspn7UNP1aq7rYtTEw/QED4CQ5Z8svCjtV8P1PoHUe++zyj4Dp0Z4NA4EX1308 nYF7/wYPd53Gfywgn7v9lsJXO0imZYDPXYa1zKlJpP+mvT1N9UKBH85Z41pE2ubDKDF4 8hr9EQF9uY2kOjCNA8TF4MWTZ2V21C4JLbcJab1RVK+BaoGbX3TsnF11T00w5yBf5vFC P6g+2cFf8pxIP/aGiUTOKHvLl/OI9l5rLRPoP+ud/qJDOrL16R9o8MwtNZMg8Vdas8+O +jUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=/PsQmKIwsGMSr+20vfR9eCZeuLn+WiME3Kgm7j/3YG8=; b=fF9QJIcbC0g60jxOczm8H/RwNoMt8rfVfEPcb91pI/mhjfMiM12pLofRSRmB79d1Ep whUS1PQTyhn3NmOfX3+SoftZkmUjNYhdxhRXgtfVZ+oxRtayRQ6iGFQWluoMlw1Drj14 p4++/GizVXYqWSu2D2knuoh/8XwV6OspNXPRvN39s2OuFdLUF+eJQVomLojt1ZdWDqgW 8x5iLN9tL8N1f6nQrw3Na5DgusqusiUGtN/7fSJ+VwK/nyDpxHnG2F12wlGc+Pvzqwyk sZ5oy5AFS6sS5IEU4qaeQSle8FzkpvMhoxN59n2QgdExrIzEho/A4SPPElWdfB75hnAZ LQcg== X-Gm-Message-State: AOPr4FWXreYBtdr3dfYQViLv9NbbOLMVa5stySxLPW6Zp8uaPP6M+YQN1sB/zgD0FiMNAM/B/LXdN6eo/bEd7Q== MIME-Version: 1.0 X-Received: by 10.28.62.15 with SMTP id l15mr21870185wma.30.1463467679669; Mon, 16 May 2016 23:47:59 -0700 (PDT) Received: by 10.28.158.79 with HTTP; Mon, 16 May 2016 23:47:59 -0700 (PDT) Received: by 10.28.158.79 with HTTP; Mon, 16 May 2016 23:47:59 -0700 (PDT) Date: Tue, 17 May 2016 09:47:59 +0300 Message-ID: Subject: ia32-libs in FreeBSD From: kakawkaization kaka To: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 06:48:01 -0000 Hello, i'm trying to run installer, but when i run it i see this message: Code: ./TFO-4.0.1480.201-linux-en-retail-9TF-trial30.sh Unpacking JRE ... Preparing JRE ... ELF binary type "0" not known. ./ TFO-4.0.1480.201-linux-en-retail-9TF-trial30.sh: bin/unpack200: Exec format error Error unpacking jar files. The architecture or bitness (32/64) of the bundled JVM might not match your machine. in centos or ubuntu to solve this problem i install ia32-libc or glibc6. What package need to install in FreeBSD to solve this problem? Tnanks From owner-freebsd-java@freebsd.org Tue May 17 09:35:12 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA02EB3E258 for ; Tue, 17 May 2016 09:35:12 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F92D1308 for ; Tue, 17 May 2016 09:35:12 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-vk0-x232.google.com with SMTP id s184so12480373vkb.3 for ; Tue, 17 May 2016 02:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=kvD5pMWRgtMUtre0UiOUFQOZxmMAzlPK07NllJjBrj0=; b=T8IXCc2sFycSuX1+eIbS8759k5Pw/nOrBejIFRXpNQs55zGw9BE2LHSqJ715TBESNm FmjRK00Xn5l3jxVYClspUEXgfBd/Q/xZ58ewPHtvu7OEQarfeXbUUZsW8BegR7dI38/g EUBaP7DPRsej8h3R6i1o3bK38WYH8hUhxAr2CGqBxvLtdzm/WJqST79Nyzk2e8vBTWMe Op9EAGMYE1PN92fscwlxu5QLh9ClTnBTTY1B3bu1MpAEJOqXY3jDjYDcTZ1HTmB+QZRL 8xnmN+sZCAyhjNT+O++nStk4uAI4RYEc3xF5iuDJRYLM8MCzP33rMkXL1yIi+9Ey9ynw snnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=kvD5pMWRgtMUtre0UiOUFQOZxmMAzlPK07NllJjBrj0=; b=NcXb/5OtL9/L6PxchBu0DS4B/B7F905aCmYr3HA+kytffvyNB/C+MysyP1P6xH2ZZ2 ws1IPeamGwBpY0oyDXIgcGKdT/xbB3aOQ9gWpwAGdUj/RP8YkjKBYrFGkhwaBAlISXc9 ruFkQfoW19AFluBlBWsux73pBE2Mw94ersBg1g2gjXjUlBDSWem2krgJ0hrA2eAbxEpu wODybZ4voFhgnxDt1PvUQ7ODJwI55FpkqiO5abAuQWTkhXAJWooFyEBTNXVRvkmwACch g58h7B0Qnt/qM1IM2qhnY0ZIFoXrsVMvVJkqKW/6rxmMSj/sR5hLWqXX/6cLJptMyBF+ NROA== X-Gm-Message-State: AOPr4FXmPgCUvKeS3oRaZs2SOY4YCl1kM+EYlue9B22ZKS6QvWqmQD1F88WRKkSg3R40wNMW7J77tobW5gFs/0he MIME-Version: 1.0 X-Received: by 10.176.64.100 with SMTP id h91mr97616uad.56.1463477711562; Tue, 17 May 2016 02:35:11 -0700 (PDT) Received: by 10.176.69.208 with HTTP; Tue, 17 May 2016 02:35:11 -0700 (PDT) Date: Tue, 17 May 2016 10:35:11 +0100 Message-ID: Subject: WORKAROUND: Re: help fix javax.media.opengl.GLException: Error making context current From: Anton Shterenlikht To: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 09:35:13 -0000 On 15/05/2016, Anton Shterenlikht wrote: > >From ronald-lists@klop.ws Sun May 15 13:16:13 2016 >> >>A little googling on 'javax.media.opengl.GLException: Error making context >> >>current' gives a lot of pages about the same error people are having >>(mainly on Linux). >>It looks like it depends a lot on versions of >>OS/drivers/libraries/graphics card, etc. >>And also about how robust programs are programmed related to small >>differences in threading+opengl of the OS/java implementation. >> >>So it is quite a hard question to answer AFAIK except when somebody has >>seen exact your problem in the past and solved it. > > I thought so... > Looks like I'm stuffed. Commenting out export LIBGL_ALWAYS_INDIRECT=1 make the program work over ssh. This seems to be a common problem: http://unix.stackexchange.com/questions/1437/what-does-libgl-always-indirect-1-actually-do though nothing to do with java, pure OpenGL. I apologise for wasting people's time in this list. Many thanks again for all help and suggestions. Anton From owner-freebsd-java@freebsd.org Wed May 18 08:37:58 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABE17B3F5AD for ; Wed, 18 May 2016 08:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9727C1497 for ; Wed, 18 May 2016 08:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 96746B3F5AC; Wed, 18 May 2016 08:37:58 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96259B3F5AB for ; Wed, 18 May 2016 08:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7AF791493 for ; Wed, 18 May 2016 08:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4I8bw0q085844 for ; Wed, 18 May 2016 08:37:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on OpenJDK8 Date: Wed, 18 May 2016 08:37:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 08:37:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 Bug ID: 209599 Summary: SIGSEGV in regression test suite on OpenJDK8 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: iamasmith.home@gmail.com Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org Whilst investigating a stability problem that occurs periodically if we att= empt to utilise OpenJDK 8 with Tomcat (resulting in various SIGSEGV and SIGBUS errors), I decided to build everything afresh from current sources and perf= orm run the test suite. System information on JDK build test machine. 10.3-RELEASE FreeBSD root@testbuild1:~ # freebsd-version 10.3-RELEASE portsnap sources fetched and installed on 16th May root@testbuild1:~ # ls -l /var/db/portsnap/ total 4504 -rw-r--r-- 1 root wheel 2255587 May 16 09:59 INDEX drwxr-xr-x 2 root wheel 2237952 May 16 09:59 files -rw-r--r-- 1 root wheel 451 May 16 09:56 pub.ssl -rw-r--r-- 1 root wheel 272 May 16 09:56 serverlist -rw-r--r-- 1 root wheel 272 May 16 09:56 serverlist_full -rw-r--r-- 1 root wheel 40 May 16 09:56 serverlist_tried -rw-r--r-- 1 root wheel 681 May 16 09:59 tINDEX -rw-r--r-- 1 root wheel 85 May 16 09:59 tag root@testbuild1:~ #=20 Build process cycle run as follows.. # Selected all build configurations up front for the whole depdency set usi= ng postmaster # Every option with the exception of turning on TEST for OpenJDK8 was set to default. portmaster -n java/openjdk8 # Build actual port so that the build area was not cleaned (as is the case = when using postmaster). cd /usr/ports/java/openjdk8 make clean install 2 of the tests fail when running the regression tests and error logs can be collected as follows.. /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/testoutput/jdk_core/output.txt and to locate the stashed error reports in the test hierarchy.. root@testbuild1:~ # cd /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/testoutput/jdk_core root@testbuild1:/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-norm= al-server-release/testoutput/jdk_core # find . -name 'hs_*' ./JTwork/java/nio/MappedByteBuffer/Truncate/hs_err_pid57787.log ./JTwork/sun/misc/CopyMemory/hs_err_pid57712.log The logs always show SIGSEGV errors from the same locations with the failure signal being triggered during calles to sun.misc.Unsafe methods.. Stack: [0x00007fffde0e0000,0x00007fffde1e0000], sp=3D0x00007fffde1df080, = free space=3D1020k Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, C=3D= native code) V [libjvm.so+0x8d3ced] JVM_handle_bsd_signal+0x120c2d j sun.misc.Unsafe.putByte(Ljava/lang/Object;JB)V+0 j CopyMemory.set(Lsun/misc/Unsafe;JIII)V+23 j CopyMemory.testSetRawMemory(Lsun/misc/Unsafe;)V+32 j CopyMemory.main([Ljava/lang/String;)V+9 Stack: [0x00007fffdf1f1000,0x00007fffdf2f1000], sp=3D0x00007fffdf2f0860, = free space=3D1022k Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, C=3D= native code) V [libjvm.so+0x8d8d0a] JVM_handle_bsd_signal+0x125c4a j sun.misc.Unsafe.getByte(J)B+0 j java.nio.MappedByteBuffer.load()Ljava/nio/MappedByteBuffer;+85 j Truncate$2.call()Ljava/lang/Void;+4 Cores in this initial run are pretty useless and I am now rebuilding with FASTDEBUG in the hope of getting enough symbolic information for them to be particularly useful, however, one observation is that the MappedByteBuffer = core always results in the stack being unavailable... root@testbuild1:/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-norm= al-server-release/testoutput/jdk_core # gdb -c ./JTwork/java/nio/MappedByteBuffer/Truncate/java.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Core was generated by `java'. Program terminated with signal 6, Aborted. #0 0x0000000800f2635a in ?? () (gdb) info stack #0 0x0000000800f2635a in ?? () Cannot access memory at address 0x7fffdf2efc48 (gdb) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed May 18 08:37:58 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58B49B3F5A7 for ; Wed, 18 May 2016 08:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4423E148F for ; Wed, 18 May 2016 08:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3FE4AB3F5A6; Wed, 18 May 2016 08:37:58 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C2C5B3F5A5 for ; Wed, 18 May 2016 08:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D4B9148D for ; Wed, 18 May 2016 08:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4I8bw0m085844 for ; Wed, 18 May 2016 08:37:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 209599] SIGSEGV in regression test suite on OpenJDK8 Date: Wed, 18 May 2016 08:37:58 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 08:37:58 -0000 Andrew Smith has reassigned Bugzilla Automation 's request for maintainer-feedback to java@FreeBSD.or= g: Bug 209599: SIGSEGV in regression test suite on OpenJDK8 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Description --- Whilst investigating a stability problem that occurs periodically if we att= empt to utilise OpenJDK 8 with Tomcat (resulting in various SIGSEGV and SIGBUS errors), I decided to build everything afresh from current sources and perf= orm run the test suite. System information on JDK build test machine. 10.3-RELEASE FreeBSD root@testbuild1:~ # freebsd-version 10.3-RELEASE portsnap sources fetched and installed on 16th May root@testbuild1:~ # ls -l /var/db/portsnap/ total 4504 -rw-r--r-- 1 root wheel 2255587 May 16 09:59 INDEX drwxr-xr-x 2 root wheel 2237952 May 16 09:59 files -rw-r--r-- 1 root wheel 451 May 16 09:56 pub.ssl -rw-r--r-- 1 root wheel 272 May 16 09:56 serverlist -rw-r--r-- 1 root wheel 272 May 16 09:56 serverlist_full -rw-r--r-- 1 root wheel 40 May 16 09:56 serverlist_tried -rw-r--r-- 1 root wheel 681 May 16 09:59 tINDEX -rw-r--r-- 1 root wheel 85 May 16 09:59 tag root@testbuild1:~ #=20 Build process cycle run as follows.. # Selected all build configurations up front for the whole depdency set usi= ng postmaster # Every option with the exception of turning on TEST for OpenJDK8 was set to default. portmaster -n java/openjdk8 # Build actual port so that the build area was not cleaned (as is the case = when using postmaster). cd /usr/ports/java/openjdk8 make clean install 2 of the tests fail when running the regression tests and error logs can be collected as follows.. /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/te stoutput/jdk_core/output.txt and to locate the stashed error reports in the test hierarchy.. root@testbuild1:~ # cd /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/te stoutput/jdk_core root@testbuild1:/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-norm= al-s erver-release/testoutput/jdk_core # find . -name 'hs_*' ./JTwork/java/nio/MappedByteBuffer/Truncate/hs_err_pid57787.log ./JTwork/sun/misc/CopyMemory/hs_err_pid57712.log The logs always show SIGSEGV errors from the same locations with the failure signal being triggered during calles to sun.misc.Unsafe methods.. Stack: [0x00007fffde0e0000,0x00007fffde1e0000], sp=3D0x00007fffde1df080, = free space=3D1020k Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, C=3D= native code) V [libjvm.so+0x8d3ced] JVM_handle_bsd_signal+0x120c2d j sun.misc.Unsafe.putByte(Ljava/lang/Object;JB)V+0 j CopyMemory.set(Lsun/misc/Unsafe;JIII)V+23 j CopyMemory.testSetRawMemory(Lsun/misc/Unsafe;)V+32 j CopyMemory.main([Ljava/lang/String;)V+9 Stack: [0x00007fffdf1f1000,0x00007fffdf2f1000], sp=3D0x00007fffdf2f0860, = free space=3D1022k Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, C=3D= native code) V [libjvm.so+0x8d8d0a] JVM_handle_bsd_signal+0x125c4a j sun.misc.Unsafe.getByte(J)B+0 j java.nio.MappedByteBuffer.load()Ljava/nio/MappedByteBuffer;+85 j Truncate$2.call()Ljava/lang/Void;+4 Cores in this initial run are pretty useless and I am now rebuilding with FASTDEBUG in the hope of getting enough symbolic information for them to be particularly useful, however, one observation is that the MappedByteBuffer = core always results in the stack being unavailable... root@testbuild1:/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-norm= al-s erver-release/testoutput/jdk_core # gdb -c ./JTwork/java/nio/MappedByteBuffer/Truncate/java.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Core was generated by `java'. Program terminated with signal 6, Aborted. #0 0x0000000800f2635a in ?? () (gdb) info stack #0 0x0000000800f2635a in ?? () Cannot access memory at address 0x7fffdf2efc48 (gdb) From owner-freebsd-java@freebsd.org Wed May 18 08:42:13 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1E64B3F67E for ; Wed, 18 May 2016 08:42:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id DC9C3188C for ; Wed, 18 May 2016 08:42:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DBB62B3F67D; Wed, 18 May 2016 08:42:13 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D903EB3F67C for ; Wed, 18 May 2016 08:42:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C93C1188B for ; Wed, 18 May 2016 08:42:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4I8gDvW001349 for ; Wed, 18 May 2016 08:42:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on OpenJDK8 Date: Wed, 18 May 2016 08:42:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 08:42:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 Andrew Smith changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iamasmith.home@gmail.com --- Comment #1 from Andrew Smith --- Sections from output.txt (which is too large to post).. .... -------------------------------------------------- TEST: java/nio/MappedByteBuffer/Force.java build: 0.174 seconds compile: 0.174 seconds main: 0.891 seconds TEST RESULT: Passed. Execution successful -------------------------------------------------- TEST: java/nio/MappedByteBuffer/Truncate.java JDK under test: (/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-relea= se/images/j2sdk-image) openjdk version "1.8.0_77" OpenJDK Runtime Environment (build 1.8.0_77-b03) OpenJDK 64-Bit Server VM (build 25.77-b03, mixed mode) ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 0.171 seconds messages: command: build Truncate reason: Named class compiled on demand elapsed time (seconds): 0.171 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 0.17 seconds messages: command: compile -XDignore.symbol.file=3Dtrue /usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/MappedByteBuffer/Tr= uncate.java reason: .class file out of date or does not exist elapsed time (seconds): 0.17 rerun: HOME=3D/usr/ports/java/openjdk8/work \ LANG=3DC \ LC_ALL=3DC \ PATH=3D/bin:/usr/bin \ =20=20=20 /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/images/j2sdk-image/bin/javac \ -J-ea \ -J-esa \ -J-Xmx512m \ -J-Dtest.vm.opts=3D'-ea -esa -Xmx512m' \ =20=20=20=20=20=20=20 -J-Dtest.class.path.prefix=3D/usr/ports/java/openjdk8/work/openjdk/build/bs= d-x86_64-normal-server-release/testoutput/jdk_core/JTwork/classes/0/java/ni= o/MappedByteBuffer:/usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/= MappedByteBuffer \ =20=20=20=20=20=20=20 -J-Dtest.jdk=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-norma= l-server-release/images/j2sdk-image \ -J-Dtest.timeout.factor=3D4.0 \ =20=20=20=20=20=20=20 -J-Dtest.src.path=3D/usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio= /MappedByteBuffer \ -J-Dtest.compiler.opts=3D \ =20=20=20=20=20=20=20 -J-Dcompile.jdk=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-no= rmal-server-release/images/j2sdk-image \ =20=20=20=20=20=20=20 -J-Dtest.classes=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-n= ormal-server-release/testoutput/jdk_core/JTwork/classes/0/java/nio/MappedBy= teBuffer \ =20=20=20=20=20=20=20 -J-Dtest.class.path=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_6= 4-normal-server-release/testoutput/jdk_core/JTwork/classes/0/java/nio/Mappe= dByteBuffer \ -J-Dtest.java.opts=3D \ =20=20=20=20=20=20=20 -J-Dtest.src=3D/usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/Mapp= edByteBuffer \ -J-Dtest.tool.vm.opts=3D'-J-ea -J-esa -J-Xmx512m' \ -d /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/testoutput/jdk_core/JTwork/classes/0/java/nio/MappedByteBuffer -classpath /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/testoutput/jdk_core/JTwork/classes/0/java/nio/MappedByteBuffer:/usr/ports= /java/openjdk8/work/openjdk/jdk/test/java/nio/MappedByteBuffer:/usr/ports/j= ava/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/images/j2s= dk-image/lib/tools.jar -sourcepath /usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/MappedByteBuffer -XDignore.symbol.file=3Dtrue /usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/MappedByteBuffer/Tr= uncate.java ACTION: main -- Failed. Unexpected exit from test [exit code: 134] REASON: User specified action: run main/othervm Truncate TIME: 0.572 seconds messages: command: main Truncate reason: User specified action: run main/othervm Truncate elapsed time (seconds): 0.572 STDOUT: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=3D0x00000008024d8d0a, pid=3D57787, tid=3D100433 # # JRE version: OpenJDK Runtime Environment (8.0_77-b03) (build 1.8.0_77-b03) # Java VM: OpenJDK 64-Bit Server VM (25.77-b03 mixed mode bsd-amd64 compres= sed oops) # Problematic frame: # V [libjvm.so+0x8d8d0a] JVM_handle_bsd_signal+0x125c4a # # Core dump written. Default location: /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/testoutput/jdk_core/JTwork/scratch/0/java.core # # An error report file with more information is saved as: # /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/testoutput/jdk_core/JTwork/scratch/0/hs_err_pid57787.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # STDERR: rerun: HOME=3D/usr/ports/java/openjdk8/work \ LANG=3DC \ LC_ALL=3DC \ PATH=3D/bin:/usr/bin \ CLASSPATH=3D/usr/ports/java/openjdk8/work/jtreg/lib/javatest.jar:/usr/ports= /java/openjdk8/work/jtreg/lib/jtreg.jar:/usr/ports/java/openjdk8/work/openj= dk/build/bsd-x86_64-normal-server-release/testoutput/jdk_core/JTwork/classe= s/0/java/nio/MappedByteBuffer:/usr/ports/java/openjdk8/work/openjdk/jdk/tes= t/java/nio/MappedByteBuffer:/usr/ports/java/openjdk8/work/openjdk/build/bsd= -x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar \ =20=20=20 /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/images/j2sdk-image/bin/java \ -Dtest.vm.opts=3D'-ea -esa -Xmx512m' \ =20=20=20=20=20=20=20 -Dtest.class.path.prefix=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-= x86_64-normal-server-release/testoutput/jdk_core/JTwork/classes/0/java/nio/= MappedByteBuffer:/usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/Ma= ppedByteBuffer \ =20=20=20=20=20=20=20 -Dtest.jdk=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-= server-release/images/j2sdk-image \ -Dtest.timeout.factor=3D4.0 \ =20=20=20=20=20=20=20 -Dtest.src.path=3D/usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/M= appedByteBuffer \ -Dtest.compiler.opts=3D \ =20=20=20=20=20=20=20 -Dcompile.jdk=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-norm= al-server-release/images/j2sdk-image \ =20=20=20=20=20=20=20 -Dtest.classes=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-nor= mal-server-release/testoutput/jdk_core/JTwork/classes/0/java/nio/MappedByte= Buffer \ =20=20=20=20=20=20=20 -Dtest.class.path=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-= normal-server-release/testoutput/jdk_core/JTwork/classes/0/java/nio/MappedB= yteBuffer \ -Dtest.java.opts=3D \ =20=20=20=20=20=20=20 -Dtest.src=3D/usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/Mapped= ByteBuffer \ -Dtest.tool.vm.opts=3D'-J-ea -J-esa -J-Xmx512m' \ -ea -esa -Xmx512m \ com.sun.javatest.regtest.MainWrapper /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/testoutput/jdk_core/JTwork/classes/0/java/nio/MappedByteBuffer/Truncate.j= ta TEST RESULT: Failed. Unexpected exit from test [exit code: 134] -------------------------------------------------- TEST: java/nio/MappedByteBuffer/ZeroMap.java build: 0.149 seconds compile: 0.149 seconds main: 0.977 seconds TEST RESULT: Passed. Execution successful -------------------------------------------------- ..... .... -------------------------------------------------- TEST: sun/misc/Version/Version.java compile: 0.16 seconds build: 0.001 seconds main: 0.22 seconds TEST RESULT: Passed. Execution successful -------------------------------------------------- Agent[6].stdout: # Agent[6].stdout: # A fatal error has been detected by the Java Runtime Environment: Agent[6].stdout: # Agent[6].stdout: # SIGSEGV (0xb) at pc=3D0x00000008024d3ced, pid=3D57712, tid=3D100802 Agent[6].stdout: # Agent[6].stdout: # JRE version: OpenJDK Runtime Environment (8.0_77-b03) (b= uild 1.8.0_77-b03) Agent[6].stdout: # Java VM: OpenJDK 64-Bit Server VM (25.77-b03 mixed mode bsd-amd64 compressed oops) Agent[6].stdout: # Problematic frame: Agent[6].stdout: # V [libjvm.so+0x8d3ced] JVM_handle_bsd_signal+0x120c2d Agent[6].stdout: # Agent[6].stdout: # Core dump written. Default location: /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/testoutput/jdk_core/JTwork/scratch/0/java.core Agent[6].stdout: # Agent[6].stdout: # An error report file with more information is saved as: Agent[6].stdout: # /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-releas= e/testoutput/jdk_core/JTwork/scratch/0/hs_err_pid57712.log Agent[6].stdout: # Agent[6].stdout: # If you would like to submit a bug report, please visit: Agent[6].stdout: # http://bugreport.java.com/bugreport/crash.jsp Agent[6].stdout: # TEST: jdk/lambda/FDTest.java build: 0.004 seconds testng: 75.952 seconds TEST RESULT: Passed. Execution successful -------------------------------------------------- .... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed May 18 08:43:04 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94234B3F7A3 for ; Wed, 18 May 2016 08:43:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7F75D1941 for ; Wed, 18 May 2016 08:43:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7ED32B3F7A2; Wed, 18 May 2016 08:43:04 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E7CAB3F7A1 for ; Wed, 18 May 2016 08:43:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F37F1940 for ; Wed, 18 May 2016 08:43:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4I8h4UX002765 for ; Wed, 18 May 2016 08:43:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on OpenJDK8 Date: Wed, 18 May 2016 08:43:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 08:43:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #2 from Andrew Smith --- Created attachment 170425 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170425&action= =3Dedit hs_err_pid57712.log --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed May 18 08:43:29 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66AFDB3F7DA for ; Wed, 18 May 2016 08:43:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 51FC81978 for ; Wed, 18 May 2016 08:43:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 515F5B3F7D9; Wed, 18 May 2016 08:43:29 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 510F3B3F7D8 for ; Wed, 18 May 2016 08:43:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 41B921977 for ; Wed, 18 May 2016 08:43:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4I8hTs9003367 for ; Wed, 18 May 2016 08:43:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on OpenJDK8 Date: Wed, 18 May 2016 08:43:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 08:43:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #3 from Andrew Smith --- Created attachment 170426 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170426&action= =3Dedit hs_err_pid57787.log --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed May 18 08:51:56 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 595C6B3FB79 for ; Wed, 18 May 2016 08:51:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 447111D67 for ; Wed, 18 May 2016 08:51:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 43D06B3FB78; Wed, 18 May 2016 08:51:56 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4372BB3FB77 for ; Wed, 18 May 2016 08:51:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 344851D66 for ; Wed, 18 May 2016 08:51:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4I8puxI021243 for ; Wed, 18 May 2016 08:51:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on OpenJDK8 Date: Wed, 18 May 2016 08:51:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 08:51:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #4 from Andrew Smith --- Noting the sun.misc.Unsafe class implementation is through the various java.lang.reflect.* classes which in turn interface directly with Hotspot internal methods so although the provided stack trace reaches this far the likely cause when resolved is within Hotspot code. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed May 18 09:12:56 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56CB9B3D486 for ; Wed, 18 May 2016 09:12:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 41B25168B for ; Wed, 18 May 2016 09:12:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 410D0B3D484; Wed, 18 May 2016 09:12:56 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40B1DB3D483 for ; Wed, 18 May 2016 09:12:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3154B168A for ; Wed, 18 May 2016 09:12:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4I9CuCx053712 for ; Wed, 18 May 2016 09:12:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Date: Wed, 18 May 2016 09:12:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 09:12:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 Andrew Smith changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|SIGSEGV in regression test |SIGSEGV in regression test |suite on OpenJDK8 |suite on java/openjdk8 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed May 18 09:30:48 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFD14B3D7ED for ; Wed, 18 May 2016 09:30:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id BB1491CCE for ; Wed, 18 May 2016 09:30:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BA2FEB3D7EC; Wed, 18 May 2016 09:30:48 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9D8AB3D7EA for ; Wed, 18 May 2016 09:30:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AA6C81CCD for ; Wed, 18 May 2016 09:30:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4I9UmlW007221 for ; Wed, 18 May 2016 09:30:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 204977] [PATCH] java/openjdk8: Use late in pkg-message's fstab entries Date: Wed, 18 May 2016 09:30:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 09:30:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204977 Andrew Smith changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iamasmith.home@gmail.com --- Comment #2 from Andrew Smith --- (In reply to Jung-uk Kim from comment #1) I'm not sure if you missed the significance of the 'late' flag and the very good response to the post on the forum. It sounds like a simple update to the mount option suggestions, either this= or a note about the particular issue experienced by the op on the thread could save people a lot of fishing around for an answer. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed May 18 12:22:38 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10EE7B3FBF0 for ; Wed, 18 May 2016 12:22:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id F05C01777 for ; Wed, 18 May 2016 12:22:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EF65CB3FBEF; Wed, 18 May 2016 12:22:37 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF049B3FBEE for ; Wed, 18 May 2016 12:22:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF74B1776 for ; Wed, 18 May 2016 12:22:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4ICMbm4081441 for ; Wed, 18 May 2016 12:22:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Date: Wed, 18 May 2016 12:22:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 12:22:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #5 from Andrew Smith --- Confirmed to happen on uniprocessor systems as well as multiprocessor. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed May 18 12:47:19 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5536B41156 for ; Wed, 18 May 2016 12:47:19 +0000 (UTC) (envelope-from bdysonsmith@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8625711C1 for ; Wed, 18 May 2016 12:47:19 +0000 (UTC) (envelope-from bdysonsmith@gmail.com) Received: by mail-ig0-x22c.google.com with SMTP id qe5so89245029igc.1 for ; Wed, 18 May 2016 05:47:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=guwMjGpptBbwno49Awk9BDc6Ua4EnIJtHScAjSwFcfs=; b=a2WbioeVxZulVY4sPjdHp97XfWA+ezdwwxzCxjLf9Txey+ZtDIc/Mhz3PGCDe/wWY5 sy0o24VbHI7KwIPoKPvmPIcebDtiVyR6v3Nf4hSx+g/eVxa7mVINNJcz+Ha2EqzBUtjx d3MpuskeGqdHeRpDiAj4eQAkYao7Hum/RgtOvdFkZK0e99XV08MNhAqCR2W349cDbn5b CXTxqmL+NpenGByiFLyBvn+bt1Ipiw4U90nugcLWElVuaFlWRKUJs6ajmNjprnp7Vnqo Hztt659lBJK3+1V1Acj92ICPKtP0hcyJItExN1rVH4G4Hc011AlfXn3A/c9m4MX87cHg kbrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=guwMjGpptBbwno49Awk9BDc6Ua4EnIJtHScAjSwFcfs=; b=EXf7Kde2wmolStf89hG7iAhf5+F/nT3cptQpc0g25oDObSservtxozNoFk0WgkS04L ZLmjDCkGYvXE4XV26oeZhbK1X872LVRHLJaAsla9TTqbMRU6IyIp5rTGgLGQ3/8ocIgn 7vxfJpK6XFjXHTOYVKjpZR+raRUziUmDlFSY8IqusFV67+lxPRTHw9F6u3QgGkupm3aY jRzH2J/GZzVx++lHXd/zQrM6/JHV9z9AI42gp5kIA3AvHBBvd+kK8fxqhAURrMgxB4Ul hSrmpKDupwlcmr4z1JkwUEFsMhQEYM11D2iJy8qTpaPcy5UyRxMVKcZU+OrdhrJuQl5H gAtQ== X-Gm-Message-State: AOPr4FXccWMhJ/dyYR6nKkXBHnRvJWIII86BtghKE2KEw6B88lJH8l1K706goETPQ84zQql4gHWLOJMao97FQw== MIME-Version: 1.0 X-Received: by 10.50.131.201 with SMTP id oo9mr18035540igb.15.1463575638854; Wed, 18 May 2016 05:47:18 -0700 (PDT) Received: by 10.64.101.202 with HTTP; Wed, 18 May 2016 05:47:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 May 2016 08:47:18 -0400 Message-ID: Subject: Re: IRC channel From: Bridger Dyson-Smith To: Michael Zhilin Cc: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 12:47:19 -0000 Hi Michael, On Mon, May 16, 2016 at 4:25 PM, Michael Zhilin wrote: > Hi, > > Is there any IRC channel for Java questions on FreeBSD? > > While there isn't a freebsd-java specific channel, I've had good luck with using the #freebsd channel on freenode. Sometimes there isn't an expert around, but it's a great place to start. > Thanks! > Hope that's helpful. Best, Bridger > _________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > From owner-freebsd-java@freebsd.org Thu May 19 12:15:05 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDE3BB42F48 for ; Thu, 19 May 2016 12:15:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D82CF1C10 for ; Thu, 19 May 2016 12:15:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D39AAB42F47; Thu, 19 May 2016 12:15:05 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D33FBB42F46 for ; Thu, 19 May 2016 12:15:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B95541C0F for ; Thu, 19 May 2016 12:15:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JCF5Aq009437 for ; Thu, 19 May 2016 12:15:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Date: Thu, 19 May 2016 12:15:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 12:15:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #6 from Andrew Smith --- Following a few false starts without being able to get gdb to unwind the st= ack trace I decided to invoke the test directly with -XX:+ShowMessageBoxOnError= so I could hop into gdb directly. It's identified Unsafe_GetNativeByte as the cause of the SIGSEGV but this is somewhat obfuscated by it being macro generated. Just thought I had better test this with PCH turned off before I proceed so next report will be results of that. /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-slowde= bug/images/j2sdk-image/bin/javac -J-ea -J-esa -J-Xmx512m -J-Dtest.vm.opts=3D'-ea -esa -Xmx512m'=20 -J-Dtest.class.path.prefix=3D/usr/ports/java/openjdk8/work/openjdk/build/bs= d-x86_64-normal-server-slowdebug/testoutput/jdk_core/JTwork/classes/1/java/= nio/MappedByteBuffer:/usr/ports/java/openjdk8/work/openjdk/jdk/test/java/ni= o/MappedByteBuffer -J-Dtest.jdk=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-norma= l-server-slowdebug/images/j2sdk-image -J-Dtest.timeout.factor=3D4.0 -J-Dtest.src.path=3D/usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio= /MappedByteBuffer -J-Dtest.compiler.opts=3D=20 -J-Dcompile.jdk=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-no= rmal-server-slowdebug/images/j2sdk-image -J-Dtest.classes=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-n= ormal-server-slowdebug/testoutput/jdk_core/JTwork/classes/1/java/nio/Mapped= ByteBuffer -J-Dtest.class.path=3D/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_6= 4-normal-server-slowdebug/testoutput/jdk_core/JTwork/classes/1/java/nio/Map= pedByteBuffer -J-Dtest.java.opts=3D=20 -J-Dtest.src=3D/usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/Mapp= edByteBuffer -J-Dtest.tool.vm.opts=3D'-J-ea -J-esa -J-Xmx512m' -d=20 /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-slowde= bug/testoutput/jdk_core/JTwork/classes/1/java/nio/MappedByteBuffer -classpath /usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-slowde= bug/testoutput/jdk_core/JTwork/classes/1/java/nio/MappedByteBuffer:/usr/por= ts/java/openjdk8/work/openjdk/jdk/test/java/nio/MappedByteBuffer:/usr/ports= /java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-slowdebug/images= /j2sdk-image/lib/tools.jar -sourcepath /usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/MappedByteBuffer -XDignore.symbol.file=3Dtrue /usr/ports/java/openjdk8/work/openjdk/jdk/test/java/nio/MappedByteBuffer/Tr= uncate.java root@testbuild1:/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-norm= al-server-slowdebug/testoutput/jdk_core/JTwork/classes/1/java/nio/MappedByt= eBuffer # java -XX:+ShowMessageBoxOnError -cp . Truncate =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Unexpected Error ---------------------------------------------------------------------------= --- SIGSEGV (0xb) at pc=3D0x0000000802a01fab, pid=3D88015, tid=3D100683 Do you want to debug the problem? To debug, run 'gdb /usr/local/openjdk8/bin/java 88015'; then switch to thre= ad 100683 (0x000000000001894b) Enter 'yes' to launch gdb automatically (PATH must include gdb) Otherwise, press RETURN to abort... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D yes GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... Attaching to program: /usr/local/openjdk8/bin/java, process 88015 Reading symbols from /usr/local/openjdk8/bin/../lib/amd64/jli/libjli.so...d= one. Loaded symbols for /usr/local/openjdk8/bin/../lib/amd64/jli/libjli.so Reading symbols from /lib/libz.so.6...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /lib/libthr.so.3...done. [New Thread 803ce6000 (LWP 100683/java)] [New Thread 803ce5800 (LWP 100865/java)] [New Thread 803ce5400 (LWP 100864/java)] [New Thread 803ce5000 (LWP 100863/java)] [New Thread 803ce4c00 (LWP 100862/java)] [New Thread 803ce4800 (LWP 100861/java)] [New Thread 803ce4400 (LWP 100860/java)] [New Thread 803ce3c00 (LWP 100857/java)] [New Thread 803ce3800 (LWP 100747/java)] [New Thread 803ce3400 (LWP 100405/java)] [New Thread 803ce3000 (LWP 100401/java)] [New Thread 803ce2c00 (LWP 100348/java)] [New Thread 803ce2800 (LWP 100122/java)] [New Thread 803ce2400 (LWP 100090/java)] [New Thread 801806800 (LWP 100070/java)] [New Thread 801806400 (LWP 100286/java)] Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so...Reading symbols from /usr/local/openjdk8/jre/lib/amd64/server/libjvm.debuginfo...done. done. Loaded symbols for /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/lib/libc++.so.1...done. Loaded symbols for /usr/lib/libc++.so.1 Reading symbols from /lib/libcxxrt.so.1...done. Loaded symbols for /lib/libcxxrt.so.1 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /usr/local/openjdk8/jre/lib/amd64/libverify.so...Readi= ng symbols from /usr/local/openjdk8/jre/lib/amd64/libverify.debuginfo...done. done. Loaded symbols for /usr/local/openjdk8/jre/lib/amd64/libverify.so Reading symbols from /usr/local/openjdk8/jre/lib/amd64/libjava.so...Reading symbols from /usr/local/openjdk8/jre/lib/amd64/libjava.debuginfo...done. done. Loaded symbols for /usr/local/openjdk8/jre/lib/amd64/libjava.so Reading symbols from /usr/local/openjdk8/jre/lib/amd64/libzip.so...Reading symbols from /usr/local/openjdk8/jre/lib/amd64/libzip.debuginfo...done. done. Loaded symbols for /usr/local/openjdk8/jre/lib/amd64/libzip.so Reading symbols from /usr/local/openjdk8/jre/lib/amd64/libnet.so...Reading symbols from /usr/local/openjdk8/jre/lib/amd64/libnet.debuginfo...done. done. Loaded symbols for /usr/local/openjdk8/jre/lib/amd64/libnet.so Reading symbols from /usr/local/openjdk8/jre/lib/amd64/libnio.so...Reading symbols from /usr/local/openjdk8/jre/lib/amd64/libnio.debuginfo...done. done. Loaded symbols for /usr/local/openjdk8/jre/lib/amd64/libnio.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 [Switching to Thread 803ce6000 (LWP 100683/java)] 0x0000000800f479b8 in _wait4 () from /lib/libc.so.7 (gdb) bt #0 0x0000000800f479b8 in _wait4 () from /lib/libc.so.7 #1 0x0000000800c521cc in pthread_suspend_all_np () from /lib/libthr.so.3 #2 0x0000000802848d88 in os::fork_and_exec (cmd=3D0x803192850 "gdb /usr/local/openjdk8/bin/java 88015") at /usr/ports/java/openjdk8/work/openjdk/hotspot/src/os/bsd/vm/os_bsd.cpp:4878 #3 0x0000000802a3e297 in VMError::show_message_box (this=3D0x7fffdf0ed8d8, buf=3D0x803192850 "gdb /usr/local/openjdk8/bin/java 88015", buflen=3D2000) = at /usr/ports/java/openjdk8/work/openjdk/hotspot/src/os/bsd/vm/vmError_bsd.cpp= :80 #4 0x0000000802a3d085 in VMError::report_and_die (this=3D0x7fffdf0ed8d8) at /usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/utilities/vmErro= r.cpp:881 #5 0x000000080284a704 in JVM_handle_bsd_signal (sig=3D11, info=3D0x7fffdf0= ee230, ucVoid=3D0x7fffdf0edec0, abort_if_unrecognized=3D1) at /usr/ports/java/openjdk8/work/openjdk/hotspot/src/os_cpu/bsd_x86/vm/os_bsd_= x86.cpp:731 #6 0x0000000802844e77 in signalHandler (sig=3D11, info=3D0x7fffdf0ee230, uc=3D0x7fffdf0edec0) at /usr/ports/java/openjdk8/work/openjdk/hotspot/src/os/bsd/vm/os_bsd.cpp:3207 #7 0x0000000800c54b37 in pthread_sigmask () from /lib/libthr.so.3 #8 0x0000000800c5422c in pthread_getspecific () from /lib/libthr.so.3 #9 #10 0x0000000802a01fab in Unsafe_GetNativeByte (env=3D0x8c9b0da20, unsafe=3D0x7fffdf0ee568, addr=3D34366722048) at /usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/prims/unsafe.cpp= :539 #11 0x000000080467b162 in ?? () #12 0x00000000000003d8 in ?? () #13 0x00000008c9b0d800 in ?? () #14 0x00007fffdf0ee5b8 in ?? () #15 0x00007fffdf0ee4f8 in ?? () #16 0x0000000000000000 in ?? () (gdb) frame 10 #10 0x0000000802a01fab in Unsafe_GetNativeByte (env=3D0x8c9b0da20, unsafe=3D0x7fffdf0ee568, addr=3D34366722048) at /usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/prims/unsafe.cpp= :539 539 DEFINE_GETSETNATIVE(jbyte, Byte, signed char) Current language: auto; currently c++ (gdb) list 534 t->set_doing_unsafe_access(false); \ 535 UNSAFE_END \ 536 \ 537 // END DEFINE_GETSETNATIVE. 538=20=20=20=20=20 539 DEFINE_GETSETNATIVE(jbyte, Byte, signed char) 540 DEFINE_GETSETNATIVE(jshort, Short, signed short); 541 DEFINE_GETSETNATIVE(jchar, Char, unsigned short); 542 DEFINE_GETSETNATIVE(jint, Int, jint); 543 // no long -- handled specially (gdb) frame 9 #9 (gdb) list 544 DEFINE_GETSETNATIVE(jfloat, Float, float); 545 DEFINE_GETSETNATIVE(jdouble, Double, double); 546=20=20=20=20=20 547 #undef DEFINE_GETSETNATIVE 548=20=20=20=20=20 549 UNSAFE_ENTRY(jlong, Unsafe_GetNativeLong(JNIEnv *env, jobject unsaf= e, jlong addr)) 550 UnsafeWrapper("Unsafe_GetNativeLong"); 551 JavaThread* t =3D JavaThread::current(); 552 // We do it this way to avoid problems with access to heap using = 64 553 // bit loads, as jlong in heap could be not 64-bit aligned, and on (gdb) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Thu May 19 13:40:18 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D191B415AF for ; Thu, 19 May 2016 13:40:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2813D196F for ; Thu, 19 May 2016 13:40:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 276D8B415AC; Thu, 19 May 2016 13:40:18 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27166B415AB for ; Thu, 19 May 2016 13:40:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 17BA9196E for ; Thu, 19 May 2016 13:40:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JDeHQU099439 for ; Thu, 19 May 2016 13:40:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Date: Thu, 19 May 2016 13:40:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 13:40:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #7 from Andrew Smith --- turning off PCH makes no difference, the fault still occurs. Interestingly with slow debug only the MappedByteBuffer.Truncate test throws the exception. Looking at the disassembly of the region of code... 0x0000000802a01f8b : callq 0x801f04550 <_ZN10JavaThread7currentEv> 0x0000000802a01f90 : mov $0x1,%esi 0x0000000802a01f95 : mov %rax,-0x60(%rbp) 0x0000000802a01f99 : mov -0x60(%rbp),%rdi 0x0000000802a01f9d : callq 0x802a09fe0 <_ZN10JavaThread23set_doing_unsafe_accessEb> 0x0000000802a01fa2 : mov $0x0,%esi 0x0000000802a01fa7 : mov -0x58(%rbp),%rax 0x0000000802a01fab : mov (%rax),%cl = # SIGSEGV is HERE 0x0000000802a01fad : mov %cl,-0x61(%rbp) 0x0000000802a01fb0 : mov -0x60(%rbp),%rdi 0x0000000802a01fb4 : callq 0x802a09fe0 <_ZN10JavaThread23set_doing_unsafe_accessEb> 0x0000000802a01fb9 : lea -0x48(%rbp),%rdi 0x0000000802a01fbd : mov -0x61(%rbp),%cl This pretty much maps to here in unsafe.cpp #define DEFINE_GETSETNATIVE(java_type, Type, native_type) \ \ UNSAFE_ENTRY(java_type, Unsafe_GetNative##Type(JNIEnv *env, jobject unsafe, jlong addr)) \ UnsafeWrapper("Unsafe_GetNative"#Type); \ void* p =3D addr_from_java(addr); \ JavaThread* t =3D JavaThread::current(); \ t->set_doing_unsafe_access(true); \ java_type x =3D *(volatile native_type*)p; \ # So, here in our macro t->set_doing_unsafe_access(false); \ return x; \ UNSAFE_END \ \ UNSAFE_ENTRY(void, Unsafe_SetNative##Type(JNIEnv *env, jobject unsafe, jlong addr, java_type x)) \ UnsafeWrapper("Unsafe_SetNative"#Type); \ JavaThread* t =3D JavaThread::current(); \ t->set_doing_unsafe_access(true); \ void* p =3D addr_from_java(addr); \ *(volatile native_type*)p =3D x; \ t->set_doing_unsafe_access(false); \ UNSAFE_END \ \ // END DEFINE_GETSETNATIVE. DEFINE_GETSETNATIVE(jbyte, Byte, signed char) DEFINE_GETSETNATIVE(jshort, Short, signed short); DEFINE_GETSETNATIVE(jchar, Char, unsigned short); DEFINE_GETSETNATIVE(jint, Int, jint); // no long -- handled specially DEFINE_GETSETNATIVE(jfloat, Float, float); DEFINE_GETSETNATIVE(jdouble, Double, double); As far as I can see this looks OK and I suspect this is more about the call= er than this particular function. Unfortunately from frame 11 onwards we look to be in the murky region of hotspot compiled code and gdb is isn't really much help following that piec= e. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Thu May 19 13:42:16 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E59F8B417EF for ; Thu, 19 May 2016 13:42:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D104B1E31 for ; Thu, 19 May 2016 13:42:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D037BB417ED; Thu, 19 May 2016 13:42:16 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFE59B417EC for ; Thu, 19 May 2016 13:42:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0C801E2F for ; Thu, 19 May 2016 13:42:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JDgGKt010270 for ; Thu, 19 May 2016 13:42:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Date: Thu, 19 May 2016 13:42:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 13:42:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #8 from Andrew Smith --- i.e. (gdb) frame 11 #11 0x000000080467b162 in ?? () (gdb) disassem No function contains program counter for selected frame. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Thu May 19 16:07:59 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A96D0B42071 for ; Thu, 19 May 2016 16:07:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 946661FF9 for ; Thu, 19 May 2016 16:07:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8FFE0B42070; Thu, 19 May 2016 16:07:59 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F9F8B4206F for ; Thu, 19 May 2016 16:07:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7FFFF1FF8 for ; Thu, 19 May 2016 16:07:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JG7xBF092500 for ; Thu, 19 May 2016 16:07:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Date: Thu, 19 May 2016 16:07:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 16:07:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #9 from Andrew Smith --- Went at this form the other end as I had visibility of the native code. Examining the stack from earlier we have the use of the load method to look= at. Stack: [0x00007fffdf1f1000,0x00007fffdf2f1000], sp=3D0x00007fffdf2f0860, = free space=3D1022k Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, C=3D= native code) V [libjvm.so+0x8d8d0a] JVM_handle_bsd_signal+0x125c4a j sun.misc.Unsafe.getByte(J)B+0 j java.nio.MappedByteBuffer.load()Ljava/nio/MappedByteBuffer;+85 j Truncate$2.call()Ljava/lang/Void;+4 j Truncate$2.call()Ljava/lang/Object;+1 j Truncate$3.run()V+4 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub V [libjvm.so+0x59d83b] AsyncGetCallTrace+0xcab7b V [libjvm.so+0x59c283] AsyncGetCallTrace+0xc95c3 V [libjvm.so+0x59c4bc] AsyncGetCallTrace+0xc97fc V [libjvm.so+0x608c3e] JVM_StartThread+0x36e V [libjvm.so+0x8b1600] JVM_handle_bsd_signal+0xfe540 V [libjvm.so+0x7ad3af] JVM_FindSignal+0x19a4ff C [libthr.so.3+0x8855] operator->+0x805 C 0x0000000000000000 public final MappedByteBuffer load() { checkMapped(); if ((address =3D=3D 0) || (capacity() =3D=3D 0)) return this; long offset =3D mappingOffset(); long length =3D mappingLength(offset); load0(mappingAddress(offset), length); // Read a byte from each page to bring it into memory. A checksum // is computed as we go along to prevent the compiler from otherwise // considering the loop as dead code. Unsafe unsafe =3D Unsafe.getUnsafe(); int ps =3D Bits.pageSize(); int count =3D Bits.pageCount(length); long a =3D mappingAddress(offset); byte x =3D 0; for (int i=3D0; i() { public Void call() { mbb.get((int)TRUNCATED_FILE_SIZE + 1); mbb.put((int)TRUNCATED_FILE_SIZE + 2, (byte)123); return null; } }); // Test 2: load buffer into memory execute(new Callable() { public Void call() throws IOException { mbb.load(); return null; } }); } fc.close(); } // Runs the given task in its own thread. If operating correcting the // the thread will terminate with an InternalError as the mapped buffer // is inaccessible. static void execute(final Callable c) { Runnable r =3D new Runnable() { public void run() { try { Object ignore =3D c.call(); } catch (Exception ignore) { } } }; Noting what it mentions in the execute wrapper.. there is an expectation th= at InternalError is raised but we are receiving a SIGSEGV. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Thu May 19 18:01:50 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A466B4239A for ; Thu, 19 May 2016 18:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 05AC713D7 for ; Thu, 19 May 2016 18:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 04F66B42399; Thu, 19 May 2016 18:01:50 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0499FB42398 for ; Thu, 19 May 2016 18:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E994C13D6 for ; Thu, 19 May 2016 18:01:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JI1nPG021004 for ; Thu, 19 May 2016 18:01:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Date: Thu, 19 May 2016 18:01:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: openjdk@getsnappy.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 18:01:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 openjdk@getsnappy.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |openjdk@getsnappy.com --- Comment #10 from openjdk@getsnappy.com --- That's really interesting. It seems that if MappedByteBuffer is using Unsa= fe operations to load a truncated file into memory that a SEGV would be expect= ed.=20 I wonder how this generates an internal error on other Operating Systems. I saw a comment in the test that windows throws an error when you try to trun= cate a file that has an open MappedByteBuffer, maybe FreeBSD should as well. try { fc.truncate(TRUNCATED_FILE_SIZE); truncated =3D true; } catch (IOException ioe) { // probably on Windows where a file cannot be truncated when // there is a file mapping. truncated =3D false; } --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Thu May 19 20:07:51 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F52CB42290 for ; Thu, 19 May 2016 20:07:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3E5114C for ; Thu, 19 May 2016 20:07:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 091D7B4228F; Thu, 19 May 2016 20:07:51 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08C21B4228E for ; Thu, 19 May 2016 20:07:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED99E114B for ; Thu, 19 May 2016 20:07:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JK7oUo098850 for ; Thu, 19 May 2016 20:07:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209651] java/openjdk8: frequent crashes of the jvm when used to serve high-traffic websites Date: Thu, 19 May 2016 20:07:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ale@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 20:07:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209651 Bug ID: 209651 Summary: java/openjdk8: frequent crashes of the jvm when used to serve high-traffic websites Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: ale@FreeBSD.org Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) The issue is reproducible with all versions of openjdk (6/7/8) on FreeBSD 1= 0.x amd64 on different Amazon EC2 instances. The JVM is used to run different server scala applications and all crash. It can happen after a few minutes = or after a few days, with a probability that seem proportional to the traffic = on the website. I can provide about 50 hs_err_pidXXXXX.log files to help the diagnosis. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Thu May 19 20:07:50 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD703B42289 for ; Thu, 19 May 2016 20:07:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B927F1149 for ; Thu, 19 May 2016 20:07:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B4BE9B42288; Thu, 19 May 2016 20:07:50 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4629B42287 for ; Thu, 19 May 2016 20:07:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A57B41148 for ; Thu, 19 May 2016 20:07:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JK7oUk098850 for ; Thu, 19 May 2016 20:07:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 209651] java/openjdk8: frequent crashes of the jvm when used to serve high-traffic websites Date: Thu, 19 May 2016 20:07:50 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 20:07:50 -0000 Alex Dupre has reassigned Bugzilla Automation 's request for maintainer-feedback to java@FreeBSD.or= g: Bug 209651: java/openjdk8: frequent crashes of the jvm when used to serve high-traffic websites https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209651 --- Description --- The issue is reproducible with all versions of openjdk (6/7/8) on FreeBSD 1= 0.x amd64 on different Amazon EC2 instances. The JVM is used to run different server scala applications and all crash. It can happen after a few minutes = or after a few days, with a probability that seem proportional to the traffic = on the website. I can provide about 50 hs_err_pidXXXXX.log files to help the diagnosis. From owner-freebsd-java@freebsd.org Thu May 19 22:39:23 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7BE7B4222F for ; Thu, 19 May 2016 22:39:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A31571A27 for ; Thu, 19 May 2016 22:39:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9E853B4222E; Thu, 19 May 2016 22:39:23 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E293B4222D for ; Thu, 19 May 2016 22:39:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8ED581A26 for ; Thu, 19 May 2016 22:39:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JMdNoE042274 for ; Thu, 19 May 2016 22:39:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Date: Thu, 19 May 2016 22:39:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 22:39:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #11 from Andrew Smith --- exactly.. I suspect I will be spending a lot of tomorrow examining this --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 08:51:56 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D183B4394B for ; Fri, 20 May 2016 08:51:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 79AC31F07 for ; Fri, 20 May 2016 08:51:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 75652B4394A; Fri, 20 May 2016 08:51:56 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75128B43949 for ; Fri, 20 May 2016 08:51:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65DB21F06 for ; Fri, 20 May 2016 08:51:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4K8puuw028501 for ; Fri, 20 May 2016 08:51:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Date: Fri, 20 May 2016 08:51:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 08:51:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #12 from Andrew Smith --- Reported as a bug that didn't effect Solaris or Windows but did effect Linu= x at the time. (Bug ID referenced in the unit test code) http://bugs.java.com/bugdatabase/view_bug.do?bug_id=3D6934977 The useful bit is right at the end. " EVALUATION The issue here is that the load method is touching each page in a native me= thod rather rather than using the Unsafe API. This means the sig handler doesn't know to unwind the stack." Noting also that I ran this unit test under FreeBSD OpenJDK7 independently = and it also produces a SIGSEGV. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 12:15:27 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C866DB421F7 for ; Fri, 20 May 2016 12:15:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B2F021694 for ; Fri, 20 May 2016 12:15:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AE48BB421F6; Fri, 20 May 2016 12:15:27 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADE9FB421F5 for ; Fri, 20 May 2016 12:15:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DBC21693 for ; Fri, 20 May 2016 12:15:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KCFRwp058855 for ; Fri, 20 May 2016 12:15:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] JDK-6934977 : (bf) MappedByteBuffer.load can SIGBUS if file is truncated on java/openjdk8 Date: Fri, 20 May 2016 12:15:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 12:15:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 Andrew Smith changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|SIGSEGV in regression test |JDK-6934977 : (bf) |suite on java/openjdk8 |MappedByteBuffer.load can | |SIGBUS if file is truncated | |on java/openjdk8 --- Comment #13 from Andrew Smith --- I have a patch that has passed initial testing and will post this as soon a= s I have run a full regression test doing both fastdebug and release builds alo= ng with my observations. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 12:36:16 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9225FB4290F for ; Fri, 20 May 2016 12:36:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7C8ED1149 for ; Fri, 20 May 2016 12:36:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 78218B4290E; Fri, 20 May 2016 12:36:16 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 758F0B4290C for ; Fri, 20 May 2016 12:36:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B2071147 for ; Fri, 20 May 2016 12:36:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KCaG3B071975 for ; Fri, 20 May 2016 12:36:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] Related to JDK-6934977 : (bf) MappedByteBuffer.load can SIGBUS if file is truncated, SIGSEGV on java/openjdk8 Date: Fri, 20 May 2016 12:36:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 12:36:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 Andrew Smith changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|JDK-6934977 : (bf) |Related to JDK-6934977 : |MappedByteBuffer.load can |(bf) MappedByteBuffer.load |SIGBUS if file is truncated |can SIGBUS if file is |on java/openjdk8 |truncated, SIGSEGV on | |java/openjdk8 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 14:27:08 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A12E8B426F9 for ; Fri, 20 May 2016 14:27:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8B5801F3B for ; Fri, 20 May 2016 14:27:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8AB16B426F7; Fri, 20 May 2016 14:27:08 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A570B426F6 for ; Fri, 20 May 2016 14:27:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 75BDC1F39 for ; Fri, 20 May 2016 14:27:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KER8vx021722 for ; Fri, 20 May 2016 14:27:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] Related to JDK-6934977 : MappedByteBuffer.load can SIGBUS/SIGSEGV if file is truncated java/openjdk8 and java/openjdk7 Date: Fri, 20 May 2016 14:27:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 14:27:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 Andrew Smith changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Related to JDK-6934977 : |Related to JDK-6934977 : |(bf) MappedByteBuffer.load |MappedByteBuffer.load can |can SIGBUS if file is |SIGBUS/SIGSEGV if file is |truncated, SIGSEGV on |truncated java/openjdk8 and |java/openjdk8 |java/openjdk7 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 15:31:59 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AAF8B43A33 for ; Fri, 20 May 2016 15:31:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7560E1985 for ; Fri, 20 May 2016 15:31:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 74BD2B43A32; Fri, 20 May 2016 15:31:59 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74720B43A31 for ; Fri, 20 May 2016 15:31:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6483C1984 for ; Fri, 20 May 2016 15:31:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KFVxdb048174 for ; Fri, 20 May 2016 15:31:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] Related to JDK-6934977 : MappedByteBuffer.load can SIGBUS/SIGSEGV if file is truncated java/openjdk8 and java/openjdk7 Date: Fri, 20 May 2016 15:31:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 15:31:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #14 from Andrew Smith --- Created attachment 170507 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170507&action= =3Dedit java/openjdk8 patch Drop into /usr/ports/java/openjdk8/files and build port --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 15:34:35 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D768B43C6E for ; Fri, 20 May 2016 15:34:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8790D1F8F for ; Fri, 20 May 2016 15:34:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 86DC5B43C6D; Fri, 20 May 2016 15:34:35 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86864B43C6C for ; Fri, 20 May 2016 15:34:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 766DE1F8E for ; Fri, 20 May 2016 15:34:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KFYZGD053915 for ; Fri, 20 May 2016 15:34:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] Related to JDK-6934977 : MappedByteBuffer.load can SIGBUS/SIGSEGV if file is truncated java/openjdk8 and java/openjdk7 Date: Fri, 20 May 2016 15:34:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 15:34:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #15 from Andrew Smith --- Created attachment 170508 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170508&action= =3Dedit java/openjdk7 patch Drop into /usr/ports/java/openjdk7/files and make the port. This, if accepted, shoudld be merged into patch-bsd since that file already contains changes to hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp. Sent this= way so that one can conveniently add/remove it. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 15:38:19 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02E17B43E38 for ; Fri, 20 May 2016 15:38:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E14DD10FB for ; Fri, 20 May 2016 15:38:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E0A16B43E37; Fri, 20 May 2016 15:38:18 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0448B43E35 for ; Fri, 20 May 2016 15:38:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D054310F9 for ; Fri, 20 May 2016 15:38:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KFcIPW058652 for ; Fri, 20 May 2016 15:38:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] Related to JDK-6934977 : MappedByteBuffer.load can SIGBUS/SIGSEGV if file is truncated java/openjdk8 and java/openjdk7 Date: Fri, 20 May 2016 15:38:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 15:38:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #16 from Andrew Smith --- The patches attached simply add in SIGSEGV as a possible signal that needs = to be handled as the exception whilst using sun.misc.Unsafe functions. The original implementation had handlers for SIGBUS only and with this chan= ge the handlers now raise the appropriate java exception rather than fatally killing the vm. root@testbuild1:~ # /usr/local/openjdk8/bin/java -cp . Truncate java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code at java.nio.MappedByteBuffer.load(MappedByteBuffer.java:175) at Truncate$2.call(Truncate.java:70) at Truncate$2.call(Truncate.java:68) at Truncate$3.run(Truncate.java:85) at java.lang.Thread.run(Thread.java:745) root@testbuild1:~ # /usr/local/openjdk7/bin/java -cp . Truncate java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code at java.nio.MappedByteBuffer.load(MappedByteBuffer.java:175) at Truncate$2.call(Truncate.java:70) at Truncate$2.call(Truncate.java:68) at Truncate$3.run(Truncate.java:85) at java.lang.Thread.run(Thread.java:745) root@testbuild1:~ # --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 15:38:57 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD761B43E9D for ; Fri, 20 May 2016 15:38:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C7D1F1154 for ; Fri, 20 May 2016 15:38:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C7393B43E9C; Fri, 20 May 2016 15:38:57 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6E70B43E9B for ; Fri, 20 May 2016 15:38:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6D0E1153 for ; Fri, 20 May 2016 15:38:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KFcvQY059533 for ; Fri, 20 May 2016 15:38:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] [PATCHES] Related to JDK-6934977 : MappedByteBuffer.load can SIGBUS/SIGSEGV if file is truncated java/openjdk8 and java/openjdk7 Date: Fri, 20 May 2016 15:38:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 15:38:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 Andrew Smith changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Related to JDK-6934977 : |[PATCHES] Related to |MappedByteBuffer.load can |JDK-6934977 : |SIGBUS/SIGSEGV if file is |MappedByteBuffer.load can |truncated java/openjdk8 and |SIGBUS/SIGSEGV if file is |java/openjdk7 |truncated java/openjdk8 and | |java/openjdk7 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 17:06:34 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED374B436B9 for ; Fri, 20 May 2016 17:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D66241CE0 for ; Fri, 20 May 2016 17:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D20E4B436B8; Fri, 20 May 2016 17:06:34 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF7B6B436B7 for ; Fri, 20 May 2016 17:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE1A51CDF for ; Fri, 20 May 2016 17:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KH6Yki016560 for ; Fri, 20 May 2016 17:06:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] [PATCHES] FreeBSD fix for JDK-6244515 : Unsafe operations that access invalid memory are not handled gracefully - java/openjdk8 and java/openjdk7 Date: Fri, 20 May 2016 17:06:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 17:06:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 Andrew Smith changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[PATCHES] Related to |[PATCHES] FreeBSD fix for |JDK-6934977 : |JDK-6244515 : Unsafe |MappedByteBuffer.load can |operations that access |SIGBUS/SIGSEGV if file is |invalid memory are not |truncated java/openjdk8 and |handled gracefully - |java/openjdk7 |java/openjdk8 and | |java/openjdk7 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri May 20 17:07:15 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 518E9B4372D for ; Fri, 20 May 2016 17:07:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3BD011DF2 for ; Fri, 20 May 2016 17:07:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3B24CB4372C; Fri, 20 May 2016 17:07:15 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AC57B4372B for ; Fri, 20 May 2016 17:07:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2AB971DF1 for ; Fri, 20 May 2016 17:07:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KH7FrO017453 for ; Fri, 20 May 2016 17:07:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] [PATCHES] FreeBSD fix for JDK-6244515 : Unsafe operations that access invalid memory are not handled gracefully - java/openjdk8 and java/openjdk7 Date: Fri, 20 May 2016 17:07:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iamasmith.home@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 17:07:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 --- Comment #17 from Andrew Smith --- Changed the title a lot I know but this bug is the closest. --=20 You are receiving this mail because: You are the assignee for the bug.=