JDK-4824761 : Mozilla crash (java.lang.AbstractMethodError) when do Choice demo
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.1_02
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2003-02-27
  • Updated: 2004-10-29
  • Resolved: 2004-10-29
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
5.0 betaFixed
Related Reports
Relates :  
Description
Steps to reproduce:
1. Launch sun_mozilla1.2.1_05b,JRE1.4.1_02 on Solaris 9 CDE.
2. Open "Dither test/example1" of applet demo and open java console .
3. Click Choice "Red" or "Blue" .there are some exception on the console and some times it make mozilla cras.The exception and error log like following:
 --------------------------------------------------------------------------
java.lang.AbstractMethodError: java.awt.Window.getMostRecentFocusOwner()Ljava/awt/Component;
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:514)
	at java.awt.Component.dispatchEventImpl(Component.java:3509)
	at java.awt.Container.dispatchEventImpl(Container.java:1623)
	at java.awt.Window.dispatchEventImpl(Window.java:1590)
	at java.awt.Component.dispatchEvent(Component.java:3480)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
	at java.awt.SequencedEvent.dispatch(SequencedEvent.java:91)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
--------------------------------------------------------------------------
Unexpected Signal : 10 occurred at PC=0xFAC1517C
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


Current Java thread:

Dynamic libraries:
0x10000         java_vm
0xff370000      /usr/lib/libthread.so.1
0xff3a0000      /usr/lib/libdl.so.1
0xff280000      /usr/lib/libc.so.1
0xff350000      /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
0xfec00000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/client/libjvm.so
0xff240000      /usr/lib/libCrun.so.1
0xff210000      /usr/lib/libsocket.so.1
0xff100000      /usr/lib/libnsl.so.1
0xff1e0000      /usr/lib/libm.so.1
0xff360000      /usr/lib/libw.so.1
0xff0e0000      /usr/lib/libmp.so.2
0xff0c0000      /usr/lib/librt.so.1
0xff0a0000      /usr/lib/libaio.so.1
0xff070000      /usr/lib/libmd5.so.1
0xfebe0000      /usr/platform/SUNW,Sun-Blade-100/lib/libmd5_psr.so.1
0xfebb0000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/native_threads/libh
pi.so
0xfeb70000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libverify.so
0xfeb30000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libjava.so
0xfeb10000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libzip.so
0xf2400000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libawt.so
0xf2380000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libmlib_image.so
0xfce10000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/motif21/libmawt.so
0xf2100000      /usr/lib/libXm.so.4
0xfcd10000      /usr/lib/libXt.so.4
0xfcc50000      /usr/lib/libXext.so.0
0xfcf10000      /usr/lib/libXtst.so.1
0xf2000000      /usr/lib/libX11.so.4
0xfab20000      /usr/openwin/lib/libdps.so.5
0xfcc20000      /usr/lib/libSM.so.6
0xfaa50000      /usr/lib/libICE.so.6
0xfaa10000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libjavaplugin_jni.s
o
0xfeae0000      /usr/lib/libintl.so.1
0xf1f00000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libfontmanager.so
0xfa950000      /usr/lib//liblayout.so
0xfa920000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libsunwjdga.so
0xfa850000      /usr/openwin/lib/libdga.so.1
0xfa820000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libjdgaSUNWm64.so
0xf26d0000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libnet.so
0xf2690000      /export/home/hjw/jdks/j2re1.4.1_02/lib/sparc/libdcpr.so

Local Time = Tue Feb 25 11:25:13 2003
Elapsed Time = 254
#
# HotSpot Virtual Machine Error : 10
# Error ID : 4F530E43505002E6 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
#
-------------------------------------------------------------------
Attachment the core file
###@###.### 10/26/04 07:19 GMT

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-beta
24-08-2004

PUBLIC COMMENTS I used Mozilla1.2.1(2003/07/11),and Mozilla1.4_12, with JRE1.5_b29,on solaris9, This bug had been fixed, and it can't be reproduced.Thanks. ###@###.### 2003-12-11
11-12-2003

EVALUATION Normally, a java.lang.AbstractMethodError would be caught at complie time. Sounds like some kind of memory corruption. ###@###.### 2003-02-27 Not reptoducible: 1.4.2b18, 1.4.2b01, 1.4.1(fcs), 1.4.1_01 Reproduced it only with 1.4.1_02, though I remember I was able to get the same failure on other releases. When it fails, it either throws an exception NullPointerException or AbstractMethodError in DefaultKeyboardFocusManager.java line 514, or dump core. DKFM:514 is 512 Component oppositeComp = null; 513 if (oppositeWindow != null) { 514 oppositeComp = oppositeWindow.getMostRecentFocusOwner(); 515 } So, you see that there couldn't be neither NullPinterException nor AbstractMethodError if it is not a memory corruption. We already had some of the bugs with the same symptoms - the same source line, the same errors(see 4698665,4726821, some other). According to bug reports they were all finally fixed in Mantis build 8. But that means that I should have been able to reproduce the problem with Mantis b01 but I wasn't. I'll try to reproduce it with some earlier Mantis releases. ###@###.### 2003-03-06 Based on correspondence with the submitter, I think this particular bug was fixed in Mantis. However, it is difficult to be absolutely sure due to other issues, so I will commit it to Tiger. See Comments. ###@###.### 2003-03-27 Name: dmR10075 Date: 04/21/2003 I think the cause to this bug is described in 4784698. The fix for this problem was integrated in mantis-beta. Now it should be back-ported to other update releases. ###@###.### 2003-04-21 ====================================================================== I think I will recommit this to Tiger. After the XEmbed work is complete, and some of the other mozilla/plugin issues have been dealt with, perhaps the submitter will be able to verify that it has been fixed. ###@###.### 2003-05-12 Name: dmR10075 Date: 11/10/2003 The XEmbed has been implemented for both Toolkits on Solaris and Linux. Could the submitter please verify that the bug is not reproducible with 1.5.0b26 and Mozilla from here: http://sceri.prc.sun.com/download/incoming/xembed/? ###@###.### 2003-11-10 ======================================================================
10-11-2003