From nobody Mon Dec 20 01:44:28 2021 X-Original-To: freebsd-java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 903DE18FC372 for ; Mon, 20 Dec 2021 01:44:53 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JHMpX4JM4z4VBx for ; Mon, 20 Dec 2021 01:44:51 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-oi1-x231.google.com with SMTP id bk14so13527925oib.7 for ; Sun, 19 Dec 2021 17:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=MsH1QyOQj8RY8aa99jQDwNEsDurzmZ1+lTgAtwM5sLM=; b=tv2W5f2wuMgm2jVzz6zUHCU7z4yB6NTXL44BV3qWyJ7J3GiHDNoxWu9vM2sr5zJtQw siTUWTPsJtP6/0trS3VCgwxjwO1UxR/+XAyVEzsnQquegsWOSVhDxkW9atyLXKL41eRh UYg+Ae2Y8F0cp9YW9k9tKx5OPIcIwm+LBqL3MvudOHy4vWjBXYIePThCIEj4hCW6MYiw ptON0delCzrU++9vcfeDy5cZwhSjf4y2aYs7WffXAvXjvTJaGtNr1r34hPx0S5nCClkC W6xJ3O8H2qrSX9D3Jof8DeGXdMhUCDg9iCJYFBTmcPJc36U5ZIajxupshufeXK5yVMBy aYbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MsH1QyOQj8RY8aa99jQDwNEsDurzmZ1+lTgAtwM5sLM=; b=6I9RsIk9eeKRHoKt03nwIPUPkoL/zZgdBMTiZxANnZN0sWQJ2TGbMWwHdZqbBPkDXp MyZVY3ectUHzzIKmqWnB1WPmruCyVeN8mZEyWwVNlW0geZb+Rai19lqVG7DYoLe8v2LM hCJtZcZ8uEO+2QDkyHFbU7Iy3efeVsu4SsXPumJJED8B9SantwelYy03X1Mlk8ykCRSw IXHj5ddJ9EtWETFqPtv7gXzA4vOQ0AowdUEstojRGKzMJt7dkJpjcPahP+lW4Eg45hUv z3oBylmCO1DW6Rs2KxNR1/2Bab1fJtQ3qzoJ8c+Hh2nUjMPy8uUvOYXog/o8b03aKQcz QFEg== X-Gm-Message-State: AOAM531GmG5uxh1HuoDfnITvLa0vOZdMKcH3hzQkG06casL1kxzc7aEd zIHHVklujsZpHP0w7qOK5j06uiCveP191xy68mswzSg7rKeBfw== X-Google-Smtp-Source: ABdhPJxTrgiFw29L02X4QznpxYF6S9VCzkuZX32Oo8a3GOwa82Cq9VM8WHO9cf6KY0CxMURaJlKRT+AbD5p3D+fXX64= X-Received: by 2002:a05:6808:bc9:: with SMTP id o9mr10233203oik.150.1639964684550; Sun, 19 Dec 2021 17:44:44 -0800 (PST) List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@freebsd.org MIME-Version: 1.0 From: Jonathan Chen Date: Mon, 20 Dec 2021 14:44:28 +1300 Message-ID: Subject: clang-13 built java/openjdk11 on recent stable/12 To: freebsd-java@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4JHMpX4JM4z4VBx X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chen-org-nz.20210112.gappssmtp.com header.s=20210112 header.b=tv2W5f2w; dmarc=none; spf=softfail (mx1.freebsd.org: 2607:f8b0:4864:20::231 is neither permitted nor denied by domain of jonc@chen.org.nz) smtp.mailfrom=jonc@chen.org.nz X-Spamd-Result: default: False [2.70 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20210112.gappssmtp.com:s=20210112]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[11.0.0.13:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.999]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; DMARC_NA(0.00)[chen.org.nz]; DBL_PROHIBIT(0.00)[11.0.0.13:email]; DKIM_TRACE(0.00)[chen-org-nz.20210112.gappssmtp.com:+]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::231:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi, I updated to stable/12 on 15-Dec, and it appears that with the switch to clang-13, java/openjdk11 is not quite as stable as one built with clang-12. When I attempt to build java/eclipse, I keep getting a seg-fault. It's quite a big file, so I've only attached the first part to the end of this email. Please let me know if if the larger file is required. Cheers. -- Jonathan Chen # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000802cbee66, pid=60971, tid=142096 # # JRE version: OpenJDK Runtime Environment (11.0.13+8) (build 11.0.13+8-1) # Java VM: OpenJDK 64-Bit Server VM (11.0.13+8-1, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64) # Problematic frame: # V [libjvm.so+0xebee66] JVM_RaiseSignal+0x3d15c6 # # Core dump will be written. Default location: /construction/xports/java/eclipse/work/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.preferences/java.core # # If you would like to submit a bug report, please visit: # https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/o # --------------- S U M M A R Y ------------ Command Line: /construction/xports/java/eclipse/work/eclipse-maven-repo-4.16/p2/osgi/bundle/org.eclipse.equinox.launcher/1.5.700.v20200207-2156/org.eclipse.equinox.launcher-1.5.700.v20200207-2156.jar -install /construction/xports/java/eclipse/work/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.preferences/target/eclipserun-work -configuration /construction/xports/java/eclipse/work/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.preferences/target/eclipserun-work/configuration -data target/apibuild-workspace -application org.eclipse.ant.core.antRunner -buildfile target/.apibuild.xml Host: AMD Ryzen 5 2600X Six-Core Processor amd64, 12 cores, 15G, FreeBSD 13.0-STABLE Time: Mon Dec 20 01:33:51 2021 UTC elapsed time: 2.659902 seconds (0d 0h 0m 2s) --------------- T H R E A D --------------- Current thread (0x000000080327d800): JavaThread "Equinox resolver thread - Equinox Container: a9c921fa-7903-47f8-b4ef-43d84e26b5bd" daemon [_thread_in_vm, id=142096, stack(0x00007fffde9e9000,0x00007fffdeae9000)] Stack: [0x00007fffde9e9000,0x00007fffdeae9000], sp=0x00007fffdeae85b0, free space=1021k Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0xebee66] JVM_RaiseSignal+0x3d15c6 V [libjvm.so+0xebebef] JVM_RaiseSignal+0x3d134f V [libjvm.so+0x9fc973] AsyncGetCallTrace+0xd0963 V [libjvm.so+0x9fcb90] AsyncGetCallTrace+0xd0b80 V [libjvm.so+0xa146e0] AsyncGetCallTrace+0xe86d0 j java.util.concurrent.SynchronousQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;+30 java.base@11.0.13 j java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable;+132 java.base@11.0.13 j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+26 java.base@11.0.13 j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@11.0.13 j java.lang.Thread.run()V+11 java.base@11.0.13 v ~StubRoutines::call_stub V [libjvm.so+0xa1d2e3] AsyncGetCallTrace+0xf12d3 V [libjvm.so+0xa1c604] AsyncGetCallTrace+0xf05f4 V [libjvm.so+0xa1c6b2] AsyncGetCallTrace+0xf06a2 V [libjvm.so+0xad4a10] JVM_StartThread+0x430 V [libjvm.so+0xef431c] JVM_RaiseSignal+0x406a7c V [libjvm.so+0xef1bb8] JVM_RaiseSignal+0x404318 V [libjvm.so+0xd3ebc9] JVM_RaiseSignal+0x251329 C [libthr.so.3+0x1083a] operator->+0x8ca Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j java.util.concurrent.SynchronousQueue.poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;+30 java.base@11.0.13 j java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable;+132 java.base@11.0.13 j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+26 java.base@11.0.13 j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@11.0.13 j java.lang.Thread.run()V+11 java.base@11.0.13 v ~StubRoutines::call_stub siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000