<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Alex,</DIV>
<DIV> </DIV>
<DIV>No problem, and thanks for the quick fix.</DIV>
<DIV> </DIV>
<DIV>There might be more bugs, I will keep testing.</DIV>
<DIV> </DIV>
<DIV>Some times, the error occurs some other places, an error message something like "there are 5993 child disks", the number is kind of random. When this error occurs, the whole disk become inaccessible, and I have to recreate the whole vm.</DIV>
<DIV> </DIV>
<DIV>Huihong<BR><BR>--- On <B>Thu, 6/11/09, Alexander Eichner <I><Alexander.Eichner@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: Alexander Eichner <Alexander.Eichner@Sun.COM><BR>Subject: Re: [vbox-dev] vhd format not stable?<BR>To: vbox-dev@virtualbox.org<BR>Date: Thursday, June 11, 2009, 1:52 AM<BR><BR>
<DIV class=plainMail>Hi Huihong,<BR><BR>thanks for the report. This bug is fixed now and should appear soon in<BR>the public svn.<BR><BR>Kind regards,<BR>Alexander Eichner<BR><BR>Am Donnerstag, den 11.06.2009, 09:55 +0200 schrieb Frank Mehnert:<BR>> Actually the .vhd format is less tested than the .vdi format. Which<BR>> VBox version are you using?<BR>> <BR>> On Thursday 11 June 2009, Huihong Luo wrote:<BR>> > It seems VHD format is not stable as VDI. VBoxSVC.exe pretty much always<BR>> > crashes when a snapshot is being discarded. I am running an XP guest on<BR>> > Vista host. The VHD's capacity is over 100G. <BR>> > If you look at the following stack, the crash was caused by<BR>> > pImage->pszParentFilename is NULL inside<BR>> > static int vhdDynamicHeaderUpdate(PVHDIMAGE pImage) in VHDHDDCore.cpp<BR>> >  <BR>> > I used the very recent SVN source.<BR>> >  <BR>> >
 //////////<BR>> > vboxsvc.exe crash stack:<BR>> >  <BR>> > VBoxRT.dll!RTPathFilename(const char * pszPath=0x00000000)  Line 240 C++<BR>> >   VBoxDDU.dll!vhdDynamicHeaderUpdate(VHDIMAGE * pImage=0x00000000)  Line<BR>> > 362 + 0x12 bytes C++ VBoxDDU.dll!vhdFlush(void * pBackendData=0x01c2caf0) <BR>> > Line 1157 C++ VBoxDDU.dll!vhdClose(void * pBackendData=0x01c2caf0, bool<BR>> > fDelete=false)  Line 880 + 0x6 bytes C++ VBoxDDU.dll!VDClose(VBOXHDD *<BR>> > pDisk=0x01e0e218, bool fDelete=false)  Line 2268 C++<BR>> > VBoxSVC.exe!HardDisk::taskThread(RTTHREADINT * thread=0x00000000, void *<BR>> > pvUser=0x00e0e2b8)  Line 4063 + 0xb bytes C++<BR>> > VBoxSVC.exe!HardDisk::Task::runNow()  Line 220 C++<BR>> >   VBoxSVC.exe!HardDisk::mergeTo(HardDisk::MergeChain * aChain=0x01c2cfe0,<BR>> >
 ComObjPtr<Progress,ComStrongRef> * aProgress=0x01e06fe8, bool aWait=true) <BR>> > Line 2844 + 0x9 bytes C++<BR>> > VBoxSVC.exe!HardDisk::discard(ComObjPtr<Progress,ComStrongRef> &<BR>> > aProgress={...}, HardDisk::MergeChain * aChain=0x01c2cfe0)  Line 2248 + 0xe<BR>> > bytes C++<BR>> > VBoxSVC.exe!SessionMachine::discardSnapshotHandler(SessionMachine::DiscardS<BR>> >napshotTask & aTask={...})  Line 10584 C++<BR>> > VBoxSVC.exe!SessionMachine::DiscardSnapshotTask::handler()  Line 8251 + 0x9<BR>> > bytes C++ VBoxSVC.exe!SessionMachine::taskHandler(RTTHREADINT *<BR>> > __formal=0x01c32108, void * pvUser=0x01e06fe0)  Line 11412 C++<BR>> > VBoxRT.dll!rtThreadMain(RTTHREADINT * pThread=0x01c32108, unsigned int<BR>> > NativeThread=4312, const char * pszThreadName=0x01c32170)  Line 635 + 0xa<BR>> > bytes C++ VBoxRT.dll!rtThreadNativeMain(void *
 pvArgs=0x01c32108)  Line 106<BR>> > + 0xb bytes C++ msvcr80.dll!__endthreadex()  + 0x3b bytes<BR>> >   msvcr80.dll!__endthreadex()  + 0xc7 bytes <BR>> >   kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes <BR>> >   ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes <BR>> >   ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes <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>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>