<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">yes, very stable now. no more crashes over last 2 days on a  few vms running seamless mode<BR><BR>--- On <B>Wed, 11/4/09, Andreas - Sun Microsystems <I><pentagonik@sun.com></I></B> wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Andreas - Sun Microsystems <pentagonik@sun.com><BR>Subject: Re: [vbox-dev] VBoxTray crash bug<BR>To: vbox-dev@virtualbox.org<BR>Cc: "Huihong Luo" <huisinro@yahoo.com><BR>Date: Wednesday, November 4, 2009, 1:49 AM<BR><BR>
<DIV class=plainMail>Huihong,<BR><BR>thanks for your patches! I was able to reproduce these bugs and your patches indeed fixed the problem. Your fixes should appear in SVN soon.<BR><BR>Cheers,<BR>-Andreas.<BR><BR><BR><BR>Huihong Luo schrieb:<BR>> this crash seems to go away after I fixed<BR>> VbglR3GetAdditionsVersion(), pls refer to my other email for more info<BR>>  VbglR3GetAdditionsVersion() allocates lots of memory, and randomly corrupts certain area of memory when guest addition registry key is not present, i.e., with OSE additions<BR>> <BR>> <BR>> --- On *Tue, 11/3/09, 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>>/* wrote:<BR>> <BR>> <BR>>     From: 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>>     Subject: Re: [vbox-dev] VBoxTray crash bug<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>, "Andreas - Sun Microsystems"<BR>>     <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=pentagonik@sun.com" ymailto="mailto:pentagonik@sun.com">pentagonik@sun.com</A>><BR>>     Date: Tuesday, November 3, 2009, 2:21 AM<BR>> <BR>>     this one keeps crashing on me<BR>>          You can test it like this:<BR>>          (1) xp vm<BR>>     (2) toggle to seamless mode, open IE<BR>>     (3) trying to install Firefox<BR>>     (4) move
 windows around, and let the vm to run for a while<BR>>          I pretty much got crashes from vboxtray after 10 mins, always the<BR>>     case, and it crashed from exactly same place, that free() function.<BR>>     Perhaps, somewhere overrun the buffer. I double checked the code,<BR>>     seems to be quite perfectly ok. Could ExtEscape() overruns the buffer?<BR>>          with debug build of vboxtray.exe, it seems to be better.<BR>>          This bug makes seamless mode not usable at all.<BR>>      <BR>> <BR>>     --- On *Tue, 10/27/09, 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>>/* wrote:<BR>> <BR>> <BR>>     
    From: 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>>         Subject: Re: [vbox-dev] VBoxTray crash bug<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>, "Andreas - Sun Microsystems"<BR>>         <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=pentagonik@sun.com" ymailto="mailto:pentagonik@sun.com">pentagonik@sun.com</A>><BR>>         Date: Tuesday, October 27, 2009, 9:00 AM<BR>> <BR>>         very recent svn #23996<BR>>                  crash occured on seamless mode. I looked at the src
 code, seems<BR>>         to be very safe, kind of weird about this crash<BR>> <BR>>         --- On *Tue, 10/27/09, Andreas - Sun Microsystems<BR>>         /<<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=pentagonik@sun.com" ymailto="mailto:pentagonik@sun.com">pentagonik@sun.com</A>>/* wrote:<BR>> <BR>> <BR>>             From: Andreas - Sun Microsystems <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=pentagonik@sun.com" ymailto="mailto:pentagonik@sun.com">pentagonik@sun.com</A>><BR>>             Subject: Re: [vbox-dev] VBoxTray crash bug<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>>             Date: Tuesday, October 27, 2009, 6:39 AM<BR>> <BR>>             Huihong,<BR>> <BR>>             which exact VBox revision were you using? Please provide us<BR>>             more information so that we can reproduce it. Thanks!<BR>> <BR>>             -Andreas<BR>> <BR>> <BR>>             Huihong Luo schrieb:<BR>>              > a memory corruption error<BR>>              >  ////////////////////////////////<BR>>              > Microsoft (R) Windows Debugger Version
 6.11.0001.404 X86<BR>>              > Copyright (c) Microsoft Corporation. All rights reserved.<BR>>              ><BR>>              > 0:007> g<BR>>              > (648.64c): Access violation - code c0000005 (!!! second<BR>>             chance !!!)<BR>>              > eax=000004c8 ebx=00990000 ecx=7ffdf000 edx=00990608<BR>>             esi=0098fd30 edi=009901f8<BR>>              > eip=7c910717 esp=0012fadc ebp=0012fae8 iopl=0         nv<BR>>             up ei ng nz ac po cy<BR>>              > cs=001b 
 ss=0023  ds=0023  es=0023  fs=003b  gs=0000                        efl=00000293<BR>>              > ntdll!wcsncpy+0x198:<BR>>              > 7c910717 f6460501        test    byte ptr [esi+5],1                    ds:0023:0098fd35=??<BR>>              ><BR>>              > WARNING: Stack unwind information not available.<BR>>             Following frames may be wrong.<BR>>              > ntdll!wcsncpy+0x198<BR>>              > ntdll!wcsncpy+0x2cd<BR>>              >
 VBoxTray!free+0x6e<BR>>             [f:\dd\vctools\crt_bld\self_x86\crt\src\free.c @ 110]<BR>>              > VBoxTray!VBoxSeamlessCheckWindows+0x170<BR>>             [c:\virtualbox-dev\vbox\src\vbox\additions\winnt\vboxtray\vboxseamless.cpp<BR>>             @ 271]<BR>>              > VBoxTray!VBoxServiceStart+0x31a<BR>>             [c:\virtualbox-dev\vbox\src\vbox\additions\winnt\vboxtray\vboxtray.cpp<BR>>             @ 455]<BR>>              > VBoxTray!WinMain+0x60<BR>>             [c:\virtualbox-dev\vbox\src\vbox\additions\winnt\vboxtray\vboxtray.cpp<BR>>   
          @ 549]<BR>>              > VBoxTray!__tmainCRTStartup+0x177<BR>>             [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c @ 324]<BR>>              > kernel32!RegisterWaitForInputIdle+0x49<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>>             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>>         -----Inline Attachment Follows-----<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>>     -----Inline Attachment Follows-----<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>> 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></DIV></BLOCKQUOTE></td></tr></table>