JDK-4743229 : Fix for Bugs #4615605 and #4676248 cause crash
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba:orb
  • Affected Version: 1.3.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2002-09-06
  • Updated: 2002-09-06
  • Resolved: 2002-09-06
Related Reports
Duplicate :  
Relates :  
Description
After fixing bugs #4615605 and #4676248, one of the regression testcases cause a crash.

Crash as follows.


Testing CheckedException...
PASSED
Testing RuntimeException...

Unexpected Signal : 11 occurred at PC=0xdf9079f8
Function name=JVM_MonitorWait

Library=/net/koori.sfbay/p/v05/jdk/1.3.1_05/fcs/b02-2002-08-21/binaries/solaris-i586/jre/lib/i386/client/libjvm.so

Current Java thread:
        at 
com.sun.corba.se.internal.io.IIOPInputStream.throwExceptionType(Native Method)
        at 
com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:272)
        at 
com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:245)
        at 
com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:207)
        at 
com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:905)
com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:28)
        at 
java.lang.reflect.Constructor.newInstance(Native Method)
        at 
com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:108)
        at 
com.sun.corba.se.internal.core.ServiceContexts.unmarshal(ServiceContexts.java:163)
        at 
com.sun.corba.se.internal.core.ServiceContexts.get(ServiceContexts.java:342)
        at 
com.sun.corba.se.internal.core.ServiceContexts.get(ServiceContexts.java:328)
        at 
com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:203)
        at 
org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:454)
        at 
_Tester_Stub.throwRuntimeException(Unknown Source)
        at 
Client.testRuntimeException(Client.java:56)
        at 
Client.main(Client.java:76)

Dynamic libraries:
0x8050000 /java/re/jdk/1.3.1_05/latest/fcs/latest/binaries/solaris-i586/bin/../bin/i386/native_threads/java
0xdfb80000      /usr/lib/libthread.so.1
0xdfbc0000      /usr/lib/libdl.so.1
0xdfad0000      /usr/lib/libc.so.1
0xdf890000      /net/koori.sfbay/p/v05/jdk/1.3.1_05/fcs/b02-2002-08-21/binaries/solaris-i586/jre/lib/i386/client/libjvm.so
0xdf870000      /usr/lib/libCrun.so.1
0xdf850000      /usr/lib/libsocket.so.1
0xdef60000      /usr/lib/libnsl.so.1
0xdf820000      /usr/lib/libm.so.1
0xdfa80000      /usr/lib/libw.so.1
0xdef40000      /usr/lib/libmp.so.2
0xdef10000      /net/koori.sfbay/p/v05/jdk/1.3.1_05/fcs/b02-2002-08-21/binaries/solaris-i586/jre/lib/i386/native_threads/libhpi.so
0xdeee0000      /net/koori.sfbay/p/v05/jdk/1.3.1_05/fcs/b02-2002-08-21/binaries/solaris-i586/jre/lib/i386/libverify.so
0xdeea0000      /net/koori.sfbay/p/v05/jdk/1.3.1_05/fcs/b02-2002-08-21/binaries/solaris-i586/jre/lib/i386/libjava.so
0xdee80000      /net/koori.sfbay/p/v05/jdk/1.3.1_05/fcs/b02-2002-08-21/binaries/solaris-i586/jre/lib/i386/libzip.so
0xded50000      /usr/lib/locale/en_US.ISO8859-15/en_US.ISO8859-15.so.2
0xdbb90000      /net/koori.sfbay/p/v05/jdk/1.3.1_05/fcs/b02-2002-08-21/binaries/solaris-i586/jre/lib/i386/libnet.so
0xdbb70000      /usr/lib/nss_nis.so.1
0xdbae0000 /net/koori.sfbay/p/v05/jdk/1.3.1_05/fcs/b02-2002-08-21/binaries/solaris-i586/jre/lib/i386/libioser12.so

Local Time = Thu Aug 22 16:55:11 2002
Elapsed Time = 2
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002BD
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_05-b02 mixed mode)
#
# An error report file has been saved as hs_err_pid2188.log.
# Please refer to the file for further information.
#
gnumake: *** [runclient] Abort (core dumped)





###@###.### 2002-09-06

Comments
EVALUATION When a J2SE 1.3.0 client talks to a J2SE 1.4.0 server over RMI-IIOP and an unchecked exception or RemoteException occurs, RMI-IIOP translated this exception into a CORBA UNKNOWN system exception, and the real Java exception is marshaled as a CDR encapsulation in the UnknownExceptionInfo service context. This problem was resolved by a spec update known as Java to IDL issue 4795. (http://cgi.omg.org/issues/issue4795.txt) These changes resulted in 2 bugs being fixed in the 1.3.x and 1.4.x J2SE update releases Bugs #4615605 and #4676248 For an J2SE 1.3.x client to talk to a J2SE 1.4.x server over RMI-IIOP both the server and client must be running the patched version of the JDK. If one or other version does not contain the fix, the result will be the rather confusing crash in the description. The fix is to ensure that the 1.3.x J2SE version is 1.3.1_05 or greater and the 1.4.0 J2SE is 1.4.0_03 or greater. Please note that the 1.4.0_03 release will not FCS until November. If you encounter this problem before this date, then we suggest stepping back your 1.3.x release to 1.3.1_04 If you are unable to do this please contact your Sun support.
11-06-2004

WORK AROUND The fix is to ensure that the 1.3.x J2SE version is 1.3.1_05 or greater and the 1.4.0 J2SE is 1.4.0_03 or greater. Please note that the 1.4.0_03 release will not FCS until November. If you encounter this problem before this date, then we suggest stepping back your 1.3.x release to 1.3.1_04 If you are unable to do this please contact your Sun support.
11-06-2004