<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>tried latest code, crash is gone, but deleting snapshots still not working as expected</DIV>
<DIV> </DIV>
<DIV>(1) start a vm, take snapshot</DIV>
<DIV>(2) install something, e.g., firefox, to the vm</DIV>
<DIV>(3) shutdown vm</DIV>
<DIV>(4) now trying to delete the vm, I got "Failed to delete snapshot" error</DIV>
<DIV> </DIV>
<DIV>Quite the console, kill VBoxSVC.exe, and run console again, then you can delete the snapshot. Initially, seems to be very slow, takes quite a while before 1% shows up </DIV>
<DIV> </DIV>
<DIV>maybe more productive to perform some sanity checks before major code changes go to SVN. A bit frustrated !<BR><BR>--- On <B>Fri, 11/6/09, Ulrich Moeller <I><umoeller@sun.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Ulrich Moeller <umoeller@sun.com><BR>Subject: Re: [vbox-dev] VBoxSvc crash when deleting snapshots<BR>To: vbox-dev@virtualbox.org<BR>Date: Friday, November 6, 2009, 5:01 AM<BR><BR>
<DIV class=plainMail>Thanks for the report. I just fixed this, please check the next sync.<BR><BR>Huihong Luo wrote:<BR>>  <BR>> MediaData::AttachmentList &snapAtts =<BR>> snapshot->getSnapshotMachine()->mMediaData->mAttachments;<BR>> AssertBreak(pAttach = findAttachment(snapAtts, replaceHd));<BR>> }<BR>> attachLock.unlock();  <=== CRASH<BR>> AutoWriteLock attLock(pAttach);<BR>> pAttach->updateMedium(pHD, false /* aImplicit */);<BR>> toDiscard.push_back(MediumDiscardRec(pHD,<BR>> chain,<BR>> replaceHd,<BR>> pAttach,<BR>> snapshotId));<BR>>  <BR>>  <BR>>> VBoxSVC.exe!SessionMachine::deleteSnapshotHandler(SessionMachine::DeleteSnapshotTask<BR>> & aTask={...})  Line 2201 + 0x14 bytes C++<BR>>   VBoxSVC.exe!SessionMachine::DeleteSnapshotTask::handler()  Line 1122 C++<BR>>   VBoxSVC.exe!Sess5:45 PM
 11/5/2009ionMachine::taskHandler(RTTHREADINT *<BR>> __formal=0x028bb868, void * pvUser=0x028c8148)  Line 1145 C++<BR>>   VBoxRT.dll!rtThreadMain(RTTHREADINT * pThread=0x028bb868, unsigned int<BR>> NativeThread=5712, const char * pszThreadName=0x028bb8d0)  Line 637 +<BR>> 0xa bytes C++<BR>>   VBoxRT.dll!rtThreadNativeMain(void * pvArgs=0x028bb868)  Line 106 +<BR>> 0xb bytes C++<BR>>   msvcr80.dll!_callthreadstartex()  Line 348 + 0x6 bytes C<BR>>   msvcr80.dll!_threadstartex(void * ptd=0x01eab6b0)  Line 326 + 0x5 bytes C<BR>>   kernel32.dll!@BaseThreadInitThunk@12<BR>> <mailto:kernel32.dll!@BaseThreadInitThunk@12>()  + 0x12 bytes <BR>>   ntdll.dll!___RtlUserThreadStart@8<BR>> <mailto:ntdll.dll!___RtlUserThreadStart@8>()  + 0x27 bytes
 <BR>>   ntdll.dll!__RtlUserThreadStart@8<BR>> <mailto:ntdll.dll!__RtlUserThreadStart@8>()  + 0x1b bytes <BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> <BR>> _______________________________________________<BR>> vbox-dev mailing list<BR>> <A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A><BR>> <A href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target=_blank>http://vbox.innotek.de/mailman/listinfo/vbox-dev</A><BR><BR><BR><BR>_______________________________________________<BR>vbox-dev mailing list<BR><A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A><BR><A href="http://vbox.innotek.de/mailman/listinfo/vbox-dev"
 target=_blank>http://vbox.innotek.de/mailman/listinfo/vbox-dev</A><BR></DIV></BLOCKQUOTE></td></tr></table>