Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2068739 | 5.0 | Mingyao Yang | P2 | Closed | Fixed | tiger |
JVM in 1.3.1_06 crashes with hs_log file.
The followinga are hs_log file, stack trace and some comment form a licensee.
The reproducible program is attached, but the crash still can not be
reproduced in SUN.
1. LOG MESSAGE
#
# Fatal: ExceptionMark constructor expects no pending exceptions
#
# Error ID: 455843455054494F4E530E43505000D3 [ Patched ]
Note:
This id is (share/vm/utilities/exceptions.cpp, 211)
2. STACK TRACE
lwp#84: pc=0xff369764 sp=bb7800b8 libthread.so.1:__sigprocmask+0x8
[ 1] libthread.so.1:__sigprocmask+0x8 jmp %o7 + 0x8
[ 2] libthread.so.1:_sigon+0xd0 call libthread.so.1:_resetsig (ff35e638)
[ 3] libthread.so.1:_thrp_kill+0xf8 call libthread.so.1:_lmutex_unlock (ff35b2b8)
[ 4] libc.so.1:raise+0x40 call _thr_kill (ff2bdbf4)
[ 5] libc.so.1:abort+0x100 call raise (ff2bd3cc)
[ 6] libjvm.so:void os::abort(long)+0xc8 call abort (fe522cbc)
[ 7] libjvm.so:void report_error(long,const char*,int,const char*,const char*,...)+0x50c call
libjvm.so:void os::abort(long) (fe3e7d5c)
[ 8] libjvm.so:void report_fatal(const char*,int,const char*,...)+0x60 call libjvm.so:void
report_error(long,const char*,int,const char*,const char*,...) (fe335928)
[ 9] libjvm.so:ExceptionMark::ExceptionMark(Thread*__1cNExceptionMark2t6MrpnGThread__v_)+0x5c
call libjvm.so:void report_fatal(const char*,int,const char*,...) (fe335580)
[10] libjvm.so:klassOopDesc*constantPoolOopDesc::klass_at_if_loaded(constantPoolHandle,int)+0x1a8
call libjvm.so:ExceptionMark::ExceptionMark(Thread*__1cNExceptionMark2t6MrpnGThread__v_)
(fe0fed94)
[11] libjvm.so:int methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,long,Thread*)+0x198
call libjvm.so:klassOopDesc*constantPoolOopDesc::klass_at_if_loaded(constantPoolHandle,int)
(fe0fd69c)
[12] libjvm.so:unsigned
char*InterpreterRuntime::exception_handler_for_exception(JavaThread*,oopDesc*)+0x340 call
libjvm.so:int methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,long,Thread*) (fe16b9ec)
[13] 0xc86c0 call libjvm.so:unsigned
char*InterpreterRuntime::exception_handler_for_exception(JavaThread*,oopDesc*) (fe16b300)
[14] libjvm.so:StubRoutines::_code1+0x3fc jmpl %i4, %o7
[15] libjvm.so:void
JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x30c jmpl %o7, %o7
[16] libjvm.so:void
JavaCalls::call_virtual(JavaValue*,KlassHandle,symbolHandle,symbolHandle,JavaCallArguments*,Thread*)+0x164
call libjvm.so:void
os::os_exception_wrapper(void(*)(JavaValue*,methodHandle*,JavaCallArguments*,Thread*),JavaValue*,methodHandle*,JavaCallArguments*,Thread*)
(fe0d24cc)
[17] libjvm.so:void
JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,symbolHandle,symbolHandle,Thread*)+0x60
call libjvm.so:void
JavaCalls::call_virtual(JavaValue*,KlassHandle,symbolHandle,symbolHandle,JavaCallArguments*,Thread*)
(fe20145c)
[18] libjvm.so:void thread_entry(JavaThread*,Thread*)+0x120 call libjvm.so:void
JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,symbolHandle,symbolHandle,Thread*) (fe2077bc)
[19] libjvm.so:void JavaThread::run()+0x3dc jmpl %l0, %o7
[20] libjvm.so:_start+0x20 jmpl %l0, %o7
[21] libthread.so.1:_thread_start+0x40 jmpl %i7, %o7
3. Reproducibale program
Please see the attached b.java, compile(javac -deprecation b.java)
and invoke "java b".
4. Note
- This can not be reproduced in SUN yet.
The licensee says that two hours running is needed to reproduce.
- The licensee send us their opinion againt this crash.
The details are filed later.
The followinga are hs_log file, stack trace and some comment form a licensee.
The reproducible program is attached, but the crash still can not be
reproduced in SUN.
1. LOG MESSAGE
#
# Fatal: ExceptionMark constructor expects no pending exceptions
#
# Error ID: 455843455054494F4E530E43505000D3 [ Patched ]
Note:
This id is (share/vm/utilities/exceptions.cpp, 211)
2. STACK TRACE
lwp#84: pc=0xff369764 sp=bb7800b8 libthread.so.1:__sigprocmask+0x8
[ 1] libthread.so.1:__sigprocmask+0x8 jmp %o7 + 0x8
[ 2] libthread.so.1:_sigon+0xd0 call libthread.so.1:_resetsig (ff35e638)
[ 3] libthread.so.1:_thrp_kill+0xf8 call libthread.so.1:_lmutex_unlock (ff35b2b8)
[ 4] libc.so.1:raise+0x40 call _thr_kill (ff2bdbf4)
[ 5] libc.so.1:abort+0x100 call raise (ff2bd3cc)
[ 6] libjvm.so:void os::abort(long)+0xc8 call abort (fe522cbc)
[ 7] libjvm.so:void report_error(long,const char*,int,const char*,const char*,...)+0x50c call
libjvm.so:void os::abort(long) (fe3e7d5c)
[ 8] libjvm.so:void report_fatal(const char*,int,const char*,...)+0x60 call libjvm.so:void
report_error(long,const char*,int,const char*,const char*,...) (fe335928)
[ 9] libjvm.so:ExceptionMark::ExceptionMark(Thread*__1cNExceptionMark2t6MrpnGThread__v_)+0x5c
call libjvm.so:void report_fatal(const char*,int,const char*,...) (fe335580)
[10] libjvm.so:klassOopDesc*constantPoolOopDesc::klass_at_if_loaded(constantPoolHandle,int)+0x1a8
call libjvm.so:ExceptionMark::ExceptionMark(Thread*__1cNExceptionMark2t6MrpnGThread__v_)
(fe0fed94)
[11] libjvm.so:int methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,long,Thread*)+0x198
call libjvm.so:klassOopDesc*constantPoolOopDesc::klass_at_if_loaded(constantPoolHandle,int)
(fe0fd69c)
[12] libjvm.so:unsigned
char*InterpreterRuntime::exception_handler_for_exception(JavaThread*,oopDesc*)+0x340 call
libjvm.so:int methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,long,Thread*) (fe16b9ec)
[13] 0xc86c0 call libjvm.so:unsigned
char*InterpreterRuntime::exception_handler_for_exception(JavaThread*,oopDesc*) (fe16b300)
[14] libjvm.so:StubRoutines::_code1+0x3fc jmpl %i4, %o7
[15] libjvm.so:void
JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x30c jmpl %o7, %o7
[16] libjvm.so:void
JavaCalls::call_virtual(JavaValue*,KlassHandle,symbolHandle,symbolHandle,JavaCallArguments*,Thread*)+0x164
call libjvm.so:void
os::os_exception_wrapper(void(*)(JavaValue*,methodHandle*,JavaCallArguments*,Thread*),JavaValue*,methodHandle*,JavaCallArguments*,Thread*)
(fe0d24cc)
[17] libjvm.so:void
JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,symbolHandle,symbolHandle,Thread*)+0x60
call libjvm.so:void
JavaCalls::call_virtual(JavaValue*,KlassHandle,symbolHandle,symbolHandle,JavaCallArguments*,Thread*)
(fe20145c)
[18] libjvm.so:void thread_entry(JavaThread*,Thread*)+0x120 call libjvm.so:void
JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,symbolHandle,symbolHandle,Thread*) (fe2077bc)
[19] libjvm.so:void JavaThread::run()+0x3dc jmpl %l0, %o7
[20] libjvm.so:_start+0x20 jmpl %l0, %o7
[21] libthread.so.1:_thread_start+0x40 jmpl %i7, %o7
3. Reproducibale program
Please see the attached b.java, compile(javac -deprecation b.java)
and invoke "java b".
4. Note
- This can not be reproduced in SUN yet.
The licensee says that two hours running is needed to reproduce.
- The licensee send us their opinion againt this crash.
The details are filed later.
- backported by
-
JDK-2068739 [1.3.1_06] JVM crashes in share/vm/utilities/exceptions.cpp, [mantis rc] hang
- Closed
- duplicates
-
JDK-4651437 TTY: kill001 test crashes the debuggee VM
- Closed
- relates to
-
JDK-4501186 java vm 1.3.1-b24 crashes
- Closed