From owner-freebsd-java@freebsd.org Fri Aug 3 19:52:13 2018 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAC20104E163 for ; Fri, 3 Aug 2018 19:52:12 +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 867C47289F for ; Fri, 3 Aug 2018 19:52:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 47DBC104E162; Fri, 3 Aug 2018 19:52:12 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25F46104E161 for ; Fri, 3 Aug 2018 19:52:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BAC4472899 for ; Fri, 3 Aug 2018 19:52:11 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D7F71106F4 for ; Fri, 3 Aug 2018 19:52:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w73JqAxu032481 for ; Fri, 3 Aug 2018 19:52:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w73JqA0X032478 for java@FreeBSD.org; Fri, 3 Aug 2018 19:52:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 193475] java/openjdk7 jinfo and jmap do not work Date: Fri, 03 Aug 2018 19:52:09 +0000 X-Bugzilla-Reason: CC 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: 1983-01-06@gmx.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: glewis@FreeBSD.org X-Bugzilla-Flags: 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.27 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2018 19:52:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193475 Michael Osipov <1983-01-06@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |1983-01-06@gmx.net --- Comment #12 from Michael Osipov <1983-01-06@gmx.net> --- I can confirm this for 1.7: > $ sudo JAVA_VERSION=3D1.7 jmap -heap 61192 > Attaching to process ID 61192, please wait... > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at sun.tools.jmap.JMap.runTool(JMap.java:197) > at sun.tools.jmap.JMap.main(JMap.java:128) > Caused by: sun.jvm.hotspot.debugger.UnalignedAddressException: 9cef4867 > at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1.checkAlignment= (BsdDebuggerLocal.java:183) > at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readCInteger(Bsd= DebuggerLocal.java:487) > at sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(Debugge= rBase.java:454) > at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readAddress(BsdD= ebuggerLocal.java:430) > at sun.jvm.hotspot.debugger.bsd.BsdAddress.getAddressAt(BsdAddres= s.java:74) > at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDat= aBase.java:154) > at sun.jvm.hotspot.HotSpotTypeDataBase.(HotSpotTypeDataBase= .java:85) > at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java= :573) > at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494) > at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:= 332) > at sun.jvm.hotspot.tools.Tool.start(Tool.java:163) > at sun.jvm.hotspot.tools.HeapSummary.main(HeapSummary.java:40) > ... 6 more OpenJDK 8 works like a charm. --=20 You are receiving this mail because: You are on the CC list for the bug.=