harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r601689 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp
Date Thu, 06 Dec 2007 10:43:33 GMT
Author: varlax
Date: Thu Dec  6 02:43:33 2007
New Revision: 601689

URL: http://svn.apache.org/viewvc?rev=601689&view=rev
Log:
Fixed SIGSEGV in dump handler

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?rev=601689&r1=601688&r2=601689&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp Thu Dec  6 02:43:33 2007
@@ -447,6 +447,8 @@
             NULL, 0, 0, NULL, vm_dump_entry_point, (void *)vmBuf[i]);
         assert(hy_status == TM_ERROR_NONE);
     }
+    // set buf end marker
+    threadBuf[nVMs] = NULL;
 
     // spawn a new thread which will release resources.
     hy_status = hythread_create(NULL, 0, 0, 0,



Mime
View raw message