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 Tue, 13 Feb 2007 10:02:06 GMT

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

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

Yep, here is a bit another deadlock:
1.  	hythr.dll!apr_thread_mutex_lock(apr_thread_mutex_t * mutex=0x00428410)  Line 85 + 0xf
C
 	hythr.dll!hymutex_lock(HyMutex * mutex=0x00428410)  Line 72 + 0x9	C
 	hythr.dll!hythread_monitor_enter(HyThreadMonitor * mon_ptr=0x004283d8)  Line 87 + 0xb	C
 	harmonyvm.dll!jthread_raw_monitor_enter(int mon_ptr=0x0000000e)  Line 120 + 0x9	C
 	harmonyvm.dll!jvmtiRawMonitorEnter(jvmtiEnv_struct * env=0x012399f0, int monitor=0x0000000e)
 Line 91 + 0x9	C++
 	jdwp.dll!jdwp::AgentMonitor::Enter()  Line 48	C++
 	jdwp.dll!jdwp::MonitorAutoLock::MonitorAutoLock(jdwp::AgentMonitor * monitor=0x02db0478,
const char * file=0x015d6fc4, int line=0x000000e3)  Line 123	C++
 	jdwp.dll!jdwp::PacketDispatcher::Stop()  Line 228	C++
 	jdwp.dll!jdwp::PacketDispatcher::ShutdownAll(JNIEnv_External * jni=0x0124c520)  Line 302
C++
 	jdwp.dll!VMDeath(jvmtiEnv_struct * jvmti=0x012399f0, JNIEnv_External * jni=0x0124c520) 
Line 183	C++
>	harmonyvm.dll!jvmti_send_vm_death_event()  Line 1974 + 0xd	C++
 	harmonyvm.dll!vm_destroy(JavaVM_Internal * java_vm=0x011e33b8, _jobject * java_thread=0x02e64380)
 Line 234	C++
 	harmonyvm.dll!DestroyJavaVM(JavaVM_External * vm=0x011e33b8)  Line 1504 + 0xd	C++
 	java.exe!invocation(HyPortLibrary * portLibrary=0x0013fbc0, int argc=0x00000005, char *
* argv=0x00394d70, unsigned int handle=0x00510000, int version=0x00010004, unsigned char ignoreUnrecognized='',
char * mainClass=0x00394d04, unsigned int classArg=0x00000004, char * propertiesFileName=0x001557e8,
int isStandaloneJar=0x00000000, char * vmdllsubdir=0x0013fb4c)  Line 728	C
 	java.exe!gpProtectedMain(haCmdlineOptions * args=0x0013fb98)  Line 362 + 0x33	C
 	java.exe!main(int argc=0x00000005, char * * argv=0x00394d70, char * * envp=0x00393600) 
Line 106 + 0xc	C
 	java.exe!mainCRTStartup()  Line 398 + 0xe	C

2. >	hythr.dll!apr_thread_mutex_lock(apr_thread_mutex_t * mutex=0x00428350)  Line 85 +
0xf	C
 	hythr.dll!hymutex_lock(HyMutex * mutex=0x00428350)  Line 72 + 0x9	C
 	hythr.dll!hythread_monitor_enter(HyThreadMonitor * mon_ptr=0x00428318)  Line 87 + 0xb	C
 	harmonyvm.dll!jthread_raw_monitor_enter(int mon_ptr=0x0000000d)  Line 120 + 0x9	C
 	harmonyvm.dll!jvmtiRawMonitorEnter(jvmtiEnv_struct * env=0x012399f0, int monitor=0x0000000d)
 Line 91 + 0x9	C++
 	jdwp.dll!jdwp::AgentMonitor::Enter()  Line 48	C++
 	jdwp.dll!jdwp::MonitorAutoLock::MonitorAutoLock(jdwp::AgentMonitor * monitor=0x02db0448,
const char * file=0x015d5c60, int line=0x00000090)  Line 123	C++
 	jdwp.dll!jdwp::EventDispatcher::Stop(JNIEnv_External * jni=0x02daa5f8)  Line 145	C++
 	jdwp.dll!jdwp::PacketDispatcher::Run(JNIEnv_External * jni=0x02daa5f8)  Line 202 + 0x21
C++
 	jdwp.dll!jdwp::PacketDispatcher::StartFunction(jvmtiEnv_struct * jvmti_env=0x012399f0, JNIEnv_External
* jni=0x02daa5f8, void * arg=0x01256748)  Line 324	C++
 	harmonyvm.dll!wrapper_proc(void * arg=0x02da5fe8)  Line 96 + 0x1a	C
 	hythr.dll!thread_start_proc(apr_thread_t * thd=0x0042e108, void * p_args=0x0042e0f8)  Line
723 + 0xf	C
 	hythr.dll!dummy_worker(void * opaque=0x0042e108)  Line 79 + 0x13	C
 	hythr.dll!_threadstartex(void * ptd=0x00382320)  Line 241 + 0xd	C


> [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_hangs.dmp, 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