Re: Troubleshooting a GC Collection?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Keith Rome (KeithRome_at_discussions.microsoft.com)
Date: 01/02/05


Date: Sun, 2 Jan 2005 12:49:03 -0800

The acrobat control is on a dedicated form. The interop assemblies for it
never even get loaded unless the form is displayed (I subscribe to the
AssemblyLoad event and log when all referenced assemblies are loaded). This
PDF viewer form is actually in a restricted part of the application,
inaccessible to the current users, so I am pretty certain the PDF control is
not related to this crash.

I will take a look at Purify though and see what it can do for me.

Keith

"Frank Hileman" wrote:

> If the GC crashes, I would suspect the unmanaged code first (the acrobat
> reader). If the normal windows heap is corrupted, it could bring down
> anything using that, including the GC. The GC is robust and is unlikely to
> crash simply with managed code.
>
> In this case you need to first verify that the windows heap is not corrupted
> using a tool similar to purify. Or, at first, simply try to reproduce your
> problem without any unmanaged code.
>
> Regards,
> Frank Hileman
>
> check out VG.net: http://www.vgdotnet.com
> Animated vector graphics system
> Integrated Visual Studio .NET graphics editor
>
> "Keith Rome" <KeithRome@discussions.microsoft.com> wrote in message
> news:6964336C-EA2E-4FA6-8AD2-6C1D62855787@microsoft.com...
> > As far as my part is concerned, it is purely managed. No P/Invoke. The
> > only
> > unmanaged component is the Adobe Abrobat Reader ActiveX control. I am not
> > sure what NetAdvantage does under the hood, if its 100% managed or not.
> >
> > Keith
> >
> >
> > "Mike" wrote:
> >
> >> Hi Keith,
> >>
> >> > I have an elusive crashing problem in a Windows Forms application.
> >> > Seemingly
> >> > randomly, the application will completely "disappear", without leaving
> >> > any
> >> > trappable exceptions that I can find.
> >>
> >> Is this a purely managed app, or are you P/Invoking into any native code
> >> anywhere? (Or using any 3rd party assemblies that may be doing this?)
> >>
> >> Mike
> >>
>
>
>



Relevant Pages

  • Re: security/strong name/zones clarification needed
    ... control, you may have to override them and do the assert there. ... Does this zone have permission to use custom ... All my assemblies are strong named. ...
    (microsoft.public.dotnet.security)
  • Re: ASP.NET 2.0 "Website" vs. 1.1 "Web Application"
    ... Co-founder, Eggheadcafe.com developer portal: ... nor do I like the colleciton of strangely named assemblies. ... how would I go about referencing a control created in another ... Juan T. Llibre, asp.net MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Adding an internal control to the toolbox.
    ... I am also hazarding a guess that the control you have added to the toolbox ... more information on assemblies, see Components and Assemblies. ... > an assembly containing the UserControl. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Adding an internal control to the toolbox.
    ... I am also hazarding a guess that the control you have added to the toolbox ... more information on assemblies, see Components and Assemblies. ... > an assembly containing the UserControl. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Adding an internal control to the toolbox.
    ... I am also hazarding a guess that the control you have added to the toolbox ... more information on assemblies, see Components and Assemblies. ... > an assembly containing the UserControl. ...
    (microsoft.public.dotnet.languages.csharp)