Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2045560 | 1.4.1 | Daniel Daugherty | P4 | Closed | Fixed | hopper |
The timeout failures are intermittent.
Here are the tests that timed out in one run:
./b72/solsparc1 Failed AfterThreadDeathTest.java timed out
./b72/solsparc1 Failed ConnectedVMs.java timed out
./b72/solsparc1 Failed ExceptionEvents.java timed out
./b72/solsparc1 Failed PopSynchronousTest.java timed out
In another run, only PopAsynchronousTest timed out.
It seems like it is easiest to reproduce this by running
PopSychronousTest over and over.
I think the debuggee is hanging. Here is a dump of a hung debuggee
that is running PopSynchronousTest.java:
Attached to process 7993 with 14 LWPs
t@1 (l@1) stopped in __lwp_sema_wait at 0xff319a08
0xff319a08: __lwp_sema_wait+0x0008: ta 0x8
t@1 l@1:3 threads
> t@1 a l@1 ?() suspended in __lwp_sema_wait()
t@2 b l@2 ?() running in _signotifywait()
t@3 ?() sleep on (unknown) in _reap_wait()
t@4 b l@4 _start() running in ___lwp_cond_wait()
t@5 b l@6 _start() running in ___lwp_cond_wait()
t@6 b l@7 _start() running in ___lwp_cond_wait()
t@7 b l@8 _start() running in ___lwp_mutex_lock()
t@8 b l@9 _start() running in ___lwp_cond_wait()
t@9 b l@10 _start() running in _so_recv()
t@10 b l@11 _start() running in _poll()
t@11 b l@12 _start() running in ___lwp_cond_wait()
t@12 b l@13 _start() sleep on 0xfe792ee0 in __lwp_sema_wait()
t@13 b l@14 _start() running in ___lwp_cond_wait()
t@1 l@1:4 where 1
current thread: t@1
=>[1] __lwp_sema_wait(0x27f80, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff319a08
This is the debuggee thread
t@1 l@1:5 where t@1
current thread: t@1
=>[1] __lwp_sema_wait(0x27f80, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff319a08
[2] _park(0x27ec8, 0x27f80, 0x0, 0x1, 0xff38d738, 0x0), at 0xff36b288
[3] _swtch(0x5, 0xff38c9ac, 0x27f5c, 0x27f58, 0x27f54, 0x27f50), at 0xff36af50
[4] _dopreempt(0x0, 0xff38c9ac, 0x0, 0x0, 0x0, 0x0), at 0xff36cec0
[5] _sigsuspnd(0x27ec8, 0xffbecd40, 0xffbeca88, 0x0, 0x0, 0x0), at 0xff36f654
[6] __sighndlr(0x21, 0xffbecd40, 0xffbeca88, 0xff36f670, 0x27f30, 0x0), at 0xff37bd78
[7] sigacthandler(0x21, 0x27ec8, 0xffbeca88, 0xff38c9ac, 0xffbecd40, 0x27ec8), at 0xff378644
---- called from signal handler with signal 33 (SIGLWP) ------
[8] _lwp_cond_wait(0x0, 0x2d230, 0x0, 0x6bb80, 0x0, 0x1), at 0xff31145c
[9] ObjectMonitor::raw_wait(0x2d248, 0xfe793b74, 0xffffffff, 0x1, 0x2d230, 0x9), at 0xfe68001c
[10] RawMonitorWait(0xe6420, 0xffffffff, 0xffffffff, 0xffbecf6c, 0x0, 0xff3359c8), at 0xfe64898c
[11] debugMonitorWait(0xe6420, 0x1, 0xffbecfd8, 0xfe045210, 0x257b70, 0xfe4fff44), at 0xfe0310c0
[12] 0xfe029d60(0xffbed0c8, 0xd3e3c, 0x67bb0, 0x0, 0x1, 0xfc00adcc), at 0xfe029d5f
[13] 0xfe0248d4(0x0, 0x0, 0xfe04a0e4, 0xd3e3c, 0x2c6c8, 0x12a3c8), at 0xfe0248d3
[14] JvmdiInternal::post_event(0xffbed188, 0xffbed184, 0xffbed180, 0xffbed17c, 0xf9d00ed2, 0x0), at 0xfe639aec
[15] jvmdi::post_single_step_event(0x2c7d8, 0xf9d00e88, 0xf9d00ed2, 0xffbed298, 0x261b68, 0xfe5bb78c), at 0xfe64ec24
[16] InterpreterRuntime::at_safepoint(0x2c7d8, 0xc, 0xffbed388, 0xfc014ca4, 0xf9d00ec0, 0xffbed298), at 0xfe5bb79c
[17] 0xfc00adc4(0xf5c4e2a8, 0xd, 0xffbed40c, 0xfc014ca4, 0x261b68, 0xffbed320), at 0xfc00adc3
[18] 0xfc005c24(0xf5c4e2a8, 0xf, 0xffbed498, 0xfc014ca4, 0x261b68, 0xffbed3a8), at 0xfc005c23
[19] 0xfc005c24(0xf5c4e2a8, 0x10, 0xffbed51c, 0xfc014ca4, 0x261b68, 0xffbed430), at 0xfc005c23
[20] 0xfc005c24(0xf5c4e2a8, 0x12, 0xffbed5a8, 0xfc014ca4, 0x0, 0xffbed4b8), at 0xfc005c23
[21] 0xfc005c24(0xf5c4e2a8, 0x13, 0xffbed630, 0xfc014ca4, 0x257b70, 0xffbed540), at 0xfc005c23
[22] 0xfc005c24(0xf5c4e2a8, 0x14, 0xffbed6b4, 0xfc014ca4, 0x1, 0xffbed5c8), at 0xfc005c23
[23] 0xfc005c24(0xf5c4e2a8, 0x16, 0xffbed740, 0xfc014ca4, 0x2c6c8, 0xffbed650), at 0xfc005c23
[24] 0xfc005c24(0xf5c4e2a8, 0x17, 0xffbed7c8, 0xfc014ca4, 0xf9d00ec0, 0xffbed6d8), at 0xfc005c23
[25] 0xfc005c24(0xf5c4e2a8, 0x18, 0xffbed850, 0xfc014ca4, 0x261b68, 0xffbed760), at 0xfc005c23
[26] 0xfc005c24(0xf5c4e2a8, 0x19, 0xffbed8d8, 0xfc014ca4, 0x261b68, 0xffbed7e8), at 0xfc005c23
[27] 0xfc005c24(0xf5c4e2a8, 0x1a, 0xffbed960, 0xfc014ca4, 0x261b68, 0xffbed870), at 0xfc005c23
[28] 0xfc005c24(0xf5c4e2a8, 0x1b, 0xffbed9e8, 0xfc014ca4, 0xffbed3f8, 0xffbed8f8), at 0xfc005c23
[29] 0xfc005c24(0xf5c4e2a8, 0x1c, 0xffbeda70, 0xfc014ca4, 0xffbed46c, 0xffbed980), at 0xfc005c23
[30] 0xfc005c24(0xf5c4e2a8, 0x1d, 0xffbedaf8, 0xfc014ca4, 0x2c7d8, 0xffbeda08), at 0xfc005c23
[31] 0xfc005c24(0xf5c4e2a8, 0x1e, 0xffbedb78, 0xfc014ca4, 0x0, 0xffbeda90), at 0xfc005c23
[32] 0xfc005c24(0xf5c4e2a8, 0xb6, 0x8, 0xfc014ca4, 0xf5e00000, 0xffbedb18), at 0xfc005c23
[33] 0xfc005c24(0xffbedc08, 0x0, 0x0, 0xfc014ca4, 0x271a98, 0xffbedba8), at 0xfc005c23
[34] 0xfc000438(0xffbedc90, 0xffbede38, 0xa, 0xf9d00f80, 0xfc00b6d8, 0xffbedd64), at 0xfc000437
[35] JavaCalls::call_helper(0xffbede30, 0xffbedd3c, 0xffbedd5c, 0x2c7d8, 0x2c7d8, 0x4c00), at 0xfe4f47a4
[36] jni_invoke(0x0, 0xffbede30, 0x0, 0x0, 0xba288, 0xffbede14), at 0xfe5067fc
[37] jni_CallStaticVoidMethod(0x2c85c, 0x2d16c, 0xba288, 0x2d17c, 0x81010100, 0xff00), at 0xfe588fe8
[38] main(0x0, 0x0, 0x2d17c, 0x0, 0x0, 0x254), at 0x12278
t@1 l@1:6 where t@2
current thread: t@2
[1] _signotifywait(0xff399bb0, 0xff398254, 0x0, 0x0, 0x0, 0x0), at 0xff3193d8
[2] _dynamiclwps(0xff38c9ac, 0xff38e2fc, 0x2, 0x0, 0xff3359c8, 0x0), at 0xff36f710
t@1 l@1:7 where t@3
current thread: t@3
[1] _reap_wait(0xff391368, 0x1e44c, 0x0, 0x0, 0x0, 0x0), at 0xff36e814
[2] _reaper(0xff38c9ac, 0xff391368, 0xff38d7c8, 0x27f58, 0x1, 0xfe400000), at 0xff36e590
t@1 l@1:8 where t@4
current thread: t@4
[1] ___lwp_cond_wait(0x2c200, 0x2c1e8, 0xfbe81b20, 0x0, 0x0, 0xfbe81b18), at 0xff3199bc
[2] _lwp_cond_timedwait(0x2c200, 0x2c1e8, 0x2a5b3f18, 0x3b574ed6, 0x0, 0x1), at 0xff3114f0
[3] Monitor::wait(0x3c00, 0x3e44, 0x0, 0x1406f40, 0xfe4f35d8, 0x0), at 0xfe4f2d68
[4] VMThread::loop(0xfe77be44, 0xfe76d380, 0x0, 0x0, 0x0, 0x0), at 0xfe4f34b0
[5] VMThread::run(0x642c8, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe4f31a8
[6] _start(0x642c8, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:9 where t@5
current thread: t@5
[1] ___lwp_cond_wait(0x65f70, 0x65f58, 0x0, 0xfe76d14c, 0x2b0f0, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x65f70, 0x65f58, 0x0, 0xfe67fe90, 0x0, 0x0), at 0xff311444
[3] ObjectMonitor::wait(0x65f18, 0x0, 0x4400, 0x4760, 0x4000, 0x42a8), at 0xfe50442c
[4] ObjectSynchronizer::wait(0xfbd81794, 0x0, 0x0, 0x655a0, 0x655a0, 0x288c4c), at 0xfe503b98
[5] JVM_MonitorWait(0x65624, 0xfbd8188c, 0x0, 0x0, 0x0, 0x0), at 0xfe503884
[6] 0xfc00c974(0xf5c003d0, 0xb6, 0xfbd8190c, 0xffffffff, 0x0, 0xfbd81828), at 0xfc00c973
[7] 0xfc005d34(0xf5c003d0, 0xb6, 0xfbd81910, 0xfc014c90, 0x655a0, 0xfbd818a8), at 0xfc005d33
[8] 0xfc005d34(0xfbd819a0, 0x0, 0x0, 0xfc014fd8, 0x271a98, 0xfbd81940), at 0xfc005d33
[9] 0xfc000438(0xfbd81a28, 0xfbd81c60, 0xa, 0xf9c597d0, 0xfc00b6d8, 0xfbd81ba8), at 0xfc000437
[10] JavaCalls::call_helper(0xfbd81c58, 0xfbd81ae8, 0xfbd81ba0, 0x655a0, 0x655a0, 0xfbd81af8), at 0xfe4f47a4
[11] JavaCalls::call_virtual(0xfe758000, 0x65ae0, 0xfbd81b94, 0xfbd81b90, 0xfbd81ba0, 0x655a0), at 0xfe503464
[12] JavaCalls::call_virtual(0xfbd81c58, 0xfbd81c54, 0xfbd81c4c, 0xfbd81c44, 0xfbd81c3c, 0x655a0), at 0xfe503318
[13] thread_entry(0x655a0, 0x655a0, 0x351d0, 0x65ae0, 0x254ed0, 0xfe50306c), at 0xfe5032a0
[14] JavaThread::run(0x655a0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[15] _start(0x655a0, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:10 where t@6
current thread: t@6
[1] ___lwp_cond_wait(0x67840, 0x67828, 0x0, 0xfe76d14c, 0x2b0f0, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x67840, 0x67828, 0x0, 0xf5b81144, 0x0, 0x0), at 0xff311444
[3] ObjectMonitor::wait(0x677e8, 0x0, 0x4400, 0x4760, 0x4000, 0x42a8), at 0xfe50442c
[4] ObjectSynchronizer::wait(0xf5b81704, 0x0, 0x0, 0x66e70, 0x66e70, 0x288c4c), at 0xfe503b98
[5] JVM_MonitorWait(0x66ef4, 0xf5b81804, 0x0, 0x0, 0x0, 0x0), at 0xfe503884
[6] 0xfc00c974(0xf5c004e0, 0xb6, 0xf5b81808, 0xfc01339c, 0x0, 0xf5b81798), at 0xfc00c973
[7] 0xfc005d34(0xf5c004c8, 0xb6, 0xf5b8191c, 0xfc014c90, 0x0, 0xf5b81840), at 0xfc005d33
[8] 0xfc005be0(0xf5c004c8, 0xb6, 0xf5b8199c, 0xfc014c90, 0x66e70, 0xf5b818c0), at 0xfc005bdf
[9] 0xfc005be0(0xf5b819a0, 0x0, 0x0, 0xf5b819dc, 0x271a98, 0xf5b81940), at 0xfc005bdf
[10] 0xfc000438(0xf5b81a28, 0xf5b81c60, 0xa, 0xf9c5ad48, 0xfc00b6d8, 0xf5b81ba8), at 0xfc000437
[11] JavaCalls::call_helper(0xf5b81c58, 0xf5b81ae8, 0xf5b81ba0, 0x66e70, 0x66e70, 0xf5b81af8), at 0xfe4f47a4
[12] JavaCalls::call_virtual(0xfe758000, 0x673b0, 0xf5b81b94, 0xf5b81b90, 0xf5b81ba0, 0x66e70), at 0xfe503464
[13] JavaCalls::call_virtual(0xf5b81c58, 0xf5b81c54, 0xf5b81c4c, 0xf5b81c44, 0xf5b81c3c, 0x66e70), at 0xfe503318
[14] thread_entry(0x66e70, 0x66e70, 0x35230, 0x673b0, 0x254ed0, 0xfe50306c), at 0xfe5032a0
[15] JavaThread::run(0x66e70, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[16] _start(0x66e70, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
This is the debugger thread that is handling 'commands' coming in from the VM.
t@1 l@1:11 where t@7
current thread: t@7
[1] ___lwp_mutex_lock(0x2d230, 0x0, 0xfe758000, 0xfe76d14c, 0x2c250, 0xf5a81718), at 0xff319944
[2] ObjectMonitor::raw_notify(0xe6428, 0x6c9f8, 0xfe758000, 0xfe76d14c, 0x2c6c8, 0x0), at 0xfe68036c
[3] RawMonitorNotify(0xe6420, 0x13ff4, 0xfe758000, 0xfc005c2c, 0x2574bc, 0x0), at 0xfe648c04
[4] debugMonitorNotify(0xe6420, 0x0, 0xf5a81857, 0xfe76a810, 0x0, 0x0), at 0xfe031240
[5] 0xfe029e5c(0x67bb0, 0xffbedb18, 0x67bb0, 0xfe634450, 0x0, 0x0), at 0xfe029e5b
[6] popFrames_pop(0x2d8, 0x400, 0x630, 0x400, 0x62c, 0xfe046e8c), at 0xfe02a03c
[7] 0xfe01b8a4(0xf5a81b04, 0xf5a819ac, 0xfe01b808, 0xd89a8, 0x81010100, 0xff00), at 0xfe01b8a3
[8] debugLoop_run(0xd7bb0, 0x16d68, 0xf5a81b94, 0xf5a81bb0, 0xd8468, 0x0), at 0xfe020af8
[9] 0xfe02e570(0xfbff27c0, 0x1, 0xfe04a0e4, 0x6a9a0, 0x2bf00, 0x12a3c8), at 0xfe02e56f
[10] 0xfe02e614(0xfbff27c0, 0x6c9f8, 0xf5a81ce8, 0x7f258, 0xf5a81e48, 0x0), at 0xfe02e613
[11] DebuggerThread::start_function_wrapper(0x6c9f8, 0x6c9f8, 0x35590, 0x7f258, 0x254ed0, 0xfe50306c), at 0xfe63d314
[12] JavaThread::run(0x6c9f8, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[13] _start(0x6c9f8, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:12 where t@8
current thread: t@8
[1] ___lwp_cond_wait(0x80028, 0x80010, 0x0, 0x0, 0x0, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x80028, 0x80010, 0x0, 0xfe045210, 0x0, 0x0), at 0xff311444
[3] ObjectMonitor::raw_wait(0x80028, 0xfe793b74, 0xffffffff, 0x1, 0x80010, 0xfe046bf8), at 0xfe68001c
[4] RawMonitorWait(0xd82e0, 0xffffffff, 0xffffffff, 0x40, 0x0, 0xff3359c8), at 0xfe64898c
[5] debugMonitorWait(0xd82e0, 0x1fdbc, 0x0, 0xfe045210, 0xd8680, 0x0), at 0xfe0310c0
[6] 0xfe0254cc(0xe63d8, 0xe63d8, 0xfe04a0e4, 0x80048, 0x2bf00, 0x12a3c8), at 0xfe0254cb
[7] 0xfe0261f4(0x0, 0x7f650, 0xf5981ce8, 0x7fb98, 0xf5981e48, 0x0), at 0xfe0261f3
[8] DebuggerThread::start_function_wrapper(0x7f650, 0x7f650, 0x355d0, 0x7fb98, 0x254ed0, 0xfe50306c), at 0xfe63d314
[9] JavaThread::run(0x7f650, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[10] _start(0x7f650, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
This is the debugger thread that reads from the transport
t@1 l@1:13 where t@9
current thread: t@9
[1] _so_recv(0x5, 0xf5881b24, 0x4, 0x0, 0xe6150, 0x0), at 0xff31686c
[2] dbgsysRecv(0x5, 0xf5881b24, 0x4, 0x0, 0xe6460, 0x20), at 0xfbfe1f2c
[3] 0xfbfe1b5c(0x5, 0xf5881b24, 0x4, 0xfbff2458, 0x0, 0xb3), at 0xfbfe1b5b
[4] 0xfbfe1bd0(0xf5881bec, 0xfbff27c0, 0xf5881b94, 0xfe045210, 0xd8970, 0x0), at 0xfbfe1bcf
[5] transport_receivePacket(0xf5881bec, 0x24654, 0x0, 0x80990, 0x2bf00, 0x12a3c8), at 0xfe02eb4c
[6] 0xfe020bd0(0x0, 0x80ad0, 0xf5881ce8, 0x81018, 0xf5881e48, 0x0), at 0xfe020bcf
[7] DebuggerThread::start_function_wrapper(0x80ad0, 0x80ad0, 0x80210, 0x81018, 0x254ed0, 0xfe50306c), at 0xfe63d314
[8] JavaThread::run(0x80ad0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[9] _start(0x80ad0, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:14 where t@10
current thread: t@10
[1] _poll(0xf5781a80, 0x0, 0xa, 0xff3359c8, 0x0, 0x0), at 0xff317c24
[2] select(0xf5781a80, 0xff338aac, 0xff338aac, 0xff338aac, 0xff338aac, 0x0), at 0xff2cf640
[3] select(0x0, 0xa, 0x0, 0x0, 0x0, 0x0), at 0xff37b614
[4] os::sleep(0x814c8, 0x0, 0xa, 0x0, 0x0, 0x0), at 0xfe51d71c
[5] WatcherThread::run(0x814c8, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe51d4d8
[6] _start(0x814c8, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:15 where t@11
current thread: t@11
[1] ___lwp_cond_wait(0x2b0d0, 0x2b0b8, 0x0, 0x0, 0x0, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x2b0d0, 0x2b0b8, 0x0, 0x0, 0x0, 0xff3359c8), at 0xff311444
[3] Monitor::wait(0x3c00, 0x3e44, 0x0, 0x0, 0x0, 0x0), at 0xfe4f2c18
[4] SuspendCheckerThread::run(0x3400, 0x3560, 0x0, 0x0, 0x0, 0x0), at 0xfe51de88
[5] _start(0x815b8, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:16 where t@12
current thread: t@12
[1] __lwp_sema_wait(0xf5581e78, 0x0, 0x83540, 0xfffffffffffffff8, 0x0, 0xd8e51), at 0xff319a08
[2] _park(0xf5581dc0, 0xf5581e78, 0x0, 0xff398b84, 0x0, 0x0), at 0xff36b288
[3] _swtch(0x5, 0xff38c9ac, 0xf5581e54, 0xf5581e50, 0xf5581e4c, 0xf5581e48), at 0xff36acc4
[4] _sema_wait_cancel(0xfe792ec0, 0xff398254, 0x5000, 0x10000, 0xfe792ee0, 0xfe792ec8), at 0xff36d8d4
[5] check_pending_signals(0xfe76f7bc, 0xfe771ad4, 0xfe792ec0, 0xfe76f74c, 0x2f, 0x0), at 0xfe51eb74
[6] signal_thread_entry(0xfe77c288, 0x82c08, 0x35670, 0x83148, 0x254ed0, 0xfe50306c), at 0xfe51e904
[7] JavaThread::run(0x82c08, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[8] _start(0x82c08, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:17 where t@13
current thread: t@13
[1] ___lwp_cond_wait(0x2c638, 0x2c620, 0x0, 0xf5481bb0, 0xd8e58, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x2c638, 0x2c620, 0x0, 0xfe76d14c, 0x2c620, 0x264d10), at 0xff311444
[3] Monitor::wait(0x3c00, 0x3e44, 0x0, 0x83b20, 0x83f18, 0x0), at 0xfe4f2e10
[4] CompileBroker::compiler_thread_loop(0x835e0, 0x835e0, 0x35610, 0x83b20, 0x254ed0, 0xfe50306c), at 0xfe51ed94
[5] JavaThread::run(0x835e0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[6] _start(0x835e0, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:18 where t@14
Here are the tests that timed out in one run:
./b72/solsparc1 Failed AfterThreadDeathTest.java timed out
./b72/solsparc1 Failed ConnectedVMs.java timed out
./b72/solsparc1 Failed ExceptionEvents.java timed out
./b72/solsparc1 Failed PopSynchronousTest.java timed out
In another run, only PopAsynchronousTest timed out.
It seems like it is easiest to reproduce this by running
PopSychronousTest over and over.
I think the debuggee is hanging. Here is a dump of a hung debuggee
that is running PopSynchronousTest.java:
Attached to process 7993 with 14 LWPs
t@1 (l@1) stopped in __lwp_sema_wait at 0xff319a08
0xff319a08: __lwp_sema_wait+0x0008: ta 0x8
t@1 l@1:3 threads
> t@1 a l@1 ?() suspended in __lwp_sema_wait()
t@2 b l@2 ?() running in _signotifywait()
t@3 ?() sleep on (unknown) in _reap_wait()
t@4 b l@4 _start() running in ___lwp_cond_wait()
t@5 b l@6 _start() running in ___lwp_cond_wait()
t@6 b l@7 _start() running in ___lwp_cond_wait()
t@7 b l@8 _start() running in ___lwp_mutex_lock()
t@8 b l@9 _start() running in ___lwp_cond_wait()
t@9 b l@10 _start() running in _so_recv()
t@10 b l@11 _start() running in _poll()
t@11 b l@12 _start() running in ___lwp_cond_wait()
t@12 b l@13 _start() sleep on 0xfe792ee0 in __lwp_sema_wait()
t@13 b l@14 _start() running in ___lwp_cond_wait()
t@1 l@1:4 where 1
current thread: t@1
=>[1] __lwp_sema_wait(0x27f80, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff319a08
This is the debuggee thread
t@1 l@1:5 where t@1
current thread: t@1
=>[1] __lwp_sema_wait(0x27f80, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff319a08
[2] _park(0x27ec8, 0x27f80, 0x0, 0x1, 0xff38d738, 0x0), at 0xff36b288
[3] _swtch(0x5, 0xff38c9ac, 0x27f5c, 0x27f58, 0x27f54, 0x27f50), at 0xff36af50
[4] _dopreempt(0x0, 0xff38c9ac, 0x0, 0x0, 0x0, 0x0), at 0xff36cec0
[5] _sigsuspnd(0x27ec8, 0xffbecd40, 0xffbeca88, 0x0, 0x0, 0x0), at 0xff36f654
[6] __sighndlr(0x21, 0xffbecd40, 0xffbeca88, 0xff36f670, 0x27f30, 0x0), at 0xff37bd78
[7] sigacthandler(0x21, 0x27ec8, 0xffbeca88, 0xff38c9ac, 0xffbecd40, 0x27ec8), at 0xff378644
---- called from signal handler with signal 33 (SIGLWP) ------
[8] _lwp_cond_wait(0x0, 0x2d230, 0x0, 0x6bb80, 0x0, 0x1), at 0xff31145c
[9] ObjectMonitor::raw_wait(0x2d248, 0xfe793b74, 0xffffffff, 0x1, 0x2d230, 0x9), at 0xfe68001c
[10] RawMonitorWait(0xe6420, 0xffffffff, 0xffffffff, 0xffbecf6c, 0x0, 0xff3359c8), at 0xfe64898c
[11] debugMonitorWait(0xe6420, 0x1, 0xffbecfd8, 0xfe045210, 0x257b70, 0xfe4fff44), at 0xfe0310c0
[12] 0xfe029d60(0xffbed0c8, 0xd3e3c, 0x67bb0, 0x0, 0x1, 0xfc00adcc), at 0xfe029d5f
[13] 0xfe0248d4(0x0, 0x0, 0xfe04a0e4, 0xd3e3c, 0x2c6c8, 0x12a3c8), at 0xfe0248d3
[14] JvmdiInternal::post_event(0xffbed188, 0xffbed184, 0xffbed180, 0xffbed17c, 0xf9d00ed2, 0x0), at 0xfe639aec
[15] jvmdi::post_single_step_event(0x2c7d8, 0xf9d00e88, 0xf9d00ed2, 0xffbed298, 0x261b68, 0xfe5bb78c), at 0xfe64ec24
[16] InterpreterRuntime::at_safepoint(0x2c7d8, 0xc, 0xffbed388, 0xfc014ca4, 0xf9d00ec0, 0xffbed298), at 0xfe5bb79c
[17] 0xfc00adc4(0xf5c4e2a8, 0xd, 0xffbed40c, 0xfc014ca4, 0x261b68, 0xffbed320), at 0xfc00adc3
[18] 0xfc005c24(0xf5c4e2a8, 0xf, 0xffbed498, 0xfc014ca4, 0x261b68, 0xffbed3a8), at 0xfc005c23
[19] 0xfc005c24(0xf5c4e2a8, 0x10, 0xffbed51c, 0xfc014ca4, 0x261b68, 0xffbed430), at 0xfc005c23
[20] 0xfc005c24(0xf5c4e2a8, 0x12, 0xffbed5a8, 0xfc014ca4, 0x0, 0xffbed4b8), at 0xfc005c23
[21] 0xfc005c24(0xf5c4e2a8, 0x13, 0xffbed630, 0xfc014ca4, 0x257b70, 0xffbed540), at 0xfc005c23
[22] 0xfc005c24(0xf5c4e2a8, 0x14, 0xffbed6b4, 0xfc014ca4, 0x1, 0xffbed5c8), at 0xfc005c23
[23] 0xfc005c24(0xf5c4e2a8, 0x16, 0xffbed740, 0xfc014ca4, 0x2c6c8, 0xffbed650), at 0xfc005c23
[24] 0xfc005c24(0xf5c4e2a8, 0x17, 0xffbed7c8, 0xfc014ca4, 0xf9d00ec0, 0xffbed6d8), at 0xfc005c23
[25] 0xfc005c24(0xf5c4e2a8, 0x18, 0xffbed850, 0xfc014ca4, 0x261b68, 0xffbed760), at 0xfc005c23
[26] 0xfc005c24(0xf5c4e2a8, 0x19, 0xffbed8d8, 0xfc014ca4, 0x261b68, 0xffbed7e8), at 0xfc005c23
[27] 0xfc005c24(0xf5c4e2a8, 0x1a, 0xffbed960, 0xfc014ca4, 0x261b68, 0xffbed870), at 0xfc005c23
[28] 0xfc005c24(0xf5c4e2a8, 0x1b, 0xffbed9e8, 0xfc014ca4, 0xffbed3f8, 0xffbed8f8), at 0xfc005c23
[29] 0xfc005c24(0xf5c4e2a8, 0x1c, 0xffbeda70, 0xfc014ca4, 0xffbed46c, 0xffbed980), at 0xfc005c23
[30] 0xfc005c24(0xf5c4e2a8, 0x1d, 0xffbedaf8, 0xfc014ca4, 0x2c7d8, 0xffbeda08), at 0xfc005c23
[31] 0xfc005c24(0xf5c4e2a8, 0x1e, 0xffbedb78, 0xfc014ca4, 0x0, 0xffbeda90), at 0xfc005c23
[32] 0xfc005c24(0xf5c4e2a8, 0xb6, 0x8, 0xfc014ca4, 0xf5e00000, 0xffbedb18), at 0xfc005c23
[33] 0xfc005c24(0xffbedc08, 0x0, 0x0, 0xfc014ca4, 0x271a98, 0xffbedba8), at 0xfc005c23
[34] 0xfc000438(0xffbedc90, 0xffbede38, 0xa, 0xf9d00f80, 0xfc00b6d8, 0xffbedd64), at 0xfc000437
[35] JavaCalls::call_helper(0xffbede30, 0xffbedd3c, 0xffbedd5c, 0x2c7d8, 0x2c7d8, 0x4c00), at 0xfe4f47a4
[36] jni_invoke(0x0, 0xffbede30, 0x0, 0x0, 0xba288, 0xffbede14), at 0xfe5067fc
[37] jni_CallStaticVoidMethod(0x2c85c, 0x2d16c, 0xba288, 0x2d17c, 0x81010100, 0xff00), at 0xfe588fe8
[38] main(0x0, 0x0, 0x2d17c, 0x0, 0x0, 0x254), at 0x12278
t@1 l@1:6 where t@2
current thread: t@2
[1] _signotifywait(0xff399bb0, 0xff398254, 0x0, 0x0, 0x0, 0x0), at 0xff3193d8
[2] _dynamiclwps(0xff38c9ac, 0xff38e2fc, 0x2, 0x0, 0xff3359c8, 0x0), at 0xff36f710
t@1 l@1:7 where t@3
current thread: t@3
[1] _reap_wait(0xff391368, 0x1e44c, 0x0, 0x0, 0x0, 0x0), at 0xff36e814
[2] _reaper(0xff38c9ac, 0xff391368, 0xff38d7c8, 0x27f58, 0x1, 0xfe400000), at 0xff36e590
t@1 l@1:8 where t@4
current thread: t@4
[1] ___lwp_cond_wait(0x2c200, 0x2c1e8, 0xfbe81b20, 0x0, 0x0, 0xfbe81b18), at 0xff3199bc
[2] _lwp_cond_timedwait(0x2c200, 0x2c1e8, 0x2a5b3f18, 0x3b574ed6, 0x0, 0x1), at 0xff3114f0
[3] Monitor::wait(0x3c00, 0x3e44, 0x0, 0x1406f40, 0xfe4f35d8, 0x0), at 0xfe4f2d68
[4] VMThread::loop(0xfe77be44, 0xfe76d380, 0x0, 0x0, 0x0, 0x0), at 0xfe4f34b0
[5] VMThread::run(0x642c8, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe4f31a8
[6] _start(0x642c8, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:9 where t@5
current thread: t@5
[1] ___lwp_cond_wait(0x65f70, 0x65f58, 0x0, 0xfe76d14c, 0x2b0f0, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x65f70, 0x65f58, 0x0, 0xfe67fe90, 0x0, 0x0), at 0xff311444
[3] ObjectMonitor::wait(0x65f18, 0x0, 0x4400, 0x4760, 0x4000, 0x42a8), at 0xfe50442c
[4] ObjectSynchronizer::wait(0xfbd81794, 0x0, 0x0, 0x655a0, 0x655a0, 0x288c4c), at 0xfe503b98
[5] JVM_MonitorWait(0x65624, 0xfbd8188c, 0x0, 0x0, 0x0, 0x0), at 0xfe503884
[6] 0xfc00c974(0xf5c003d0, 0xb6, 0xfbd8190c, 0xffffffff, 0x0, 0xfbd81828), at 0xfc00c973
[7] 0xfc005d34(0xf5c003d0, 0xb6, 0xfbd81910, 0xfc014c90, 0x655a0, 0xfbd818a8), at 0xfc005d33
[8] 0xfc005d34(0xfbd819a0, 0x0, 0x0, 0xfc014fd8, 0x271a98, 0xfbd81940), at 0xfc005d33
[9] 0xfc000438(0xfbd81a28, 0xfbd81c60, 0xa, 0xf9c597d0, 0xfc00b6d8, 0xfbd81ba8), at 0xfc000437
[10] JavaCalls::call_helper(0xfbd81c58, 0xfbd81ae8, 0xfbd81ba0, 0x655a0, 0x655a0, 0xfbd81af8), at 0xfe4f47a4
[11] JavaCalls::call_virtual(0xfe758000, 0x65ae0, 0xfbd81b94, 0xfbd81b90, 0xfbd81ba0, 0x655a0), at 0xfe503464
[12] JavaCalls::call_virtual(0xfbd81c58, 0xfbd81c54, 0xfbd81c4c, 0xfbd81c44, 0xfbd81c3c, 0x655a0), at 0xfe503318
[13] thread_entry(0x655a0, 0x655a0, 0x351d0, 0x65ae0, 0x254ed0, 0xfe50306c), at 0xfe5032a0
[14] JavaThread::run(0x655a0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[15] _start(0x655a0, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:10 where t@6
current thread: t@6
[1] ___lwp_cond_wait(0x67840, 0x67828, 0x0, 0xfe76d14c, 0x2b0f0, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x67840, 0x67828, 0x0, 0xf5b81144, 0x0, 0x0), at 0xff311444
[3] ObjectMonitor::wait(0x677e8, 0x0, 0x4400, 0x4760, 0x4000, 0x42a8), at 0xfe50442c
[4] ObjectSynchronizer::wait(0xf5b81704, 0x0, 0x0, 0x66e70, 0x66e70, 0x288c4c), at 0xfe503b98
[5] JVM_MonitorWait(0x66ef4, 0xf5b81804, 0x0, 0x0, 0x0, 0x0), at 0xfe503884
[6] 0xfc00c974(0xf5c004e0, 0xb6, 0xf5b81808, 0xfc01339c, 0x0, 0xf5b81798), at 0xfc00c973
[7] 0xfc005d34(0xf5c004c8, 0xb6, 0xf5b8191c, 0xfc014c90, 0x0, 0xf5b81840), at 0xfc005d33
[8] 0xfc005be0(0xf5c004c8, 0xb6, 0xf5b8199c, 0xfc014c90, 0x66e70, 0xf5b818c0), at 0xfc005bdf
[9] 0xfc005be0(0xf5b819a0, 0x0, 0x0, 0xf5b819dc, 0x271a98, 0xf5b81940), at 0xfc005bdf
[10] 0xfc000438(0xf5b81a28, 0xf5b81c60, 0xa, 0xf9c5ad48, 0xfc00b6d8, 0xf5b81ba8), at 0xfc000437
[11] JavaCalls::call_helper(0xf5b81c58, 0xf5b81ae8, 0xf5b81ba0, 0x66e70, 0x66e70, 0xf5b81af8), at 0xfe4f47a4
[12] JavaCalls::call_virtual(0xfe758000, 0x673b0, 0xf5b81b94, 0xf5b81b90, 0xf5b81ba0, 0x66e70), at 0xfe503464
[13] JavaCalls::call_virtual(0xf5b81c58, 0xf5b81c54, 0xf5b81c4c, 0xf5b81c44, 0xf5b81c3c, 0x66e70), at 0xfe503318
[14] thread_entry(0x66e70, 0x66e70, 0x35230, 0x673b0, 0x254ed0, 0xfe50306c), at 0xfe5032a0
[15] JavaThread::run(0x66e70, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[16] _start(0x66e70, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
This is the debugger thread that is handling 'commands' coming in from the VM.
t@1 l@1:11 where t@7
current thread: t@7
[1] ___lwp_mutex_lock(0x2d230, 0x0, 0xfe758000, 0xfe76d14c, 0x2c250, 0xf5a81718), at 0xff319944
[2] ObjectMonitor::raw_notify(0xe6428, 0x6c9f8, 0xfe758000, 0xfe76d14c, 0x2c6c8, 0x0), at 0xfe68036c
[3] RawMonitorNotify(0xe6420, 0x13ff4, 0xfe758000, 0xfc005c2c, 0x2574bc, 0x0), at 0xfe648c04
[4] debugMonitorNotify(0xe6420, 0x0, 0xf5a81857, 0xfe76a810, 0x0, 0x0), at 0xfe031240
[5] 0xfe029e5c(0x67bb0, 0xffbedb18, 0x67bb0, 0xfe634450, 0x0, 0x0), at 0xfe029e5b
[6] popFrames_pop(0x2d8, 0x400, 0x630, 0x400, 0x62c, 0xfe046e8c), at 0xfe02a03c
[7] 0xfe01b8a4(0xf5a81b04, 0xf5a819ac, 0xfe01b808, 0xd89a8, 0x81010100, 0xff00), at 0xfe01b8a3
[8] debugLoop_run(0xd7bb0, 0x16d68, 0xf5a81b94, 0xf5a81bb0, 0xd8468, 0x0), at 0xfe020af8
[9] 0xfe02e570(0xfbff27c0, 0x1, 0xfe04a0e4, 0x6a9a0, 0x2bf00, 0x12a3c8), at 0xfe02e56f
[10] 0xfe02e614(0xfbff27c0, 0x6c9f8, 0xf5a81ce8, 0x7f258, 0xf5a81e48, 0x0), at 0xfe02e613
[11] DebuggerThread::start_function_wrapper(0x6c9f8, 0x6c9f8, 0x35590, 0x7f258, 0x254ed0, 0xfe50306c), at 0xfe63d314
[12] JavaThread::run(0x6c9f8, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[13] _start(0x6c9f8, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:12 where t@8
current thread: t@8
[1] ___lwp_cond_wait(0x80028, 0x80010, 0x0, 0x0, 0x0, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x80028, 0x80010, 0x0, 0xfe045210, 0x0, 0x0), at 0xff311444
[3] ObjectMonitor::raw_wait(0x80028, 0xfe793b74, 0xffffffff, 0x1, 0x80010, 0xfe046bf8), at 0xfe68001c
[4] RawMonitorWait(0xd82e0, 0xffffffff, 0xffffffff, 0x40, 0x0, 0xff3359c8), at 0xfe64898c
[5] debugMonitorWait(0xd82e0, 0x1fdbc, 0x0, 0xfe045210, 0xd8680, 0x0), at 0xfe0310c0
[6] 0xfe0254cc(0xe63d8, 0xe63d8, 0xfe04a0e4, 0x80048, 0x2bf00, 0x12a3c8), at 0xfe0254cb
[7] 0xfe0261f4(0x0, 0x7f650, 0xf5981ce8, 0x7fb98, 0xf5981e48, 0x0), at 0xfe0261f3
[8] DebuggerThread::start_function_wrapper(0x7f650, 0x7f650, 0x355d0, 0x7fb98, 0x254ed0, 0xfe50306c), at 0xfe63d314
[9] JavaThread::run(0x7f650, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[10] _start(0x7f650, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
This is the debugger thread that reads from the transport
t@1 l@1:13 where t@9
current thread: t@9
[1] _so_recv(0x5, 0xf5881b24, 0x4, 0x0, 0xe6150, 0x0), at 0xff31686c
[2] dbgsysRecv(0x5, 0xf5881b24, 0x4, 0x0, 0xe6460, 0x20), at 0xfbfe1f2c
[3] 0xfbfe1b5c(0x5, 0xf5881b24, 0x4, 0xfbff2458, 0x0, 0xb3), at 0xfbfe1b5b
[4] 0xfbfe1bd0(0xf5881bec, 0xfbff27c0, 0xf5881b94, 0xfe045210, 0xd8970, 0x0), at 0xfbfe1bcf
[5] transport_receivePacket(0xf5881bec, 0x24654, 0x0, 0x80990, 0x2bf00, 0x12a3c8), at 0xfe02eb4c
[6] 0xfe020bd0(0x0, 0x80ad0, 0xf5881ce8, 0x81018, 0xf5881e48, 0x0), at 0xfe020bcf
[7] DebuggerThread::start_function_wrapper(0x80ad0, 0x80ad0, 0x80210, 0x81018, 0x254ed0, 0xfe50306c), at 0xfe63d314
[8] JavaThread::run(0x80ad0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[9] _start(0x80ad0, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:14 where t@10
current thread: t@10
[1] _poll(0xf5781a80, 0x0, 0xa, 0xff3359c8, 0x0, 0x0), at 0xff317c24
[2] select(0xf5781a80, 0xff338aac, 0xff338aac, 0xff338aac, 0xff338aac, 0x0), at 0xff2cf640
[3] select(0x0, 0xa, 0x0, 0x0, 0x0, 0x0), at 0xff37b614
[4] os::sleep(0x814c8, 0x0, 0xa, 0x0, 0x0, 0x0), at 0xfe51d71c
[5] WatcherThread::run(0x814c8, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe51d4d8
[6] _start(0x814c8, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:15 where t@11
current thread: t@11
[1] ___lwp_cond_wait(0x2b0d0, 0x2b0b8, 0x0, 0x0, 0x0, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x2b0d0, 0x2b0b8, 0x0, 0x0, 0x0, 0xff3359c8), at 0xff311444
[3] Monitor::wait(0x3c00, 0x3e44, 0x0, 0x0, 0x0, 0x0), at 0xfe4f2c18
[4] SuspendCheckerThread::run(0x3400, 0x3560, 0x0, 0x0, 0x0, 0x0), at 0xfe51de88
[5] _start(0x815b8, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:16 where t@12
current thread: t@12
[1] __lwp_sema_wait(0xf5581e78, 0x0, 0x83540, 0xfffffffffffffff8, 0x0, 0xd8e51), at 0xff319a08
[2] _park(0xf5581dc0, 0xf5581e78, 0x0, 0xff398b84, 0x0, 0x0), at 0xff36b288
[3] _swtch(0x5, 0xff38c9ac, 0xf5581e54, 0xf5581e50, 0xf5581e4c, 0xf5581e48), at 0xff36acc4
[4] _sema_wait_cancel(0xfe792ec0, 0xff398254, 0x5000, 0x10000, 0xfe792ee0, 0xfe792ec8), at 0xff36d8d4
[5] check_pending_signals(0xfe76f7bc, 0xfe771ad4, 0xfe792ec0, 0xfe76f74c, 0x2f, 0x0), at 0xfe51eb74
[6] signal_thread_entry(0xfe77c288, 0x82c08, 0x35670, 0x83148, 0x254ed0, 0xfe50306c), at 0xfe51e904
[7] JavaThread::run(0x82c08, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[8] _start(0x82c08, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:17 where t@13
current thread: t@13
[1] ___lwp_cond_wait(0x2c638, 0x2c620, 0x0, 0xf5481bb0, 0xd8e58, 0x0), at 0xff3199bc
[2] _lwp_cond_wait(0x2c638, 0x2c620, 0x0, 0xfe76d14c, 0x2c620, 0x264d10), at 0xff311444
[3] Monitor::wait(0x3c00, 0x3e44, 0x0, 0x83b20, 0x83f18, 0x0), at 0xfe4f2e10
[4] CompileBroker::compiler_thread_loop(0x835e0, 0x835e0, 0x35610, 0x83b20, 0x254ed0, 0xfe50306c), at 0xfe51ed94
[5] JavaThread::run(0x835e0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe503094
[6] _start(0x835e0, 0x0, 0x1, 0xff38e000, 0x1, 0xff38c9ac), at 0xfe4f30a8
t@1 l@1:18 where t@14
- backported by
-
JDK-2045560 Some jtreg tests get timeouts on solaris with build 72
- Closed
- relates to
-
JDK-4721871 PopAsynchronousTest hits an assert intermittently
- Resolved
-
JDK-4619349 Step Over fails in a multi threaded debuggee
- Resolved
-
JDK-4657650 threadstart002: suspend/resume fails with intermediate DeleteGlobalRef call
- Closed
-
JDK-4670964 jdbx is broken from Hopper-B03 onward
- Closed