JDK-4482611 : b4305163 test dumps core.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.3.0,1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris_7,windows_nt
  • CPU: generic,x86,sparc
  • Submitted: 2001-07-20
  • Updated: 2012-10-10
  • Resolved: 2001-08-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 beta2Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Test : nsk/regression/b4305163
TestBase : testbase_nsk
Mode : comp, mixed, int
OS : Solsparc, solx86, linux

Steps to reproduce :
1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
2. sh doit {JAVA_HOME}

OR

1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
2. ${JAVA_HOME}/bin/java -showversion b4305163

Output :
java version "1.4.0-beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b72)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b72, mixed mode)

==> nsk/regression/b4305163 test LOG:
----> new CubicCurve2D object created!
----> CubicCurve2D object transformed into Shape object!
----> new Stroke object created!
----> createStrokedShape() - will be!
Segmentation Fault - core dumped

*******************************************************************
It still dumps core with b76.

Output:
java version "1.4.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b76)
Java HotSpot(TM) Client VM (build 1.4.0-beta2-b76, mixed mode)

==> nsk/regression/b4305163 test LOG:
----> new CubicCurve2D object created!
----> CubicCurve2D object transformed into Shape object!
----> new Stroke object created!
----> createStrokedShape() - will be!

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xDD05FF82
Function=Java_sun_dc_pr_PathStroker_finalize+0x9702
Library=/net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk1.4/b76/solx86/jre/lib/i386/libdcpr.so

Current Java thread:
        at sun.dc.pr.PathStroker.endPath(Native Method)
        at java.awt.BasicStroke.createStrokedShape(BasicStroke.java:352)
        at b4305163.run(b4305163.java:27)
        at b4305163.main(b4305163.java:36)

Dynamic libraries:
0x8050000       /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk/latest/solx86/bin/java
0xdfb80000      /usr/lib/libthread.so.1
0xdfbc0000      /usr/lib/libdl.so.1
0xdfad0000      /usr/lib/libc.so.1
0xded40000      /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk1.4/b76/solx86/jre/lib/i386/client/libjvm.so
0xdfa60000      /usr/lib/libCrun.so.1
0xdfa40000      /usr/lib/libsocket.so.1
0xdf990000      /usr/lib/libnsl.so.1
0xdf970000      /usr/lib/libm.so.1
0xdfa80000      /usr/lib/libw.so.1
0xdf940000      /usr/lib/libmp.so.2
0xdf910000      /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk1.4/b76/solx86/jre/lib/i386/native_threads/libhpi.so
0xdf8d0000      /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk1.4/b76/solx86/jre/lib/i386/libverify.so
0xdf8a0000      /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk1.4/b76/solx86/jre/lib/i386/libjava.so
0xdf880000      /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk1.4/b76/solx86/jre/lib/i386/libzip.so
0xdd050000      /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk1.4/b76/solx86/jre/lib/i386/libdcpr.so

Local Time = Thu Aug 16 12:17:51 2001
Elapsed Time = 1
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-beta2-b76 mixed mode)
#
# An error report file has been saved as hs_err_pid2420.log.
# Please refer to the file for further information.
#
Abort - core dumped

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta2 FIXED IN: merlin-beta2 INTEGRATED IN: merlin-beta2 VERIFIED IN: merlin-beta3
14-06-2004

EVALUATION This may be a duplicate of bug 4305163, recursive loop inside of 2D code. Still investigating. May change to 2D soon. Reading /net/curious-george.east/disk4/JDK/1.4/solsparc/jre/lib/sparc/libdcpr_g.so t@1 (l@1) signal SEGV (access to address exceeded protections) in anglesModulus dbx: warning: can't find file "/export/home/jdk/jdk1.4/ws/control/build/solaris-sparc/tmp/sun/sun.dc/dcpr/obj_g/angles.o" at 0xfd148a1c 0xfd148a1c: anglesModulus+0x001c: st %l0, [%fp - 0xc] (.../devtools/sparc/SUNWspro/SC6.1/bin/../WS6U1/bin/sparcv9/dbx) I don't have a JDK debug tree to step back. gary.collins@East 2001-07-23 Talked with Jeannette Hung, she said it looks like this could be theirs. Transferring to classes_2D gary.collins@East 2001-07-23 Fixed by adding a maximum recursion level test to the routines that process and subdivide cubic and quadratic curves in the line widening code. (Note that bug 4305163 was never fixed in the first place so it is unclear why there is a regression test in the SQE hierarchy for it...) jim.graham@Eng 2001-07-31
31-07-2001