Split Window Crashes when toggling
I like to use split windows a lot in C#; and now in PHP; but when I switch from Split to Not split (toggle) it crashes. I have never had this happen in C# so I don't think its VS causing this; when I try to collect debug info I get an application crash; so I can't narrow it down; I'll keep trying; I did send a debug report to MS; not that I'll hold my breath for them to fix it. I didn't find anything about others having this problem; then again I don't know how many people use split windows; I remember back when someone trying to show me two sections of code by cutting and pasting them into another window; freaked when I ask him to just split the window by going to the menu "Window" -> Split and 'Window' -> Remove Split; I thought everyone knew that. It doesn't do it every time; only when I don't want it to; since it doesn't save anything before exiting; I'd classify it as a major bug.
MS for what ever reason makes the Error box readonly so I can copy the error report.
I get this from Event View Log
Faulting application devenv.exe, version 9.0.21022.8, stamp 47317b3d, faulting module csspkg.dll, version 9.0.21022.8, stamp 47318062, debug? 0, fault address 0x0000d630.
Bucket 574616383, bucket table 1, faulting application devenv.exe, version 9.0.21022.8, stamp 47317b3d, faulting module csspkg.dll, version 9.0.21022.8, stamp 47318062, debug? 0, fault address 0x0000d630.
Let me know what else I can supply to try to fix this.
I'm running Windows Server 2003 x64; VS 2008.
Thanks


I can't seem to reproduce
I can't seem to reproduce this problem. Interestingly the module at fault from your post is a MS one, not VS.Php. Are you editing a Php file or a CSS file?
One way to capture the dump is by attaching the debugger to devenv.exe before it crashes.
Without a mem dump it is going to be hard for me to fix this problem.
CSS
CSS; I didn't try it with other files; what I do is open it up a Split Window; not to be confused with Split mode; which is a view split between source view and design view; I do a few searches; edit something and then toggle out; I have no problem reproducing it. I can open the same file in VS with no project open and it wouldn't do it. How would you suggest attaching a debugger to devenv.exe; what debugger? I never tried to debug devenv before I can debug apps with it but not it itself to my knowledge.
Open two instances of Visual
Open two instances of Visual Studio. In one of them go to Debug->Attach Process and pick the other devenv.exe process running.
Try to make it crash in the process been debugged. Once the crash happens the devenv debugging will catch the exception and will let you save the mem dump. Saving the mem dump is an option under the Debug menu.
How to send you the file
Ok I saved it now How do I attach the file to upload it to you?
I'm repairing my 2008 install just to make sure it's not corrupted; although it seems to work fine besides this.
It looks like I'd need to install a debug version of 2008 to get more info; I have the MSDN Subscription; let me know what I can do.
The program stopped in msize.c line 88
86 #endif /* _WIN64 */
87 {
88 retval = (size_t)HeapSize(_crtheap, 0, pblock);
_crtheap = 0x01d90000
pblock = 0x004e7b6d
> msvcr90.dll!_msize(void * pblock=0x004e7b6d) Line 88 + 0xe bytes C
This is from the output window:
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\ntdll.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\kernel32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\advapi32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\rpcrt4.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\secur32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\gdi32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\user32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcr90.dll', Symbols loaded.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\shell32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\msvcrt.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\shlwapi.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\ole32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\oleaut32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\msimg32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.3790.3959_x-ww_8251BDDE\GdiPlus.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\imm32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\WinSxS\wow64_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_5FA17F4E\comctl32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\mscoree.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\msctf.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\xpsp2res.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\apphelp.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\msctfime.ime'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\msenv.dll'
'devenv.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_312cf0e9\atl90.dll', Symbols loaded.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\version.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\uxtheme.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\sxs.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\1033\msenvui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\1033\msenvmui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\1033\vcpkgui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\1033\VCProjectUI.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\urlmon.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\iertutil.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\VS SCC\VssProviderStub.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\VS SCC\1033\VssProviderStubui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\clbcatq.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\comres.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Common Files\Microsoft Shared\VS7DEBUG\coloader80.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\vslog.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\1033\vslogui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\custsat.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\msenvmnu.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\VS SCC\VssProvider.dll'
'devenv.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcp90.dll', Symbols loaded.
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\VS SCC\1033\VssProviderui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\rsaenh.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\psapi.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\ProjectAggregator.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Jcx.Software\VS.Php\2008\2.4\1033\vsphpui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\Program Files (x86)\Jcx.Software\VS.Php\2008\2.4\vsphp.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\ws2_32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\ws2help.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\iphlpapi.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\comdlg32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\crypt32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\msasn1.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\netapi32.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\asycfilt.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\vssln.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\1033\vsslnui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\msxml3.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual SourceSafe\ssscc.dll'
'devenv.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_dec6ddd2\mfc80.dll'
'devenv.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\msvcr80.dll'
'devenv.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\msvcp80.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\usp10.dll'
'devenv.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFCLOC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_3415f6d0\mfc80ENU.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual SourceSafe\1033\ssui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\vsdebug.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\1033\vsdebugui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\encmgr.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\ecbuild.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\wsock32.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\Compsvcspkg.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\wininet.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\normaliz.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\1033\compsvcspkgui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\setupapi.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Common Files\Microsoft Shared\VS7DEBUG\msdbg2.dll'
'devenv.exe': Loaded 'C:\WINDOWS\microsoft.net\Framework\v2.0.50727\mscorwks.dll'
'devenv.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\32e6f703c114f3a971cbe706586e3655\mscorlib.ni.dll'
'devenv.exe': Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.CommonIDE\9.0.0.0__b03f5f7f11d50a3a\microsoft.visualstudio.commonide.dll'
'devenv.exe': Loaded 'C:\WINDOWS\microsoft.net\Framework\v2.0.50727\mscorjit.dll'
'devenv.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\ba0e3a22211ba7343e0116b051f2965a\System.ni.dll'
'devenv.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Drawing\0e83aac37b2623f1a24c70979f31dd56\System.Drawing.ni.dll'
'devenv.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\3d8c79c45aa674e43f075e2e66b8caf5\System.Windows.Forms.ni.dll'
'devenv.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualStu#\a7a46711754075afef6e67569aa1d394\Microsoft.VisualStudio.ni.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\vsmacros.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\1033\vsmacrosui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\actxprxy.dll'
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\powrprof.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Common Files\Microsoft Shared\MSENV\VsLogP.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Common Files\Microsoft Shared\MSENV\msenvp.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\csspkg.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\1033\csspkgui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\msxml6.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\htmled.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\1033\Htmledui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\srcedit.dll'
'devenv.exe': Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\1033\Srceditui.dll', Binary was not built with debug information.
'devenv.exe': Loaded 'C:\WINDOWS\SysWOW64\mlang.dll'
Unhandled exception at 0x4772d630 in devenv.exe: 0xC0000005: Access violation reading location 0x00000000.
Send the zipped mem dump to
Send the zipped mem dump to support at jcxsoftware dot com.
Thanks,
Juan
Problem may not be Vs.Php
I have duplicated this on a new install on VS 2008 without Vs.php installed; I'm going to try to get MS to fix this now. Don't know why but My Windows 2003 Server doesn't have this problem when Vs.Php isn't installed.