visuald icon indicating copy to clipboard operation
visuald copied to clipboard

Visual D crashes when using Visual Studio 2008

Open luxploit opened this issue 2 years ago • 4 comments

Wanted to try out Visual D in VS2008 (my main IDE). I installed, created a Windows Application and then when i went into winmain.d the text was sort of corrupted and it crashed right after. For sanity's sake I even tried it in a VM with a clean install of Vs2008 without any extras or Visual Assist. Any clue why this is happening?

Host Version: 1.4.0-beta2 VM Version: 1.3.1

image

luxploit avatar Jan 02 '24 21:01 luxploit

AFAICT VS2008 hasn't been tested in a while. Are you running on Win7 or earlier, too? 32 or 64 bit OS?

Maybe some (background) colors are not working, you might be able to tweak them in Tools->Options->Environment->Fonts and Colors, names "Visual D - ...".

Regarding crashes: do you have a crash dump? Might be written to %LocalAppData%\CrashDumps.

rainers avatar Jan 03 '24 08:01 rainers

I'm running Windows 11 22H2 and my VM was running Windows 10 2004, both 64-bit. I'll upload the crash dumps later today if it generated any. I tried VS2010 and 2013 and those work perfectly on both host and VM, so it's specifically only 2008 that's crashing

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Rainer Schuetze @.> Sent: Wednesday, January 3, 2024 9:55:41 AM To: dlang/visuald @.> Cc: Laura @.>; Author @.> Subject: Re: [dlang/visuald] Visual D crashes when using Visual Studio 2008 (Issue #266)

AFAICT VS2008 hasn't been tested in a while. Are you running on Win7 or earlier, too? 32 or 64 bit OS?

Maybe some (background) colors are not working, you might be able to tweak them in Tools->Options->Environment->Fonts and Colors, names "Visual D - ...".

Regarding crashes: do you have a crash dump? Might be written to %LocalAppData%\CrashDumps.

— Reply to this email directly, view it on GitHubhttps://github.com/dlang/visuald/issues/266#issuecomment-1875028871, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A26RHEW4PNHGRUXKW55K4PLYMUMI3AVCNFSM6AAAAABBKSRP56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGAZDQOBXGE. You are receiving this because you authored the thread.Message ID: @.***>

luxploit avatar Jan 03 '24 09:01 luxploit

devenv.exe.46640.dmp this is the crash dump that was written by VS at %LocalAppData%\CrashDumps

luxploit avatar Jan 03 '24 19:01 luxploit

The crash dump shows a heap corruption while populating the navigation bar at the top of the editor. Maybe it helps to just disable that in Tools->Options->Text Editor->D->General before loading any D source file.

rainers avatar Jan 04 '24 07:01 rainers