Testing the native threads solaris JDK 1.1 using the JCK-11alpha
The JCK lang.conv083.conv08304 test segfaults both the native and the green threads JDK 1.1. first on 2.6 beta/Ultra reproduced on 2.5.1/sun4m and 2.6/x86 outside javatest harness.
stack trace from core file (below) shows segfault in array_is_instance_of_array_type
# java javasoft.sqe.harness.Main -batch ../results/lang/lang.jtp
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0x0]
stackbase=EEA91DDC, stackpointer=EEA9163C
Full thread dump:
"TestRunnerThread-0:0" (TID:0xed2b8458, sys_thread_t:0xd4688, thread_t: t@7, sp:0xeea91510 pc:0xef7980a8 threadID:0xeea91df8, stack_base:0xeea91ddc, stack_size:0x20000) prio=4 *current thread*
javasoft.sqe.tests.lang.conv083.conv08304.conv08304.run(conv08304.java:131)
javasoft.sqe.tests.lang.conv083.conv08304.conv08304t.run(conv08304t.java:10)
javasoft.sqe.harness.LocalExecuteCommand.run(LocalExecuteCommand.java:79)
javasoft.sqe.harness.TestScript.invokeClass(TestScript.java:359)
javasoft.sqe.harness.TestScript.invoke(TestScript.java:311)
javasoft.sqe.harness.TestScript.execute(TestScript.java:262)
javasoft.sqe.harness.TestScript.execute(TestScript.java:238)
javasoft.sqe.harness.SimpExecTestScript.run(SimpExecTestScript.java:58)
javasoft.sqe.harness.TestScript.run(TestScript.java:698)
javasoft.sqe.harness.TestResult.performTest(TestResult.java:634)
javasoft.sqe.harness.TestResult.<init>(TestResult.java:64)
javasoft.sqe.harness.TestRunnerThread.runTest(TestRunner.java:276)
javasoft.sqe.harness.TestRunnerThread.run(TestRunner.java:222)
"Timer" (TID:0xed2b83f0, sys_thread_t:0xd4648, thread_t: t@6, sp:0xeeac1898 pc:0xef796f74 threadID:0xeeac1df8, stack_base:0xeeac1ddc, stack_size:0x20000) prio=5
java.lang.Object.wait(Object.java)
javasoft.sqe.harness.Timer.run(Timer.java:105)
"SIGQUIT handler" (TID:0xed300268, sys_thread_t:0x35368, thread_t: t@5, sp:0x0 pc:0x0 threadID:0xeeb31df8, stack_base:0xeeb31d94, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed300180, sys_thread_t:0x35328, thread_t: t@4, sp:0xeebf1c28 pc:0xef796f74 threadID:0xeebf1df8, stack_base:0xeebf1ddc, stack_size:0x20000) prio=1
"main" (TID:0xed300150, sys_thread_t:0x318d8, thread_t: t@1, sp:0xeffff588 pc:0xef796f74 threadID:0x20a30, stack_base:0xeffffb94, stack_size:0x70000000) prio=5
java.lang.Object.wait(Object.java)
javasoft.sqe.harness.TestRunner.run(TestRunner.java:75)
javasoft.sqe.harness.Harness.run(Harness.java:383)
javasoft.sqe.harness.Harness.batch(Harness.java:269)
javasoft.sqe.harness.Main.batchHarness(Main.java:202)
javasoft.sqe.harness.Main.main(Main.java:50)
Monitor Cache Dump:
javasoft.sqe.harness.Timer@ED2B83F0/ED595C20 (key=0xed2b83f0): unowned
Waiting to be notified:
"Timer"
javasoft.sqe.harness.TestRunner@ED309DC0/ED35F3F8 (key=0xed309dc0): unowned
Waiting to be notified:
"main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Waiting to be notified:
"Finalizer thread"
Thread queue lock: unowned
Name and type hash table lock: unowned
String intern lock: unowned
JNI global reference lock: unowned
BinClass lock: unowned
Class loading lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Has finalization queue lock: unowned
Monitor cache expansion lock: unowned
Monitor registry: monitor owner: "TestRunnerThread-0:0" (0xd4688)
Abort - core dumped
(l@4) terminated by signal ABRT (Abort)
(/ws/on297-tools/SUNWspro/SC4.2/bin/dbx) where
=>[1] _lwp_kill(0x0, 0x6, 0xef4e31b8, 0xef6f45f4, 0xeea91e60, 0xeea91e40), at 0xef477e34
[2] __libthread_segvhdlr(0xb, 0xeea91a08, 0xeea91848, 0xeea91788, 0xef6f45f4, 0xeea91e40), at 0xef6e2598
---- called from signal handler with signal 11 (SIGSEGV) ------
[3] array_is_instance_of_array_type(), at 0xef766bd4
[4] checkcast_quick_0(0x20efa9, 0xeea91d5c, 0xdf9e0, 0xdf998, 0x20e888, 0xdf9b4), at 0xef79d59c
[5] do_execute_java_method_vararg(0xeea91d5c, 0x0, 0x0, 0x0, 0x0, 0xef7b6911), at 0xef766584
[6] execute_java_dynamic_method(0xeea91d5c, 0xed2b8458, 0xef7b690c, 0xef7b6910, 0xef7b8c00, 0x0), at 0xef765c98
[7] ThreadRT0(0xed2b8458, 0xef7b6910, 0x0, 0xef6fd08c, 0x1, 0x40400087), at 0xef78ca30
The JCK lang.conv083.conv08304 test segfaults both the native and the green threads JDK 1.1. first on 2.6 beta/Ultra reproduced on 2.5.1/sun4m and 2.6/x86 outside javatest harness.
stack trace from core file (below) shows segfault in array_is_instance_of_array_type
# java javasoft.sqe.harness.Main -batch ../results/lang/lang.jtp
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0x0]
stackbase=EEA91DDC, stackpointer=EEA9163C
Full thread dump:
"TestRunnerThread-0:0" (TID:0xed2b8458, sys_thread_t:0xd4688, thread_t: t@7, sp:0xeea91510 pc:0xef7980a8 threadID:0xeea91df8, stack_base:0xeea91ddc, stack_size:0x20000) prio=4 *current thread*
javasoft.sqe.tests.lang.conv083.conv08304.conv08304.run(conv08304.java:131)
javasoft.sqe.tests.lang.conv083.conv08304.conv08304t.run(conv08304t.java:10)
javasoft.sqe.harness.LocalExecuteCommand.run(LocalExecuteCommand.java:79)
javasoft.sqe.harness.TestScript.invokeClass(TestScript.java:359)
javasoft.sqe.harness.TestScript.invoke(TestScript.java:311)
javasoft.sqe.harness.TestScript.execute(TestScript.java:262)
javasoft.sqe.harness.TestScript.execute(TestScript.java:238)
javasoft.sqe.harness.SimpExecTestScript.run(SimpExecTestScript.java:58)
javasoft.sqe.harness.TestScript.run(TestScript.java:698)
javasoft.sqe.harness.TestResult.performTest(TestResult.java:634)
javasoft.sqe.harness.TestResult.<init>(TestResult.java:64)
javasoft.sqe.harness.TestRunnerThread.runTest(TestRunner.java:276)
javasoft.sqe.harness.TestRunnerThread.run(TestRunner.java:222)
"Timer" (TID:0xed2b83f0, sys_thread_t:0xd4648, thread_t: t@6, sp:0xeeac1898 pc:0xef796f74 threadID:0xeeac1df8, stack_base:0xeeac1ddc, stack_size:0x20000) prio=5
java.lang.Object.wait(Object.java)
javasoft.sqe.harness.Timer.run(Timer.java:105)
"SIGQUIT handler" (TID:0xed300268, sys_thread_t:0x35368, thread_t: t@5, sp:0x0 pc:0x0 threadID:0xeeb31df8, stack_base:0xeeb31d94, stack_size:0x20000) prio=0
"Finalizer thread" (TID:0xed300180, sys_thread_t:0x35328, thread_t: t@4, sp:0xeebf1c28 pc:0xef796f74 threadID:0xeebf1df8, stack_base:0xeebf1ddc, stack_size:0x20000) prio=1
"main" (TID:0xed300150, sys_thread_t:0x318d8, thread_t: t@1, sp:0xeffff588 pc:0xef796f74 threadID:0x20a30, stack_base:0xeffffb94, stack_size:0x70000000) prio=5
java.lang.Object.wait(Object.java)
javasoft.sqe.harness.TestRunner.run(TestRunner.java:75)
javasoft.sqe.harness.Harness.run(Harness.java:383)
javasoft.sqe.harness.Harness.batch(Harness.java:269)
javasoft.sqe.harness.Main.batchHarness(Main.java:202)
javasoft.sqe.harness.Main.main(Main.java:50)
Monitor Cache Dump:
javasoft.sqe.harness.Timer@ED2B83F0/ED595C20 (key=0xed2b83f0): unowned
Waiting to be notified:
"Timer"
javasoft.sqe.harness.TestRunner@ED309DC0/ED35F3F8 (key=0xed309dc0): unowned
Waiting to be notified:
"main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Waiting to be notified:
"Finalizer thread"
Thread queue lock: unowned
Name and type hash table lock: unowned
String intern lock: unowned
JNI global reference lock: unowned
BinClass lock: unowned
Class loading lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Has finalization queue lock: unowned
Monitor cache expansion lock: unowned
Monitor registry: monitor owner: "TestRunnerThread-0:0" (0xd4688)
Abort - core dumped
(l@4) terminated by signal ABRT (Abort)
(/ws/on297-tools/SUNWspro/SC4.2/bin/dbx) where
=>[1] _lwp_kill(0x0, 0x6, 0xef4e31b8, 0xef6f45f4, 0xeea91e60, 0xeea91e40), at 0xef477e34
[2] __libthread_segvhdlr(0xb, 0xeea91a08, 0xeea91848, 0xeea91788, 0xef6f45f4, 0xeea91e40), at 0xef6e2598
---- called from signal handler with signal 11 (SIGSEGV) ------
[3] array_is_instance_of_array_type(), at 0xef766bd4
[4] checkcast_quick_0(0x20efa9, 0xeea91d5c, 0xdf9e0, 0xdf998, 0x20e888, 0xdf9b4), at 0xef79d59c
[5] do_execute_java_method_vararg(0xeea91d5c, 0x0, 0x0, 0x0, 0x0, 0xef7b6911), at 0xef766584
[6] execute_java_dynamic_method(0xeea91d5c, 0xed2b8458, 0xef7b690c, 0xef7b6910, 0xef7b8c00, 0x0), at 0xef765c98
[7] ThreadRT0(0xed2b8458, 0xef7b6910, 0x0, 0xef6fd08c, 0x1, 0x40400087), at 0xef78ca30