[Bug 233470] java/openjdk8: Frequent JVM crashes with devel/sbt on 12-RC1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 233470] java/openjdk8: Frequent JVM crashes with devel/sbt on 12-RC1

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233470

Bojan Petrovic <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
 Attachment #201008|text/x-log                  |text/plain
          mime type|                            |

--- Comment #5 from Bojan Petrovic <[hidden email]> ---
Created attachment 201008
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201008&action=edit
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"), which,
as the commit message says, might break existing software.

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

--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"