[Bug 2023] New: JVM crash - seg fault

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Sep 29 08:27:27 UTC 2014


            Bug ID: 2023
           Summary: JVM crash - seg fault
           Product: IcedTea
           Version: 2.5.2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: dbirch at perforce.com
                CC: unassigned at icedtea.classpath.org

Created attachment 1182
  --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1182&action=edit
Full crash log

In normal operation of my code, I see one of the following three messages,
there is normally no proper crash report, just one of these messages written to
std out:
*** Error in `/usr/lib/jvm/java-7-openjdk-amd64/bin/java': double free or
corruption (!prev): 0x00007f0f0c2feaf0 ***
*** Error in `/usr/lib/jvm/java-7-openjdk-amd64/bin/java': free(): invalid
pointer: 0x00007fb988466f30 ***
*** Error in `/usr/lib/jvm/java-7-openjdk-amd64/bin/java': free(): invalid
size: 0x00007f57cc601de0 ***

On trying to debug through and find out where in my code this fault was
occurring, I managed to get it down to during the TestNG reporters running at
the end of my test run, and actually managed to get eclipse to spit out a crash
# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007fd195a55ceb, pid=14757, tid=140537927476992
# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32)
# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64
compressed oops)
# Derivative: IcedTea 2.5.2
# Distribution: Ubuntu 14.04 LTS, package 7u65-2.5.2-3~14.04
# Problematic frame:
# V  [libjvm.so+0x7c9ceb]  os::is_interrupted(Thread*, bool)+0xb
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
# An error report file with more information is saved as:
# /home/dbirch/Perforce/dbirch-linux-testforce/hs_err_pid14757.log
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter at 4b8899ad: 68 ms

I've attached the full log file to the bug, hope it helps with reproduction.
>From my experience, I am running a number of tests around a remote NIO file
system, using ssh & scp (provided by the sshj library).

The code run is the first 5 tests I've written to test this, run individually
the tests run with no issue, run together the JVM crashes 100% of the time with
one of the above errors, so I'm wondering if it might be memory related. I
recently changed the code slightly try to work around the issue, prior to the
code changes I was seeing an addition error:

*** Error in `/usr/lib/jvm/java-7-openjdk-amd64/bin/java': corrupted
doubly-linked list
(or very similar)

Let me know if you need more info, a core dump or if I need to put some code
together for you to reproduce the scenario.

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/20140929/989f0743/attachment.html>

More information about the distro-pkg-dev mailing list