[Bug 3670] New: NativeMemoryTracking=detail causes segmentation fault on startup

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sun Dec 9 04:08:01 UTC 2018


https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3670

            Bug ID: 3670
           Summary: NativeMemoryTracking=detail causes segmentation fault
                    on startup
           Product: IcedTea
           Version: 1.x-hg
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: bayetovsky at gmail.com
                CC: unassigned at icedtea.classpath.org

Enabling NativeMemory Tracking caused our application to fail to start-up due
to segmentation fault. This behaviour is reproducible 100% of the times by
running "java -XX:NativeMemoryTracking=detail -version"

It appears as if the Java argument parser is causing a Segmentation Fault when
NMT "detail" flag only as "summary" is able to start the JVM.

This was observed affecting versions 1.8.0_171 and 1.8.0_181 in Alpine Linux.


REPRODUCING THE ERROR:
/ # java -XX:NativeMemoryTracking=detail -version
Segmentation fault
/ # java -XX:NativeMemoryTracking=summary -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (IcedTea 3.8.0) (Alpine 8.171.11-r0)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)


ADDITIONAL SYSTEM INFORMATION :
Linux 8f64da1a8018 4.14.77-69.57.amzn1.x86_64 #1 SMP Tue Nov 6 21:32:55 UTC
2018 x86_64 Linux

openjdk version "1.8.0_171"
OpenJDK Runtime Environment (IcedTea 3.8.0) (Alpine 8.171.11-r0)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20181209/fe7545fc/attachment.html>


More information about the distro-pkg-dev mailing list