Duplicate :
|
FULL PRODUCT VERSION : java version "1.5.0_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP [Version 5.1.2600] A DESCRIPTION OF THE PROBLEM : When painting to STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : within a Graphics2D object create + draw a GeneralPath with an elipse in it, with these params Graphics2D g2d = ((Graphics2D)g); BasicStroke DASH_STROKE = new BasicStroke( 1, BasicStroke.CAP_SQUARE, BasicStroke.JOIN_MITER, 1, new float[]{3, 6}, 0); g2d.setStroke( DASH_STROKE ); GeneralPath path = new GeneralPath( new Ellipse2D.Float(156430.88f, -673088.8f, 5.6f , 5.6f) ); g2d.draw( path ); EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - JVM should not crash and exit ACTUAL - JVM will crash and exit ERROR MESSAGES/STACK TRACES THAT OCCUR : <message in console> An unrecoverable stack overflow has occurred. # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x6d2385ed, pid=2424, tid=352 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode) # Problematic frame: # C [dcpr.dll+0x85ed] # # An error report file with more information is saved as hs_err_pid2424.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # <hs_err_pid2424.log is below> # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x6d2385ed, pid=2424, tid=352 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode) # Problematic frame: # C [dcpr.dll+0x85ed] #