JDK-5082893 : Java2D program crashes in libdcpr
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,linux
  • CPU: generic,x86
  • Submitted: 2004-08-05
  • Updated: 2004-10-27
  • Resolved: 2004-10-27
Related Reports
Duplicate :  
Description
The enclosed headless program attempts to draw a large GeneralPath onto a BufferedImage.  The JDK 1.5 beta VM aborts during drawing with the following error:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x461796a0, pid=4218, tid=1024
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b51 mixed mode, sharing)
# Problematic frame:
# C  [libdcpr.so+0xb6a0]
#
# An error report file with more information is saved as hs_err_pid4218.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
###@###.### 10/27/04 08:43 GMT

Comments
PUBLIC COMMENTS Java2D program crashes in libdcpr
09-09-2004

EVALUATION I've reproduced this bug with jdk 1.5.0-rc-b63. Looks like a duplicate of the 5089985 (which is FIP). We are indexing out of the runs buffer. The stack trace of the crash is the same and the current version of the fix solves the problem. Here is the stack trace: runCheckForArcAppend(doeEData_ * 0x0307fd20, dcPathFillerData_ * 0x030876a4, int 17, int 6, int 1, float 0.000000, float 0.000000, float 0.000000, float 4.76837e-007, int 3) line 837 appendToRunArc1(doeEData_ * 0x0307fd20, dcPathFillerData_ * 0x030876a4, float 0.000000, float 0.000000, float 0.000000, float 4.76837e-007, int 17, int 6) line 915 + 41 bytes processToRunsArc1(doeEData_ * 0x0307fd20, dcPathFillerData_ * 0x030876a4, float 15.7969, float 5.79687, float 16.0000, float 6.00000) line 595 + 37 bytes RunsBuilder_appendLine(doeEData_ * 0x0307fd20, dcPathConsumerFace_ * * 0x030885cc, float 16.0731, float 6.07309) line 285 + 35 bytes appendLine_describeTo(doeEData_ * 0x0307fd20, dcPathStoreItemFace_ * * 0x0349b1e8, dcPathConsumerFace_ * * 0x030885cc) line 191 + 30 bytes sendTo(doeEData_ * 0x0307fd20, dcFastPathProducerFace_ * * 0x030877ac, dcPathConsumerFace_ * * 0x030885cc) line 507 + 20 bytes setOutputArea(doeEData_ * 0x0307fd20, dcPathFillerFace_ * * 0x030876a4, float 0.000000, float 0.000000, int 16, int 16) line 1449 + 26 bytes Java_sun_dc_pr_PathFiller_setOutputArea(const JNINativeInterface_ * * 0x00894dc0, _jobject * 0x0006f870, float 0.000000, float 0.000000, long 512, long 512) line 260 + 38 bytes 009fc744() ###@###.### 2004-09-08
08-09-2004