RE: VS .Net 2003 IDE Crashes when Attaching to Debugger

From: Michael (m.hlavinkamsdn_at_bre.com)
Date: 09/25/04

  • Next message: Michael: "RE: VS .Net 2003 IDE Crashes when Attaching to Debugger"
    Date: Sat, 25 Sep 2004 09:49:08 -0700
    
    

    I've zipped the files and placed them in the upload site. Unfortuntely, I
    had to run the application much longer when attempting to get the dump than
    it usually requires to crash. The crash occurs when selecting the
    Debug->Processes... menu item, BEFORE the process list dialog is displayed.
    Unfortunately I could not close all other applications. I had to have Visio
    running because I'm debugging a large in-proc Visio addin.

    I hope you can provide some direction on this failure. It is quite annoying
    to lose the debug information that you've set up when the crash occurs. It
    is one thing if you have a simple application, but ours is a complex large
    solution with 40 projects.

    Again, all of my colleagues running Windows XP are experiencing this same
    problem. The Win 2K users don't seem to complain. I even created a new user
    account with a clean system a couple of days ago, and that account had the
    same problem the very first time I attempted to attach the debugger to the
    Visio process. So it appears that it is not something that has accumulated
    in a user profile or something like that over time.

    By the way, most of our systems are dual processor if that is of concern.

    Thanks,

    Michael

    "Dat Bui [MSFT]" wrote:

    > Hi Michael,
    >
    > More often when the IDE crashes it is due to some application causing
    > the crash. Since you are running XP, XP comes with a tool, msconfig.exe
    > that will let you know what services are running and you can disable them.
    > Here is what you can try first:
    >
    > 1. Start->Run
    > 2. type "msconfig"
    > 3. Go to Services Tab,and check hide all Microsoft servcies.
    > 4. See if there are any odd apps running like firewalls, especially
    > antivirus apps. Macaffee can cause some prolems with the IDE since it does
    > script blocking and scanning that interfers with the IDE. You can test by
    > disabling all Macafee servcies and startup apps, or just uninstall it for
    > testing purpose.
    > 5. Also in Startup Tab, check to see if anything odd is running. You can
    > use this tool to check for spyware that you may have on your machine.
    >
    > I think more than likely it is the antivirus. Also, when you are attaching
    > to the process with the IDE, is the process local or remote?
    >
    > If the above does not help, let's see what is causing the crash. I have
    > some steps below that that will help us determing this by taking a memory
    > dump when the IDE crashes:
    >
    > 1. Go to this link to download the debugger tool:
    > http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
    > 2. Install the tool into the C:/Debugger directory once you downloaded
    > it.
    > 3. Close all applications.
    > 4. Open a Command Prompt and go to the directory where you installed
    > the debugger: C:/Debugger
    > 5. Run the IDE and have it setup where it will close out.
    > 6. Go to the command prompt and type in the following command: ADPLUS
    > -crash -p <PID> or you can type in the command: ADPLUS -crash -pn
    > <processName>
    > 7. This will run the application in crash mode, so once the
    > application crashes, a dump will be generated and placed in c:\debugger
    > folder
    > 8. After you have the files, which should be relatively large, zip
    > that file up and rename it as such: <first last name>.zip
    > 9. Use the information below to ftp me the file.
    >
    > FTP site:
    > https://filetransfer.microsoft.com/ChooseTransfer.aspx?key=1a266998-437b-4b4
    > 4-92a6-ab0bbcd88de7
    > password: AQR2Z!9X^$#I)
    >
    > Hope this helps,
    > Dat Bui
    > Microsoft Developer Support
    >
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    > © Microsoft Corporation. All rights reserved.
    >
    > --------------------
    > >Thread-Topic: VS .Net 2003 IDE Crashes when Attaching to Debugger
    > >thread-index: AcSgpwQENOVxR2z0QrW0wtHJL6FreQ==
    > >X-WBNR-Posting-Host: 209.189.225.126
    > >From: "=?Utf-8?B?TWljaGFlbA==?=" <m.hlavinkamsdn@bre.com>
    > >References: <AF300C4A-942E-4C27-9A12-A138B8618242@microsoft.com>
    > <mCeDAX8nEHA.2640@cpmsftngxa06.phx.gbl>
    > <30C2FD82-2F05-4DCE-9FE5-904085FE9D50@microsoft.com>
    > <tclvtXFoEHA.4040@cpmsftngxa06.phx.gbl>
    > >Subject: RE: VS .Net 2003 IDE Crashes when Attaching to Debugger
    > >Date: Wed, 22 Sep 2004 06:21:06 -0700
    > >Lines: 40
    > >Message-ID: <E99632D6-CBA6-4A42-B8B9-F3F4290D898B@microsoft.com>
    > >MIME-Version: 1.0
    > >Content-Type: text/plain;
    > > charset="Utf-8"
    > >Content-Transfer-Encoding: 7bit
    > >X-Newsreader: Microsoft CDO for Windows 2000
    > >Content-Class: urn:content-classes:message
    > >Importance: normal
    > >Priority: normal
    > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    > >Newsgroups: microsoft.public.vsnet.general
    > >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
    > >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
    > >Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.general:21883
    > >X-Tomcat-NG: microsoft.public.vsnet.general
    > >
    > >Obviously we have some (but not much) software installed, but only McAfee
    > >AntiVirus 7.1 is running except MS Office applications. By the way, the
    > >application we're debugging is an inprocess DLL with Visio.
    > >
    > >Michael
    > >
    > >
    > >
    > >""Gary Chang"" wrote:
    > >
    > >> Hi Michael,
    > >>
    > >> > I talked with my coworkers about this after I posted the message
    > >> yesterday. I found that I also have other coworkers having the same
    > >> problem. They all are running Windows XP/SP2. ... However, one of my
    > >> coworkers indicated to me that he had this problem before upgrading
    > from
    > >> SP1 to SP2 of Windows XP.
    > >> >
    > >>
    > >> After reviewing your messages, I noticed the crashes occur in all of
    > your
    > >> machines whose OS are Windows XP SP1 and Windows XP SP2(more
    > frequently),
    > >> am I right?
    > >>
    > >> I have checked our internal database and doesn't find any similar case,
    > so
    > >> in order to isolate your problem firstly, I want to know is there any
    > >> related third-party software installed on your machines?
    > >>
    > >>
    > >> Thanks for your understanding!
    > >>
    > >> Best regards,
    > >>
    > >> Gary Chang
    > >> Microsoft Online Partner Support
    > >>
    > >> Get Secure! - www.microsoft.com/security
    > >> This posting is provided "AS IS" with no warranties, and confers no
    > rights.
    > >> --------------------
    > >>
    > >>
    > >
    >
    >


  • Next message: Michael: "RE: VS .Net 2003 IDE Crashes when Attaching to Debugger"

    Relevant Pages

    • RE: Windows Media Encoder application fails after many iterations
      ... Troubleshooting this kind of crash issue generally need to involve ... the application failure and send the dump files to our customer support ... Here's some info about using debugging tools to take memory dumps. ... Microsoft Online Community Support ...
      (microsoft.public.win32.programmer.mmedia)
    • Code crashes in IDE, but runs OK
      ... debugging in the IDE, yet the code runs successfully outside of the ... The crash occurs after a call to CoCreateInstanceand the ... possible exception in the IDE by checking everything from the Debug | ... problems while debugging in the IDE. ...
      (microsoft.public.vsnet.ide)
    • Re: Help analyzing Crash Dump file
      ... debugging an application's mini-dump. ... My dump came from an OS crash and is ...
      (microsoft.public.windows.server.general)
    • Re: DevStudio locks up loading solution.
      ... >> persists. ... >> crash, if I have any misunderstanding, please feel free to tell me. ... >> Did you add any addin, which is possible to cause the IDE crash. ...
      (microsoft.public.dotnet.general)
    • Re: SetUnhandledExceptionFilter
      ... The only way to prevent at all cost a crash in the applicaiton ... Looking at a full dump of Word.exe and/or LotusNotes is the only way ... A bad heap metadata will cause an access violation, ... normally dismissed in some wide exception handler) ...
      (microsoft.public.win32.programmer.kernel)