[Bug 1710] New: Crash SIGSEGV in C2 Compilerthread when compiling one specific method

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Mar 17 11:19:02 UTC 2014


            Bug ID: 1710
           Summary: Crash SIGSEGV in C2 Compilerthread when compiling one
                    specific method
           Product: IcedTea
           Version: 6-1.13.1
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: stefan at huehner.org
                CC: unassigned at icedtea.classpath.org

Since a openjdk/icedtea update in an ubuntu 10.04 instance from version
6b27-1.12.6-1ubuntu0.10.04.4 to version 6b30-1.13.1-1ubuntu2~ we are
seeing a jvm crash always when exporting one specific JasperReports report with
some dataset to HTMl.

Attached is a extracted small code which reliably triggers the crash.

The crash can be observed on:
Ubuntu 10.04 (6b30-1.13.1-1ubuntu2~ )
OpenJDK Runtime Environment (IcedTea6 1.13.1) (6b30-1.13.1-1ubuntu2~

Ubuntu 12.04
OpenJDK Runtime Environment (IcedTea6 1.13.1) (6b30-1.13.1-1ubuntu2~

OpenJDK Runtime Environment (IcedTea6 1.13.1) (6b30-1.13.1-1)
OpenJDK Runtime Environment (IcedTea 2.4.5) (7u51-2.4.5-2)
Java(TM) SE Runtime Environment (build 1.7.0_51-b13) (oracle binary jdk)

Using the following versions the crash cannot be triggered with the code below:
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.10.04.4)
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.4)

Also the crash can be worked around by specifying the following extra parameter
for the jvm:

As the jvm internal c++ stacktrace is a bit different in those cases crash logs
of each case are attached below.

How to call reproducer:
java -cp lib/runtime/*:build/classes/ org.openbravo.JasperC2CompilerCrash

The triggering method
net.sf.jasperreports.engine.export.JRGridLayout::horizontallyMergeEmptyCells is
inside the jasperreports library.

The sourcecode for that library (if needed) can be downloaded here:

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/20140317/c541ed15/attachment.html>

More information about the distro-pkg-dev mailing list