https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362009-10-21T21:43:15ZEcoinformatics RedmineKepler - Bug #4482: JRE Exception Access Violationshttps://projects.ecoinformatics.org/ecoinfo/issues/4482?journal_id=153412009-10-21T21:43:15ZChristopher Brookscxh@eecs.berkeley.edu
<ul></ul><p>These are Java issues. Both stack traces show the problem being in the <br />AWT-EventQueue thread.</p>
<p>The one with a useful stack trace has:</p>
<p>Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)<br />C [ntdll.dll+0x21fb7]<br />C [msvcr71.dll+0x16b3]<br />C [msvcr71.dll+0x16db]<br />C [dcpr.dll+0x22a5]<br />J sun.dc.pr.Rasterizer.appendLine(FF)V<br />J sun.java2d.pipe.DuctusRenderer.createShapeRasterizer(Ljava/awt/geom/PathIterator;Ljava/awt/geom/AffineTransform;Ljava/awt/BasicStroke;ZZF)Lsun/dc/pr/Rasterizer;<br />J sun.java2d.pipe.DuctusShapeRenderer.renderPath(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;Ljava/awt/BasicStroke;)V<br />J sun.java2d.pipe.DuctusShapeRenderer.fill(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V<br />J sun.java2d.pipe.PixelToParallelogramConverter.fill(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V<br />J sun.java2d.pipe.PixelToParallelogramConverter.fill(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V<br />J sun.java2d.pipe.ValidatePipe.fill(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V<br />J sun.java2d.SunGraphics2D.fill(Ljava/awt/Shape;)V<br />J diva.canvas.toolbox.LabelFigure.paint(Ljava/awt/Graphics2D;)V<br />J diva.canvas.AbstractFigure.paint(Ljava/awt/Graphics2D;Ljava/awt/geom/Rectangle2D;)V<br />J diva.canvas.CompositeFigure.paint(Ljava/awt/Graphics2D;Ljava/awt/geom/Rectangle2D;)V<br />J diva.canvas.FigureLayer.paint(Ljava/awt/Graphics2D;Ljava/awt/geom/Rectangle2D;)V<br />J diva.canvas.CanvasPane.paint(Ljava/awt/Graphics2D;Ljava/awt/geom/Rectangle2D;)V<br />J diva.canvas.JCanvas.paint(Ljava/awt/Graphics;)V<br />J javax.swing.JComponent.paintChildren(Ljava/awt<br />/Graphics;)V</p>
<p>Searching google for:<br />sun.dc.pr.Rasterizer.appendLine dcpr<br />Comes up with two hits, neither of one is conclusive.</p>
<p>In general, if Kepler or Ptolemy is run and no JNI is used to load<br />Kepler or Ptolemy .dll and the JVM crashes, then it is a JVM bug.<br />It is very easy to crash the JVM if Kepler or Ptolemy uses JNI code<br />that loads a .dll or other shared library.</p>
<p>I'd probably close this one as it is a JVM bug, not a Kepler or Ptolemy bug.</p> Kepler - Bug #4482: JRE Exception Access Violationshttps://projects.ecoinformatics.org/ecoinfo/issues/4482?journal_id=153422009-10-21T21:53:11ZOliver Soongsoong@nceas.ucsb.edu
<ul></ul><p>Is there anything I can do to avoid this? I hate saving my work.</p> Kepler - Bug #4482: JRE Exception Access Violationshttps://projects.ecoinformatics.org/ecoinfo/issues/4482?journal_id=153432009-10-21T22:02:33ZChristopher Brookscxh@eecs.berkeley.edu
<ul></ul><p>The problem is likely specific to the machine, graphics card, OS and JVM.</p>
<p>Try upgrading the JRE that you are using.<br /> The error was from JRE version: 6.0_14-b08, I think Java 1.6.0_15 is out?</p>
<p>Try using a Java 1.5 JRE instead of a 1.6.<br />Try using different resolutions.<br />Try using a different graphics card.<br />Try using a different machine? (drastic, I know).</p> Kepler - Bug #4482: JRE Exception Access Violationshttps://projects.ecoinformatics.org/ecoinfo/issues/4482?journal_id=153442010-01-13T22:30:33ZChad Berkleyberkley@nceas.ucsb.edu
<ul></ul><p>probably machine specific. not a kepler bug.</p> Kepler - Bug #4482: JRE Exception Access Violationshttps://projects.ecoinformatics.org/ecoinfo/issues/4482?journal_id=153452013-03-27T21:27:00ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 4482</p>