-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
x86, sparc
-
solaris_7, windows_nt
Name: rlT66838 Date: 01/17/2000
H:\tmp\java>java -version
java version "1.3beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)
An example program that shows the problem is given below.
These particular values seem to be tripping the intersects algorithm.
The error message is as follows:
H:\tmp\java>java Foobar
#
# HotSpot Virtual Machine Error, EXCEPTION_STACK_OVERFLOW
#
# Error ID: 4F533F57494E13120E43505002B0
#
abnormal program termination
--------------------------------------------------
import java.awt.geom.*;
import java.awt.*;
public class Foobar {
public static void main(String[] args) {
CubicCurve2D ccurve = new CubicCurve2D.Float(798049, 1219070,
797937, 1219280,
798047, 1219070,
797997, 1219180);
Rectangle2D rect = new Rectangle2D.Float(796411, 1222113, 455, 753);
if(intersectsOutline(ccurve, rect, new BasicStroke()))
System.out.println("Intersects!!");
}
public static boolean intersectsOutline(Shape shape, Rectangle2D rect,
Stroke stroke) {
Shape stShape = stroke.createStrokedShape(shape);
return stShape.intersects(rect);
}
}
(Review ID: 99992)
======================================================================
Name: elR10090 Date: 04/28/2001
This bug causes failure of the following testbase_nsk tests:
nsk/regression/b4305163
Such record containing full test names allows to automatically
generate the following list of known test failures (we maintain
it updated every working day):
/net/sqesvr.eng/export/vsn/VM/testbase/nsk_stuff/buglist_nsk/nsk.knownbugs
======================================================================
- duplicates
-
JDK-4306935 the createStrokedShape() method causes Segmentation Fault on Solaris
-
- Closed
-
-
JDK-4306933 the createStrokedShape() method crashes the HotSpot Server VM on Solaris
-
- Closed
-
-
JDK-4482611 b4305163 test dumps core.
-
- Closed
-
- relates to
-
JDK-5054725 VM crashes (stack overflow) when using BasicStroke.createStrokedShape()
-
- Closed
-