<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>yes, works well now, thanks!</DIV>
<DIV> </DIV>
<DIV>I have noted that VBoxSvc.exe does not auto quit after all vms and console gui are closed. It used to quit automatically when no vbox instance running.</DIV>
<DIV> </DIV>
<DIV>Not sure if this is a bug, perhaps some references are not released properly. (this is not to do with snapshots)<BR><BR>--- On <B>Mon, 11/9/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: "Huihong Luo" <huisinro@yahoo.com><BR>Cc: "VirtualBox developer's list" <vbox-dev@virtualbox.org><BR>Date: Monday, November 9, 2009, 7:07 AM<BR><BR>
<DIV class=plainMail>The problems in deleteSnapshot() should be fixed now as well. Please<BR>check the next sync. Deleting snapshot only failed if the snapshot was<BR>taken in the same session (i.e. without a VBoxSVC restart) because<BR>VBoxSVC failed to update medium backreferences correctly after a<BR>snapshot was taken.<BR><BR>Huihong Luo wrote:<BR>> Achim,<BR>> <BR>> No problem, and no harms meant. Your team has done an excellent job<BR>> considering such a complex project.<BR>> <BR>> - Huihong<BR>> <BR>> --- On *Fri, 11/6/09, Achim Hasenmueller /<<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=achim@sun.com" ymailto="mailto:achim@sun.com">achim@sun.com</A>>/* wrote:<BR>> <BR>> <BR>> From: Achim Hasenmueller <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=achim@sun.com" ymailto="mailto:achim@sun.com">achim@sun.com</A>><BR>>
Subject: Re: [vbox-dev] VBoxSvc crash when deleting snapshots<BR>> To: "Huihong Luo" <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=huisinro@yahoo.com" ymailto="mailto:huisinro@yahoo.com">huisinro@yahoo.com</A>><BR>> Cc: "Ulrich Moeller" <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=umoeller@sun.com" ymailto="mailto:umoeller@sun.com">umoeller@sun.com</A>>, "Sander Van Leeuwen"<BR>> <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=Sander.Vanleeuwen@sun.com" ymailto="mailto:Sander.Vanleeuwen@sun.com">Sander.Vanleeuwen@sun.com</A>><BR>> Date: Friday, November 6, 2009, 11:50 PM<BR>> <BR>> Huihong,<BR>> <BR>> SVN is bleeding edge. Alternatively we could only sync SVN at<BR>> certain points where we've
performed limited QA. This would give you<BR>> hundreds of changesets at once maybe every month or even less often.<BR>> SVN is for developers like you and your feedback helps us to iron<BR>> out bugs fast. Snapshots had several major regressions (our internal<BR>> developers suffered, too) but they are being addressed as fast as we<BR>> can and we expect it to be stable again early next week.<BR>> <BR>> --<BR>> Achim Hasenmueller<BR>> Director Engineering, VirtualBox<BR>> Sun Microsystems GmbH<BR>> Werkstrasse 24<BR>> 71384 Weinstadt, Germany<BR>> phone: +49 7151 604050<BR>> <BR>>
================================================<BR>> Sitz der Gesellschaft: Sun Microsystems GmbH,<BR>> Sonnenallee 1, 85551 Kirchheim-Heimstetten <BR>> Amtsgericht Muenchen: HRB 161028<BR>> Geschaeftsfuehrer: Thomas Schroeder,<BR>> Wolfgang Engels, Wolf Frenkel<BR>> Vorsitzender des Aufsichtsrates: Martin Haering<BR>> ================================================<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> On Nov 6, 2009, at 21:42 , Huihong Luo wrote:<BR>> <BR>>> tried latest code, crash is gone, but deleting snapshots still not<BR>>> working as expected<BR>>> <BR>>> (1) start a vm, take
snapshot<BR>>> (2) install something, e.g., firefox, to the vm<BR>>> (3) shutdown vm<BR>>> (4) now trying to delete the vm, I got "Failed to delete snapshot"<BR>>> error<BR>>> <BR>>> Quite the console, kill VBoxSVC.exe, and run console again, then<BR>>> you can delete the snapshot. Initially, seems to be very slow,<BR>>> takes quite a while before 1% shows up<BR>>> <BR>>> maybe more productive to perform some sanity checks before major<BR>>> code changes go to SVN. A bit frustrated !<BR>>><BR>>> --- On *Fri, 11/6/09, Ulrich Moeller /<<A
href="http://us.mc343.mail.yahoo.com/mc/compose?to=umoeller@sun.com" ymailto="mailto:umoeller@sun.com">umoeller@sun.com</A><BR>>> <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=umoeller@sun.com" target=_blank>http://us.mc343.mail.yahoo.com/mc/compose?to=umoeller@sun.com</A>>>/*<BR>>> wrote:<BR>>><BR>>><BR>>> From: Ulrich Moeller <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=umoeller@sun.com" ymailto="mailto:umoeller@sun.com">umoeller@sun.com</A><BR>>> <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=umoeller@sun.com" target=_blank>http://us.mc343.mail.yahoo.com/mc/compose?to=umoeller@sun.com</A>>><BR>>> Subject: Re: [vbox-dev] VBoxSvc crash when deleting snapshots<BR>>>
To: <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://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" target=_blank>http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org</A>><BR>>> Date: Friday, November 6, 2009, 5:01 AM<BR>>><BR>>> Thanks for the report. I just fixed this, please check the<BR>>> 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>>> >><BR>>> VBoxSVC.exe!SessionMachine::deleteSnapshotHandler(SessionMachine::DeleteSnapshotTask<BR>>> > & aTask={...}) Line 2201 + 0x14 bytes C++<BR>>> > VBoxSVC.exe!SessionMachine::DeleteSnapshotTask::handler() <BR>>> Line 1122 C++<BR>>> > VBoxSVC.exe!Sess5:45 PM<BR>>> 11/5/2009ionMachine::taskHandler(RTTHREADINT *<BR>>> > __formal=0x028bb868, void * pvUser=0x028c8148) Line 1145 C++<BR>>> > VBoxRT.dll!rtThreadMain(RTTHREADINT *
pThread=0x028bb868,<BR>>> unsigned int<BR>>> > NativeThread=5712, const char * pszThreadName=0x028bb8d0) <BR>>> Line 637 +<BR>>> > 0xa bytes C++<BR>>> > VBoxRT.dll!rtThreadNativeMain(void * pvArgs=0x028bb868) <BR>>> Line 106 +<BR>>> > 0xb bytes C++<BR>>> > msvcr80.dll!_callthreadstartex() Line 348 + 0x6 bytes C<BR>>> > msvcr80.dll!_threadstartex(void * ptd=0x01eab6b0) Line<BR>>> 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>>> > _______________________________________________<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://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" target=_blank>http://us.mc343.mail.yahoo.com/mc/compose?to=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://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" target=_blank>http://us.mc343.mail.yahoo.com/mc/compose?to=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>>> 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://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" target=_blank>http://us.mc343.mail.yahoo.com/mc/compose?to=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><BR>--<BR>Dr. Ulrich Möller, Berlin, Germany<BR>Phone: +49 (30) 2345 7072 | Int. x64070 | <A href="http://us.mc343.mail.yahoo.com/mc/compose?to=umoeller@sun.com" ymailto="mailto:umoeller@sun.com">umoeller@sun.com</A><BR><BR></DIV></BLOCKQUOTE></td></tr></table>