Re: Troubleshooting a GC Collection?
From: Keith Rome (KeithRome_at_discussions.microsoft.com)
Date: 01/02/05
- Next message: Martin Aliger: "Attributes question"
- Previous message: Frank Hileman: "Re: Troubleshooting a GC Collection?"
- In reply to: Frank Hileman: "Re: Troubleshooting a GC Collection?"
- Next in thread: Oleg Starodumov: "Re: Troubleshooting a GC Collection?"
- Messages sorted by: [ date ] [ thread ]
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
> >>
>
>
>
- Next message: Martin Aliger: "Attributes question"
- Previous message: Frank Hileman: "Re: Troubleshooting a GC Collection?"
- In reply to: Frank Hileman: "Re: Troubleshooting a GC Collection?"
- Next in thread: Oleg Starodumov: "Re: Troubleshooting a GC Collection?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|