RE: Unhandled Exception (no pattern i can find)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Thu, 15 Sep 2005 05:41:11 -0700, Cowboy (Gregory A. Beamer) - MVP
wrote:

> Sorry to be so generic, but I have never encountered this issue, so I am
> going to try to give you some general pointers of where to look.
>
> Looking at the error, it looks like there is a referenced COM component that
> is missing. It appears to be one that the Framework uses. I say this because
> the top of the stack is a Windows Process calling function.
>
> Although you are seeing the break on the End Sub, the actual error is
> farther up the stack, which is why it is not always caught, providing, of
> course, that you are not chasing more than one bug.
>
> I would look carefully at the changes you have made, as they might give you
> a better idea of where to look. Sysinternals.com has some freeware tool that
> you can examine what processes are running (may not be deep enough to get a
> real idea of where the break occurs). Sysinternals has other tools, as well.
> There is a managed stack explorer app from MS, but it 2.0 Framework.
>
> In the end, this may be a legitimate MS bug. If so, peruse the
> support.microsoft.com site, as that is where they detail bug fixes.


Thanks Greg. I'm making some changes today in an effort to clean up the
code and dispose of forms as I use them (currently I'm hiding each form
and instantiating new forms for each client), which I hope will help.
I've searched support.ms.com for system.windows.forms.dll but haven't
really found much, other than a hotfix related to datagrids.

I'll keep looking at update as I know more.
.



Relevant Pages

  • Re: push pop ebp
    ... and that not using the stack seems ... suggests "Windows bug" of some kind... ... SEH is typically generated automatically by a compiler when, ... And, as this is Microsoft, then the prospect of a "oops, didn't ...
    (alt.lang.asm)
  • Re: [RosAsm example]
    ... a silly bug (didn't adjust the stack on EXIT). ... KESYS avoids useless copying by parameter pushing at all, ... parameters are passed by registers either by value or by pointer, ...
    (alt.lang.asm)
  • Re: ESP corruption bug - what CPUs are affected?
    ... You don't 'return' to protected mode from a virtual-8086 mode, ... The so-called bug is that when in real mode or in virtual-8086 ... the stack is restored to the condition ... > The patch is attached. ...
    (Linux-Kernel)
  • Re: weird problem with a filter
    ... I'm not new in the filter developments, I developed many filters and nobody ... anywhere) and it also crashes. ... > stack" comment by the original poster often implies that the stack itself ... > has been trashed -- that the original poster does have a bug somewhere ...
    (microsoft.public.win32.programmer.directx.video)