From owner-freebsd-hackers@FreeBSD.ORG Tue May 7 15:18:49 2013 Return-Path: Delivered-To: freebsd-hackers@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 84E53EA2; Tue, 7 May 2013 15:18:49 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx1.freebsd.org (Postfix) with ESMTP id 5B7D7E81; Tue, 7 May 2013 15:18:49 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id bi5so574561pad.36 for ; Tue, 07 May 2013 08:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=NpYsyKKPJ+/5oiv0NcjG41Z+7jTnEHwNN69legCl0Ww=; b=z+vr3L0p0tTrDZtOGmsyhBIi8xQaMspvl98X8fDBQrOPjrbo077awFlZScav3MpRRk 1a+e/qkUz7lqDDnDwyCmjCkipYp0xFNwjflyzqK4GQDj02FAebwgBm8/E2k5U8kX62ki S7+U8KqZ7fsyGbQ2mY88uxlU4/SC0Qe0Zvdaf2a8Ro9xfRXuEBdTL+RT1QYRVeZV298Z XWVk7YFPdgVJNc2TrT5Qa1hOg7t3khxPD4gBWCKqO782RI12bSwk1oEwMqAIPp07XQoH /38rgJrl8lkJrXcLiCZyuAw6inqaIA07gQlFqwO+S9Nilhok43q+t5zmF2owa3zgwsyf jGVA== MIME-Version: 1.0 X-Received: by 10.68.244.72 with SMTP id xe8mr2956332pbc.51.1367939927964; Tue, 07 May 2013 08:18:47 -0700 (PDT) Received: by 10.68.93.130 with HTTP; Tue, 7 May 2013 08:18:47 -0700 (PDT) In-Reply-To: References: <20130505082750.GY12114@ithaqua.etoilebsd.net> <20130505084925.GZ12114@ithaqua.etoilebsd.net> <1e05f442e819d9eb77b16cee5b47d4c4@webmail.lerctr.org> Date: Tue, 7 May 2013 18:18:47 +0300 Message-ID: Subject: Re: openjdk6 broken on current From: Alexander Yerenkow To: Larry Rosenman , java@freebsd.org, "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2013 15:18:49 -0000 Can anyone look into latest changes in swapcontext? http://svnweb.freebsd.org/base/head/lib/libthr/thread/thr_sig.c?sortby=date&view=log Seems some of it broke openjdk6 (more in java@ list archive). Thanks. 2013/5/7 Larry Rosenman > On 2013-05-07 02:10, Alexander Yerenkow wrote: > >> Then seems that's it - swapcontext change probably culprit. >> I got rechecked generated classes at other pc - classes are fine, >> same command with classes from 10-current not segfaulting in a bit >> older 10-current. >> Thank you Larry for access, I'm done there :) >> >> > Any idea(s) on how to fix it? > > > > 2013/5/7 Larry Rosenman >> >> Alexander Yerenkow wrote: >>> >>> 2013/5/7 Larry Rosenman >>>> >>>> I have 64G ram..... >>>>> >>>>> and I have workdir saved..... >>>>> >>>>> who wants an SSH account to look at and fix it? >>>>> >>>> >>>> Okay, while we are here, here is backtrace from executing java while >>>> building port openjdk6: >>>> >>>> #0 0x0000000801e2da93 in JVM_handle_bsd_signal () from >>>> /usr/ports/java/openjdk6/work/**build/bsd-amd64/lib/amd64/** >>>> server/libjvm.so >>>> #1 0x0000000800a49116 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 0x00007fffffbfa080 in ?? () >>>> #8 0x000000080383b828 in ?? () >>>> #9 0x000000080685e6e0 in ?? () >>>> #10 0x000000080684f000 in ?? () >>>> #11 0x00007fffffbfa0d0 in ?? () >>>> #12 0x00007fffffbfa148 in ?? () >>>> #13 0x000000080308f000 in ?? () >>>> #14 0x0000000806bab450 in ?? () >>>> #15 0x0000000803869eb9 in ?? () >>>> #16 0x0000000000000000 in ?? () >>>> >>>> Is there any known significant changes about libthr (or any other ) >>>> before r250047 ? >>>> >>> >>> There were some commits around swapcontext recently........ >>> -- >>> Sent from Kaiten Mail. Please excuse my brevity. >>> >> >> -- >> Regards, >> Alexander Yerenkow >> > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 (c) E-Mail: ler@lerctr.org > US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 > -- Regards, Alexander Yerenkow