Name: asR10013 Date: 03/04/2002
JDK : jdk1.4.1-b03
JCK : JCK1.4-b17, JCK 1.3a
Platform[s] : RH Linux 7.1, sparc sol7/8/9
switch/Mode : -client -Xfuture, -Xincgc -Xfuture, -server, NS621, -d64
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/java_awt/interactive/event/EventTests.html#EventTest0019
The test generates key events for letters and digits inside TextArea using Robot's methods keyPress/keyRelease
and uses TextAread.addKeyListener to ensure that all key events are properly delivered.
However, with jdk1.4.1-b03 not all events are delivered to test's TextArea.
It seems that the problem is caused by the coredump due to segmentation fault in SunAwtRobot child process.
Please note, that coredump is not created every time you starting the test.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/event/EventTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/event/KeyEventsTest1.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b03/jck14/linux/redhat6.2_gnome_client_incgc_linux-14/workDir/api/java_awt/interactive/event/EventTests_EventTest0019.jtr
How to reproduce:
=================
Run the following script (you may need to set JCK and JAVA_HOME variables).
--------Script START---------------------
#!/bin/sh
JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
export JCK
CLASSPATH="${JCK}/classes:${JCK}/javatest.jar"
export CLASSPATH
JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4.1/linux-i386
export JAVA_HOME
$JAVA_HOME/bin/java -showversion -Xfuture javasoft.sqe.tests.api.java.awt.interactive.event.EventTests -platform.robotAvailable true -TestCaseID EventTest0019
--------Script END----------------------
Test output:
============
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b03)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b03, mixed mode)
STATUS:Failed.tests: 1; failed: 1; first test case failure: EventTest0019
result: Failed. tests: 1; failed: 1; first test case failure: EventTest0019
bash-2.04$ gdb -core core
GNU gdb 5.0rh-5 Red Hat Linux 7.1
[...]
This GDB was configured as "i386-redhat-linux".
Core was generated by `SunAwtRobot 3 :0.0'.
Program terminated with signal 11, Segmentation fault.
#0 0x400d9837 in ?? ()
Specific Machine Info:
======================
Hostname: linux-14
Os: RH Linux 7.1
======================================================================