JDK-4635406 : VM crashes on running the TestRunner In Interactive mode
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_redhat_7.1
  • CPU: x86
  • Submitted: 2002-02-08
  • Updated: 2002-04-30
  • Resolved: 2002-04-24
Related Reports
Duplicate :  
Description
Build = Build 92
Jdk = Merlin FCS (Jdk1.4.0)
OS  = Redhat7.1

The error below which i am getting is specific to Redhat7.1 ,
but not on any other os's.

When i execute these tests in the solo mode i am getting the following below core dump for the testcases (test026 and test036).
 
Steps to reproduce:

Set path to the current Jdk ,gnu and JAVA_HOME.Then give the following commands at the command line..

java -version..
===============
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

1) gnumake clean
2) gnumake compile
3) gnumake srun

When i execute in the solo mode by giving the command  gnumake srun then i am getting the below dump.

TestRunner runs for some time and aborts abruptly & gives core dump
gnumake : *** [run] Abort (core dump).

This happens in build 92. But it works fine in in Build 91. 
The machine being tested is having a Creative SB Live Value (WDM) sound card.

Following log file is generated:
================================

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4CF10AD8
Function=PV_ProcessSequencerEvents+0xC
Library=/net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libjsound.so

Current Java thread:
	at com.sun.media.sound.MixerThread.runNative(Native Method)
	at com.sun.media.sound.MixerThread.run(MixerThread.java:314)

Dynamic libraries:
08048000-0804d000 r-xp 00000000 00:16 151782     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/bin/java
0804d000-0804e000 rw-p 00004000 00:16 151782     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/bin/java
40000000-40016000 r-xp 00000000 03:46 1553469    /lib/ld-2.2.2.so
40016000-40017000 rw-p 00015000 03:46 1553469    /lib/ld-2.2.2.so
40018000-40021000 r-xp 00000000 00:16 151212     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/native_threads/libhpi.so
40021000-40022000 rw-p 00008000 00:16 151212     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/native_threads/libhpi.so
40022000-40023000 r--p 00000000 03:46 49060      /usr/lib/locale/en_US/LC_IDENTIFICATION
40023000-40024000 r--p 00000000 03:46 49061      /usr/lib/locale/en_US/LC_MEASUREMENT
40024000-40025000 r--p 00000000 03:46 49064      /usr/lib/locale/en_US/LC_TELEPHONE
40025000-40026000 r--p 00000000 03:46 49059      /usr/lib/locale/en_US/LC_ADDRESS
40026000-40027000 r--p 00000000 03:46 49062      /usr/lib/locale/en_US/LC_NAME
40027000-40028000 r--p 00000000 03:46 49063      /usr/lib/locale/en_US/LC_PAPER
40028000-40029000 r--p 00000000 03:46 294350     /usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
40029000-4002a000 r--p 00000000 03:46 1422632    /usr/lib/locale/en_US/LC_MONETARY
4002a000-4002b000 r--p 00000000 03:46 49065      /usr/lib/locale/en_US/LC_TIME
4002b000-4002c000 r--p 00000000 03:46 1847787    /usr/lib/locale/en_US/LC_NUMERIC
4002d000-4003a000 r-xp 00000000 03:46 899393     /lib/i686/libpthread-0.9.so
4003a000-40042000 rw-p 0000c000 03:46 899393     /lib/i686/libpthread-0.9.so
40042000-40045000 r-xp 00000000 03:46 1553482    /lib/libdl-2.2.2.so
40045000-40046000 rw-p 00002000 03:46 1553482    /lib/libdl-2.2.2.so
40046000-4016c000 r-xp 00000000 03:46 899389     /lib/i686/libc-2.2.2.so
4016c000-40172000 rw-p 00125000 03:46 899389     /lib/i686/libc-2.2.2.so
40176000-40439000 r-xp 00000000 00:16 151218     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/client/libjvm.so
40439000-40581000 rw-p 002c2000 00:16 151218     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/client/libjvm.so
40595000-405a8000 r-xp 00000000 03:46 1553487    /lib/libnsl-2.2.2.so
405a8000-405aa000 rw-p 00012000 03:46 1553487    /lib/libnsl-2.2.2.so
405ac000-405e0000 r-xp 00000000 03:46 637758     /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
405e0000-405ec000 rw-p 00033000 03:46 637758     /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
405ee000-40611000 r-xp 00000000 03:46 899391     /lib/i686/libm-2.2.2.so
40611000-40612000 rw-p 00022000 03:46 899391     /lib/i686/libm-2.2.2.so
40612000-40623000 r-xp 00000000 00:16 151222     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libverify.so
40623000-40625000 rw-p 00010000 00:16 151222     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libverify.so
40625000-40646000 r-xp 00000000 00:16 151223     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libjava.so
40646000-40648000 rw-p 00020000 00:16 151223     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libjava.so
40649000-4065d000 r-xp 00000000 00:16 151225     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libzip.so
4065d000-40660000 rw-p 00013000 00:16 151225     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libzip.so
40660000-41cd8000 r--s 00000000 00:16 151759     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/rt.jar
41d1a000-41d31000 r--s 00000000 00:16 151251     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/sunrsasign.jar
41d31000-41d9f000 r--s 00000000 00:16 151259     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/jsse.jar
41d9f000-41db2000 r--s 00000000 00:16 151252     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/jce.jar
41db2000-42033000 r--s 00000000 00:16 151720     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/charsets.jar
440db000-440dd000 r--s 00000000 00:16 151248     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/ext/dnsns.jar
440dd000-440df000 r--s 00000000 00:15 668852     /net/sqindia/export/disk03/tea/suresh/sound1/sound/TestRunner/data/jaxp.jar
4c2e3000-4c2fe000 r--p 00000000 03:46 801260     /usr/lib/locale/en_US/LC_CTYPE
4c2fe000-4c304000 r--p 00000000 03:46 997484     /usr/lib/locale/en_US/LC_COLLATE
4c304000-4c312000 r--s 00000000 00:16 151250     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/ext/ldapsec.jar
4c312000-4c316000 r-xp 00000000 03:46 1553654    /usr/X11R6/lib/libXtst.so.6.1
4c316000-4c318000 rw-p 00003000 03:46 1553654    /usr/X11R6/lib/libXtst.so.6.1
4c319000-4c323000 r-xp 00000000 03:46 1553508    /lib/libnss_nis-2.2.2.so
4c323000-4c324000 rw-p 00009000 03:46 1553508    /lib/libnss_nis-2.2.2.so
4c324000-4c32e000 r-xp 00000000 03:46 1553503    /lib/libnss_files-2.2.2.so
4c32e000-4c32f000 rw-p 00009000 03:46 1553503    /lib/libnss_files-2.2.2.so
4c55e000-4c57b000 r--s 00000000 00:16 151247     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/ext/sunjce_provider.jar
4c57b000-4c61e000 r--s 00000000 00:16 151249     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/ext/localedata.jar
4c61e000-4c8de000 r-xp 00000000 00:16 151233     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libawt.so
4c8de000-4c8f2000 rw-p 002bf000 00:16 151233     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libawt.so
4c918000-4c969000 r-xp 00000000 00:16 151232     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libmlib_image.so
4c969000-4c96a000 rw-p 00050000 00:16 151232     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libmlib_image.so
4c96a000-4c96c000 r-xp 00000000 03:46 1161143    /usr/lib/gconv/ISO8859-1.so
4c96c000-4c96d000 rw-p 00001000 03:46 1161143    /usr/lib/gconv/ISO8859-1.so
4c97f000-4c985000 r-xp 00000000 03:46 1553646    /usr/X11R6/lib/libXp.so.6.2
4c985000-4c987000 rw-p 00005000 03:46 1553646    /usr/X11R6/lib/libXp.so.6.2
4c987000-4c9cf000 r-xp 00000000 03:46 1553652    /usr/X11R6/lib/libXt.so.6.0
4c9cf000-4c9d3000 rw-p 00047000 03:46 1553652    /usr/X11R6/lib/libXt.so.6.0
4c9d4000-4c9e0000 r-xp 00000000 03:46 1553636    /usr/X11R6/lib/libXext.so.6.4
4c9e0000-4c9e2000 rw-p 0000b000 03:46 1553636    /usr/X11R6/lib/libXext.so.6.4
4c9e2000-4cabd000 r-xp 00000000 03:46 1553628    /usr/X11R6/lib/libX11.so.6.2
4cabd000-4cac1000 rw-p 000da000 03:46 1553628    /usr/X11R6/lib/libX11.so.6.2
4cac2000-4caca000 r-xp 00000000 03:46 1553626    /usr/X11R6/lib/libSM.so.6.0
4caca000-4cacb000 rw-p 00007000 03:46 1553626    /usr/X11R6/lib/libSM.so.6.0
4cacb000-4cadf000 r-xp 00000000 03:46 1553622    /usr/X11R6/lib/libICE.so.6.3
4cadf000-4cae0000 rw-p 00013000 03:46 1553622    /usr/X11R6/lib/libICE.so.6.3
4cae2000-4cb04000 r--s 00000000 00:15 668856     /net/sqindia/export/disk03/tea/suresh/sound1/sound/TestRunner/data/parser.jar
4cb85000-4cc4a000 r-xp 00000000 00:16 151235     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libfontmanager.so
4cc4a000-4cc64000 rw-p 000c4000 00:16 151235     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libfontmanager.so
4ceea000-4cf2d000 r-xp 00000000 00:16 151230     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libjsound.so
4cf2d000-4cf2f000 rw-p 00042000 00:16 151230     /net/sqindia/export/disk01/jdk/1.4/fcs/b92/binaries/linux-i386/jre/lib/i386/libjsound.so

Local Time = Thu Feb  7 15:39:38 2002
Elapsed Time = 29
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)

Below is the path for the test cases ..
====================================

The tests can be executed from the following location where there are only these two tescases only which failed.

http://sqesvr.sfbay/export/st3/iec-st/users/suresh

Comments
EVALUATION ###@###.### 2002-02-14 Strange bug, as no java sound code has been changed form b91 to b92. Needs more investigation. ###@###.### 2002-04-23 Whatever caused this bug to appear in b92 (maybe different thread implementation?), it is fixed with the fix for 4498848: Sound causes crashes on Linux.
23-04-2002