Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2019 00:40:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 233470] java/openjdk8: Frequent JVM crashes with devel/sbt on 12-RC1
Message-ID:  <bug-233470-8522-YCgkIzBiQg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233470-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233470-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233470

Bojan Petrovic <bojan_petrovic@fastmail.fm> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bojan_petrovic@fastmail.fm
 Attachment #201008|text/x-log                  |text/plain
          mime type|                            |

--- Comment #5 from Bojan Petrovic <bojan_petrovic@fastmail.fm> ---
Created attachment 201008
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D201008&action=
=3Dedit
sbt 1.1.4 JVM crash dump

I'm running 12.0-RELEASE-p1 r342631.

I compiled the java/openjdk8 with DEBUG option turned on, and sbt 1.1.4
constantly crashes.

The last frame belonging to sbt in the attached stack trace is:

sbt.internal.io.FreeBSD64Milli$.$anonfun$getModifiedTimeNative$3(Ljava/lang=
/String;Lsbt/internal/io/FreeBSD64FileStat;)I+11

Afterwards, it goes to jna native stuff.

sbt.io seems to be working with manual offsets into stat struct:

https://github.com/sbt/io/blob/87e9e49bb8faf829c5f3a0f9c69e5cb865309a6c/io/=
src/main/scala/sbt/internal/io/Milli.scala#L227


The stat.h was modified in r318736 ("Commit the 64-bit inode project"), whi=
ch,
as the commit message says, might break existing software.

This issue could be related to the crash in this bug, but it manifests itse=
lf
regularly in DEBUG version of openjdk8, not sporadically.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233470-8522-YCgkIzBiQg>