From owner-freebsd-current@FreeBSD.ORG Thu May 9 11:16:41 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 38C43FC4; Thu, 9 May 2013 11:16:41 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 53A44FD2; Thu, 9 May 2013 11:16:40 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id r11so2846237lbv.41 for ; Thu, 09 May 2013 04:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=VbiEb3ES2646r8Kzbg/4hskWSBjF+UnUuh6P4PyqYfE=; b=TZj4T9rWE99yq+7Bbcx/iq2qOcwhns+/Rw9s+H5xmrFJMwEejqSvYFQkiExGYSJ+p1 bJyv4P06byK3xnxfBLG6ipAWVA+To07f5hfb/GmwIH0ple9eRCFbEmKDSU14Ya7mJOz/ oG9yn6HvomtgCQyFO98GR5jRC3MW9+CUvgQHYtypXD6V2mliafDcT1XZ11+Ksa3yACIl 5B0jZ8p3u7EkxCNXmkOIF3ugljU0ps/EL3AYheB7CztZ/dASEOkbkkhFne5NvsVJxv+w 1sG5n1xSEHOTlIvOmNpNzPCZutY0XSEcrTcfoFTH01pgzraCqeLikOQtLTZ+yuUDgR2K sNXQ== X-Received: by 10.152.22.66 with SMTP id b2mr5177217laf.14.1368098192991; Thu, 09 May 2013 04:16:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.5.33 with HTTP; Thu, 9 May 2013 04:16:12 -0700 (PDT) In-Reply-To: <15bba76880d792dca6eec4b6c91ec7f8@webmail.lerctr.org> References: <20130505082750.GY12114@ithaqua.etoilebsd.net> <20130505084925.GZ12114@ithaqua.etoilebsd.net> <1e05f442e819d9eb77b16cee5b47d4c4@webmail.lerctr.org> <072097222ecf7a0454b6bf3c5a345e7a@webmail.lerctr.org> <3b07abf009691a0c1292f44568f0a380@webmail.lerctr.org> <55c89ac05cb6cb17d056be00b9da1279@webmail.lerctr.org> <15bba76880d792dca6eec4b6c91ec7f8@webmail.lerctr.org> From: Damjan Jovanovic Date: Thu, 9 May 2013 13:16:12 +0200 Message-ID: Subject: Re: openjdk6 broken on current To: java@freebsd.org, freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Thu, 09 May 2013 11:33:52 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 11:16:41 -0000 On Wed, May 8, 2013 at 8:52 PM, Larry Rosenman wrote: > On 2013-05-08 13:37, Larry Rosenman wrote: >> >> On 2013-05-08 12:46, Larry Rosenman wrote: >> On 2013-05-08 12:00, Daniel Eischen wrote: >> On Wed, 8 May 2013, Daniel Eischen wrote: >> >> On Wed, 8 May 2013, Larry Rosenman wrote: >> >> Daniel Eischen wrote: >> On Wed, 8 May 2013, Larry Rosenman wrote: >> >> Can SOMEONE please look at this? >> >> I have a real need to get java back on my -CURRENT server soon. >> >> Did/can you try just backing out r249606? >> >> -- >> DE >> >> How can I generate a patch to do that? >> >> Go here: >> >> >> http://svnweb.freebsd.org/base/head/lib/libthr/thread/thr_sig.c?sortby=date&view=log >> >> then click on "Diff to previous 249606", then click on "Patch" >> at the top. You can try backing out each/all of the recent >> changes to thr_sig.c to see what the culprit is. >> >> You'll have to use "-R" to reverse the patch I believe. >> >> Or, if you have a checked out svn repo, you can always use >> svn to generate the patch: >> >> $ cd /path/to/svn/src >> $ svn diff -r249606:249605 # no need to use -R on this patch >> I've done this, and dealt with a chunk reject, and am recompiling the >> world. >> >> Will let you know if this fixes it...... >> Still fails. >> >> /bin/mkdir -p >> >> /usr/ports/java/openjdk6/work/build/bsd-amd64/classes/javax/management/remote/rmi >> rm -f >> >> /usr/ports/java/openjdk6/work/build/bsd-amd64/classes/javax/management/remote/rmi/RMIConnectionImpl_Stub.class >> /usr/ports/java/openjdk6/work/build/bsd-amd64/bin/java -Xmx896m >> -Xms128m -cp /usr/ports/java/openjdk6/work/build/bsd-amd64/classes >> sun.rmi.rmic.Main -classpath >> "/usr/ports/java/openjdk6/work/build/bsd-amd64/classes" \ >> -d /usr/ports/java/openjdk6/work/build/bsd-amd64/classes \ >> -v1.2 \ >> -keepgenerated \ >> javax.management.remote.rmi.RMIConnectionImpl >> /bin/mkdir -p >> >> /usr/ports/java/openjdk6/work/build/bsd-amd64/gensrc/javax/management/remote/rmi >> /bin/cp >> >> /usr/ports/java/openjdk6/work/build/bsd-amd64/classes/javax/management/remote/rmi/RMIConnectionImpl_Stub.java >> \ >> >> /usr/ports/java/openjdk6/work/build/bsd-amd64/gensrc/javax/management/remote/rmi >> /usr/ports/java/openjdk6/work/build/bsd-amd64/bin/java -Xmx896m >> -Xms128m -cp /usr/ports/java/openjdk6/work/build/bsd-amd64/classes >> sun.rmi.rmic.Main -classpath >> "/usr/ports/java/openjdk6/work/build/bsd-amd64/classes" \ >> -d /usr/ports/java/openjdk6/work/build/bsd-amd64/classes \ >> -iiop -v1.2 \ >> javax.management.remote.rmi.RMIConnectionImpl >> gmake[5]: *** >> >> [/usr/ports/java/openjdk6/work/build/bsd-amd64/classes/javax/management/remote/rmi/RMIConnectionImpl_Stub.class] >> Segmentation fault (core dumped) >> gmake[5]: *** Deleting file >> >> `/usr/ports/java/openjdk6/work/build/bsd-amd64/classes/javax/management/remote/rmi/RMIConnectionImpl_Stub.class' >> gmake[5]: Leaving directory >> `/usr/ports/java/openjdk6/work/jdk/make/com/sun/jmx' >> gmake[4]: *** [all] Error 1 >> gmake[4]: Leaving directory >> `/usr/ports/java/openjdk6/work/jdk/make/com/sun' >> gmake[3]: *** [all] Error 1 >> gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/com' >> gmake[2]: *** [all] Error 1 >> gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make' >> gmake[1]: *** [jdk-build] Error 2 >> gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work' >> gmake: *** [build_product_image] Error 2 >> *** [do-build] Error code 1 >> >> Stop in /usr/ports/java/openjdk6. >> *** [build] Error code 1 >> >> Stop in /usr/ports/java/openjdk6. >> >> ===>>> make failed for java/openjdk6 >> ===>>> Aborting update >> >> ===>>> Killing background jobs >> Terminated >> >> ===>>> You can restart from the point of failure with this command line: >> portmaster java/openjdk6 >> >> ===>>> Exiting >> # >> # >> >> >> I **CAN** give SSH/SUDO access to whoever..... > > (gdb) bt > > #0 0x0000000801e2da93 in JVM_handle_bsd_signal () > from > /usr/ports/java/openjdk6/work/build/bsd-amd64/lib/amd64/server/libjvm.so > #1 0x0000000800a49136 in swapcontext () from /lib/libthr.so.3 > > #2 0x0000000800a48d39 in sigaction () from /lib/libthr.so.3 > #3 0x00007ffffffff1d3 in ?? () > #4 0x0000000800a48c20 in sigaction () from /lib/libthr.so.3 > #5 0x0000000801ba9540 in Deoptimization::unpack_frames () > from > /usr/ports/java/openjdk6/work/build/bsd-amd64/lib/amd64/server/libjvm.so > #6 0x0000000803869f7e in ?? () > #7 0x00007fffffbfa450 in ?? () > > #8 0x000000080383b828 in ?? () > #9 0x000000080685e6e0 in ?? () > #10 0x000000080684f000 in ?? () > #11 0x00007fffffbfa4a0 in ?? () > #12 0x00007fffffbfa518 in ?? () > > #13 0x000000080308f000 in ?? () > #14 0x0000000806bac750 in ?? () > > #15 0x0000000803869eb9 in ?? () > #16 0x0000000000000000 in ?? () > (gdb) That backtrace would probably be clearer if you got it from a debug build of OpenJDK. Also you could find the exact commit that broke it by doing a bisection-search in SVN like "git bisect" would do. Regards Damjan Jovanovic