Jump to content
We've recently updated our Privacy Statement, available here ×

JVM process crash in net.sf.jasperreports.engine.export.JRGridLayout.horizontallyMergeEmptyCells


amasson

Recommended Posts

 I have a JVM crash during a JasperReport generation.

After searching the Oracle Java bug database, it seems that I'm not the only one to have this problem:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7177085

It's exactly the same problem.

 

I know it's not a bug in JasperReport lib itself,

but was this bug observed by others ?

and is there a known workaround to avoid it?

(A full Tomcat crash has some serious consequences...)

 

I cannot provide a sample code, just some info:

- it occurs with JR 4.5.0 (in Tomcat 7) on a Linux with  a 64-bit JVM, JDK 1.7.0u3/DK 1.7.0u5.

- the report must be generated several times (probably to trigger the JIT compiler)

- seems to not occur on Windows, only on Linux

 

Thanks in advance!

 



Post Edited by amasson at 07/30/2012 13:51



Post Edited by amasson at 07/30/2012 13:52
Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 months later...
  • 4 months later...

Seems for large HTML reports I experienced this bug as well, below is some info:

 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f6ce10b5eb1, pid=15496, tid=140105359361792
#
# JRE version: 7.0_15-b03
# Java VM: Java HotSpot 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x719eb1]  Node::rematerialize() const+0x1
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#
 
Current CompileTask:
C2: 114309   54 %           net.sf.jasperreports.engine.export.JRGridLayout::horizontallyMergeEmptyCells @ 18 (175 bytes)
 
 
Adding the below JVM option worked for me:
 
 -XX:-UseLoopPredicate -XX:-LoopLimitCheck
 
This option did not work:  -XX:CompileCommand=exclude,net/sf/jasperreports/engine/export/JRGridLayout,horizontallyMergeEmptyCell
Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...