harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang" <zhanghuang...@gmail.com>
Subject [classlib][awt] An awt bug? (was Re: [application] [feedback] VM crashed when running Poleposition on Harmony)
Date Sun, 15 Oct 2006 15:08:14 GMT
PolePosition(actually JFreeChat) throws IllegalPathStateException when
generating test report.The error message looks like (I added a sysout(shape)
in CommonGraphics2D#fill method):

java.awt.geom.Rectangle2D$Double[x=0.0,y=0.0,width=750.0,height=500.0]
java.awt.geom.RoundRectangle2D$Double@288c288c
java.awt.geom.IllegalPathStateException: First segment should be SEG_MOVETO
type
 at java.awt.geom.GeneralPath.checkBuf(GeneralPath.java:24)
 at java.awt.geom.GeneralPath.closePath(GeneralPath.java:260)
 at java.awt.geom.GeneralPath.append(GeneralPath.java:296)
 at java.awt.geom.AffineTransform.createTransformedShape(
AffineTransform.java:535)
 at org.apache.harmony.awt.gl.CommonGraphics2D.fill(CommonGraphics2D.java
:723)
 at org.jfree.chart.StandardLegend.drawLegendBox(StandardLegend.java:875)
 at org.jfree.chart.StandardLegend.draw(StandardLegend.java:757)
 at org.jfree.chart.StandardLegend.draw(StandardLegend.java:578)


On 10/15/06, Andrew Zhang <zhanghuangzhu@gmail.com> wrote:
>
> I simplified  test scenario in PolePosition. Now it throws unexpected
> exception when generating test report:
> java.awt.geom.IllegalPathStateException: First segment should be
> SEG_MOVETO type
>  at java.awt.geom.GeneralPath.checkBuf(GeneralPath.java:204)
>  at java.awt.geom.GeneralPath.closePath(GeneralPath.java:260)
>  at java.awt.geom.GeneralPath.append(GeneralPath.java:296)
>  at java.awt.geom.AffineTransform.createTransformedShape(
> AffineTransform.java:535)
>  at org.apache.harmony.awt.gl.CommonGraphics2D.fill(CommonGraphics2D.java:722)
>
>  at org.jfree.chart.StandardLegend.drawLegendBox(StandardLegend.java:875)
>  at org.jfree.chart.StandardLegend.draw(StandardLegend.java:757)
>  at org.jfree.chart.StandardLegend.draw(StandardLegend.java:578)
>  at org.jfree.chart.JFreeChart.draw(JFreeChart.java:966)
>  at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1157)
>  at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1136)
>  at org.jfree.chart.JFreeChart.createBufferedImage (JFreeChart.java:1121)
>  at org.polepos.reporters.HTMLReporter.renderLapGraph(HTMLReporter.java
> :121)
>  at org.polepos.reporters.HTMLReporter.report(HTMLReporter.java:58)
>  at org.polepos.reporters.GraphReporter.endSeason (GraphReporter.java:13)
>  at org.polepos.framework.Racer.run(Racer.java:114)
>  at org.polepos.framework.Racer.<init>(Racer.java:44)
>  at org.polepos.RunSeason.main(RunSeason.java:93)
>
>
>  On 10/14/06, Andrew Zhang <zhanghuangzhu@gmail.com> wrote:
> >
> > PolePosition is a benchmark test suite to compare database engines and
> > object-relational mapping technology. ( http://www.polepos.org/). I
> > tried to run PolePosition on Harmony(lastest build), but unfortunately vm
> > crashed during the execution.
> >
> > The DRLVM crashes at the very early stage, while IBM VME crashes after a
> > while. No error message is printed out from DRLVM, while IBM VME gives
> > following message [1]. Any comments about "jclclear_23.dll" and "the extra
> > info 0012FB7C" ?
> >
> > [1] IBM VME error message:
> > Unhandled exception
> > Type=Segmentation error vmState=0x00040000
> > J9Generic_Signal_Number=00000004 ExceptionCode=c0000005
> > ExceptionAddress=7F96A8EC ContextFlags=0001003f
> > Handler1=7FE50390 Handler2=7FD074F0 InaccessibleAddress=0137D580
> > EDI=0074BB40 ESI=0081F100 EAX=11761268 EBX=0137D568
> > ECX=0000000C EDX=00000004
> > EIP=7F96A8EC ESP=0012F81C EBP=001D5500
> > Module=D:\Harmony\deploy\jdk\jre\bin\default\jclclear_23.dll
> > Module_base_address=7F950000 Offset_in_DLL=0001a8ec
> > Target=2_30_20060727_07300_lHdSMR (Windows XP 5.1 build 2600 Service
> > Pack 2)
> > CPU=x86 (1 logical CPUs) (0x1f77c000 RAM)
> > ...
> >     _org.apache.harmony.vmi.portlib (extra info: 0012FB7C)
> >     -Xjcl:jclclear_23
> >     _j2se_j9=136448
> >
> > --
> > Best regards,
> > Andrew Zhang
> >
>
>
>
> --
> Best regards,
> Andrew Zhang




-- 
Best regards,
Andrew Zhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message