harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Ignatenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3047) [drlvm] EUT jdtdebug suit passes with JVMTI_ERROR_unknown error
Date Mon, 12 Feb 2007 08:51:05 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472218
] 

Aleksey Ignatenko commented on HARMONY-3047:
--------------------------------------------

I succeded to reproduce deadlock in debugged app twice. Here is call stack for it.
2 threads:
>	644	main	_thread_cond_timedwait	Normal	0
>	3444	vectored_exception_handler	_thread_cond_timedwait	Normal	0

1. main:
 	ntdll.dll!7c82ed54() 	
 	ntdll.dll!7c822124() 	
 	kernel32.dll!77e6baa8() 	
 	kernel32.dll!77e58f0d() 	
 	kernel32.dll!77e6ba12() 	
>	hythr.dll!_thread_cond_timedwait(apr_thread_cond_t * cond=0x004267c8, apr_thread_mutex_t
* mutex=0x00426790, unsigned long timeout_ms=0x00000065)  Line 94 + 0x10	C
 	hythr.dll!apr_thread_cond_timedwait(apr_thread_cond_t * cond=0x004267c8, apr_thread_mutex_t
* mutex=0x00426790, __int64 timeout=0x00000000000186a1)  Line 125 + 0x11	C
 	hythr.dll!condvar_wait_impl(HyCond * cond=0x004267c8, HyMutex * mutex=0x00426790, __int64
ms=0x0000000000000064, int nano=0x00000000, int interruptable=0x00000000)  Line 71 + 0x6f
C
 	hythr.dll!latch_wait_impl(HyLatch * latch=0x00426780, __int64 ms=0x0000000000000064, int
nano=0x00000000, int interruptable=0x00000000)  Line 78 + 0x23	C
 	hythr.dll!hylatch_wait_timed(HyLatch * latch=0x00426780, __int64 ms=0x0000000000000064,
int nano=0x00000000)  Line 116 + 0x17	C
 	hythr.dll!hythread_join_timed(HyThread * t=0x0042c028, __int64 millis=0x0000000000000064,
int nanos=0x00000000)  Line 319 + 0x18	C
 	harmonyvm.dll!vm_shutdown_stop_java_threads(Global_Env * vm_env=0x011e3430)  Line 164 +
0x15	C++
 	harmonyvm.dll!vm_destroy(JavaVM_Internal * java_vm=0x011e3418, _jobject * java_thread=0x02e61b88)
 Line 258 + 0xc	C++
 	harmonyvm.dll!DestroyJavaVM(JavaVM_External * vm=0x011e3418)  Line 1504 + 0xd	C++
 	java.exe!invocation(HyPortLibrary * portLibrary=0x0013fbc0, int argc=0x00000005, char *
* argv=0x00394e10, unsigned int handle=0x00510000, int version=0x00010004, unsigned char ignoreUnrecognized='',
char * mainClass=0x00394da4, unsigned int classArg=0x00000004, char * propertiesFileName=0x001557e8,
int isStandaloneJar=0x00000000, char * vmdllsubdir=0x0013faf0)  Line 728	C
 	java.exe!gpProtectedMain(haCmdlineOptions * args=0x0013fb98)  Line 362 + 0x33	C
 	java.exe!signalProtectedMain(HyPortLibrary * portLibrary=0x0013fbc0, void * arg=0x0013fb98)
 Line 80 + 0x9	C
 	hyprt.dll!hysig_protect(HyPortLibrary * portLibrary=0x0013fbc0, unsigned int (HyPortLibrary
*, void *)* fn=0x00401290, void * fn_arg=0x0013fb98, unsigned int (HyPortLibrary *, unsigned
int, void *, void *)* handler=0x00401120, void * handler_arg=0x00000000, unsigned int flags=0x0000007c,
unsigned int * result=0x0013fb94)  Line 126 + 0xb	C
 	java.exe!main(int argc=0x00000005, char * * argv=0x00394e10, char * * envp=0x00393648) 
Line 114 + 0x29	C
 	java.exe!mainCRTStartup()  Line 398 + 0xe	C


2. vectored_exception_handler:
 	ntdll.dll!7c82ed54() 	
 	ntdll.dll!7c822124() 	
 	kernel32.dll!77e6baa8() 	
 	kernel32.dll!77e58f0d() 	
 	kernel32.dll!77e6ba12() 	
>	hythr.dll!_thread_cond_timedwait(apr_thread_cond_t * cond=0x00426900, apr_thread_mutex_t
* mutex=0x004268c8, unsigned long timeout_ms=0xffffffff)  Line 94 + 0x10	C
 	hythr.dll!apr_thread_cond_wait(apr_thread_cond_t * cond=0x00426900, apr_thread_mutex_t *
mutex=0x004268c8)  Line 114 + 0xf	C
 	hythr.dll!condvar_wait_impl(HyCond * cond=0x00426900, HyMutex * mutex=0x004268c8, __int64
ms=0x0000000000000000, int nano=0x00000000, int interruptable=0x00000000)  Line 71 + 0x1b
C
 	hythr.dll!sem_wait_impl(HySemaphore * sem=0x004268b0, __int64 ms=0x0000000000000000, int
nano=0x00000000, int interruptable=0x00000000)  Line 69 + 0x23	C
 	hythr.dll!hysem_wait(HySemaphore * sem=0x004268b0)  Line 107 + 0x11	C
 	hythr.dll!thread_safe_point_impl(HyThread * thread=0x0042c028)  Line 181 + 0xc	C
 	hythr.dll!hythread_suspend_disable()  Line 132 + 0x9	C
 	harmonyvm.dll!exn_raise_by_class_internal(Class * exc_class=0x0127b388, const char * exc_message=0x00000000,
_jobject * exc_cause=0x00000000)  Line 381	C++
 	harmonyvm.dll!exn_raise_by_class(Class * exc_class=0x0127b388, const char * exc_message=0x00000000,
_jobject * exc_cause=0x00000000)  Line 291 + 0x11	C++
 	harmonyvm.dll!exn_raise_by_class(Class * exc_class=0x0127b388)  Line 273 + 0xd	C++
 	harmonyvm.dll!vectored_exception_handler_internal(_EXCEPTION_POINTERS * nt_exception=0x03712dd8)
 Line 376 + 0xf	C++
 	harmonyvm.dll!vectored_exception_handler(_EXCEPTION_POINTERS * nt_exception=0x03712dd8)
 Line 294	C++
 	ntdll.dll!7c84f937() 	
 	ntdll.dll!7c813fb5() 	
 	ntdll.dll!7c814055() 	


> [drlvm] EUT jdtdebug suit passes with JVMTI_ERROR_unknown error
> ---------------------------------------------------------------
>
>                 Key: HARMONY-3047
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3047
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: reproduced on Windows 
>            Reporter: Aleksey Ignatenko
>         Attachments: java_jdtdebug_assert_gc_slide_mov_all_assert.dmp, java_jdtdebug_class_h_1700_assert_failed.dmp,
readPacket.txt
>
>
> When runningn jdtdebug suilt from EUT Eclipse writes to console window the following
error (I consider it equal to crash):
> FATAL ERROR occurred in native method: JDWP on raw monitor wait, jvmtiError=JVMTI_ERROR_unknown(70007)
> The stack trace of the 02B73788 java thread:
> JDWP exit error JVMTI_ERROR_unknown(70007): on raw monitor wait
> I succeded to see the crash in debugger, stack trace:
>  	kernel32.dll!77e55dea() 	
>  	kernel32.dll!77e55dea() 	
>  	rpcrt4.dll!77c71abe() 	
>  	rpcrt4.dll!77c71122() 	
>  	rpcrt4.dll!77c84664() 	
>  	rpcrt4.dll!77c848aa() 	
>  	rpcrt4.dll!77ce2125() 	
>  	harmonyvm.dll!std::_Tree<std::_Tmap_traits<String const *,Class *,std::less<String
const *>,std::allocator<std::pair<String const * const,Class *> >,0> >::_Key(std::_Tree_nod<std::_Tmap_traits<String
const *,Class *,std::less<String const *>,std::allocator<std::pair<String const
* const,Class *> >,0> >::_Node * _Pnode=0x01252840)  Line 142 + 0x12	C++
>  	harmonyvm.dll!std::_Tree<std::_Tmap_traits<String const *,Class *,std::less<String
const *>,std::allocator<std::pair<String const * const,Class *> >,0> >::iterator::iterator(std::_Tree_nod<std::_Tmap_traits<String
const *,Class *,std::less<String const *>,std::allocator<std::pair<String const
* const,Class *> >,0> >::_Node * _Pnode=0x00000000)  Line 313	C++
>  	0cab2048()	
>  	hythr.dll!apr_thread_mutex_trylock(apr_thread_mutex_t * mutex=0x5f29c8f4)  Line 106
+ 0x36	C
>  	harmonyvm.dll!interpreter_enabled()  Line 48 + 0xf	C++
>  	00000009()	
> >	harmonyvm.dll!Class::prepare(Global_Env * env=0x71b2423a)  Line 1535 + 0xf	C++
>  	mswsock.dll!71b24206() 	
>  	harmonyvm.dll!get_vm_thread(HyThread * thr=0x4bbbdbb4)  Line 119 + 0xf	C++
>  	hythr.dll!tmn_self_macro()  Line 96 + 0xa	C
>  	b87ae8ec()	
> Looks like the problem is somethere in classloader, but Eclipse reports JVMTI error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message