[vbox-dev] VBoxSvc crash when deleting snapshots

Huihong Luo huisinro at yahoo.com
Fri Nov 6 20:42:28 GMT 2009


tried latest code, crash is gone, but deleting snapshots still not working as expected
 
(1) start a vm, take snapshot
(2) install something, e.g., firefox, to the vm
(3) shutdown vm
(4) now trying to delete the vm, I got "Failed to delete snapshot" error
 
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 
 
maybe more productive to perform some sanity checks before major code changes go to SVN. A bit frustrated !

--- On Fri, 11/6/09, Ulrich Moeller <umoeller at sun.com> wrote:


From: Ulrich Moeller <umoeller at sun.com>
Subject: Re: [vbox-dev] VBoxSvc crash when deleting snapshots
To: vbox-dev at virtualbox.org
Date: Friday, November 6, 2009, 5:01 AM


Thanks for the report. I just fixed this, please check the next sync.

Huihong Luo wrote:
>  
> MediaData::AttachmentList &snapAtts =
> snapshot->getSnapshotMachine()->mMediaData->mAttachments;
> AssertBreak(pAttach = findAttachment(snapAtts, replaceHd));
> }
> attachLock.unlock();  <=== CRASH
> AutoWriteLock attLock(pAttach);
> pAttach->updateMedium(pHD, false /* aImplicit */);
> toDiscard.push_back(MediumDiscardRec(pHD,
> chain,
> replaceHd,
> pAttach,
> snapshotId));
>  
>  
>> VBoxSVC.exe!SessionMachine::deleteSnapshotHandler(SessionMachine::DeleteSnapshotTask
> & aTask={...})  Line 2201 + 0x14 bytes C++
>   VBoxSVC.exe!SessionMachine::DeleteSnapshotTask::handler()  Line 1122 C++
>   VBoxSVC.exe!Sess5:45 PM 11/5/2009ionMachine::taskHandler(RTTHREADINT *
> __formal=0x028bb868, void * pvUser=0x028c8148)  Line 1145 C++
>   VBoxRT.dll!rtThreadMain(RTTHREADINT * pThread=0x028bb868, unsigned int
> NativeThread=5712, const char * pszThreadName=0x028bb8d0)  Line 637 +
> 0xa bytes C++
>   VBoxRT.dll!rtThreadNativeMain(void * pvArgs=0x028bb868)  Line 106 +
> 0xb bytes C++
>   msvcr80.dll!_callthreadstartex()  Line 348 + 0x6 bytes C
>   msvcr80.dll!_threadstartex(void * ptd=0x01eab6b0)  Line 326 + 0x5 bytes C
>   kernel32.dll!@BaseThreadInitThunk at 12
> <mailto:kernel32.dll!@BaseThreadInitThunk at 12>()  + 0x12 bytes 
>   ntdll.dll!___RtlUserThreadStart at 8
> <mailto:ntdll.dll!___RtlUserThreadStart at 8>()  + 0x27 bytes 
>   ntdll.dll!__RtlUserThreadStart at 8
> <mailto:ntdll.dll!__RtlUserThreadStart at 8>()  + 0x1b bytes 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev



_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20091106/de484c18/attachment.html>


More information about the vbox-dev mailing list