You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by va...@apache.org on 2006/11/28 11:14:24 UTC
svn commit: r479973 -
/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp
Author: varlax
Date: Tue Nov 28 02:14:24 2006
New Revision: 479973
URL: http://svn.apache.org/viewvc?view=rev&rev=479973
Log:
Fixed SIGSEGV in dump_all_java_stacks() on interpreter
as suggested by Ivan Volosyuk
Modified:
harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp
Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp?view=diff&rev=479973&r1=479972&r2=479973
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp Tue Nov 28 02:14:24 2006
@@ -172,7 +172,7 @@
native_thread ;
while(native_thread = hythread_iterator_next(&iterator)) {
vm_thread = get_vm_thread(native_thread);
- assert(vm_thread);
+ if (!vm_thread) continue;
interpreter.stack_dump(vm_thread);
}
hythread_resume_all(NULL);