JDK-6322712 : javaws -viewer failed - hotspot crash
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2005-09-12
  • Updated: 2014-12-02
  • Resolved: 2005-10-26
Related Reports
Duplicate :  
Description
"javaws -viewer" fails with hotspot crash:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x4afd705c, pid=7960, tid=1262570416
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b51 mixed mode)
# Problematic frame:
# C  [libgdk-x11-2.0.so.0+0x1405c]  gdk_draw_point+0x4c
#

reproducable on our stt-04 (SPB) lab machine, but not with 100% probability. It could unexpectedly occur on any build b43 - b51. 

Log file is attached.

machine and OS info:
Linux stt-04 2.6.11.4-21.7-default #1 Thu Jun 2 14:23:14 UTC 2005 i686 i686 i386 GNU/Linux 
SuSE Linux 9.3 (i586)
VERSION = 9.3

But it works OK when started using remote shell and local DISPLAY.

Also it works fine on our JDS lab machine :
Linux stt-07 2.6.5-7.139-smp #1 SMP Fri Jan 14 15:41:33 UTC 2005 i686 i686 i386 GNU/Linux
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9

Comments
EVALUATION looking at the hs_err log, the crash is happening when we are trying to do a Dialog.setVisible, which eventually calls into com.sun.java.swing.plaf.gtk.GTKNativeEngine.native_paint_shadow, and then calls into native code and finally crash at C [libgdk-x11-2.0.so.0+0x1405c] gdk_draw_point+0x4c re-assigning to swing for further evaluation.
22-09-2005