Home All Groups Group Topic Archive Search About

LoaderLock Exception from MDA

Author
10 Mar 2007 5:32 PM
mmurrell
All:

This morning, for no apparent reason whatsoever, i started getting MDA
LoaderLock exceptions in an application I'm developing.  The callstack
simply lists [External Code], Myapp.Program.Main(), [External Code].
The line highlilghted line in Main() is Application.Run(new
ReportGeneratorForm()).

The problem is reproducable every time i press a key (any key) when
the form is loaded.

I am not using any unmanaged assemblies to my knowledge.  The project
references a few different assemblies in system, an interop assembly
for an COM component, the Enterprise Libray DAAB, and a PDF generation
component.  None of these should be called at any time near keypress.

An interesting note, this same error occurs seemingly randomly on
another project as well.  I suspect maybe some corruption in the .NET
runtime?  Can anyone offer any suggestions?  I am dumbfounded.

Thanks for any and all help.

Author
28 Mar 2007 12:51 AM
mmurrell
bump

On Mar 10, 1:32 pm, mmurr***@gmail.com wrote:
Show quote
> All:
>
> This morning, for no apparent reason whatsoever, i started gettingMDALoaderLockexceptions in an application I'm developing.  The callstack
> simply lists [External Code], Myapp.Program.Main(), [External Code].
> The line highlilghted line in Main() is Application.Run(new
> ReportGeneratorForm()).
>
> The problem is reproducable every time i press a key (any key) when
> the form is loaded.
>
> I am not using any unmanaged assemblies to my knowledge.  The project
> references a few different assemblies in system, an interop assembly
> for an COM component, the Enterprise Libray DAAB, and a PDF generation
> component.  None of these should be called at any time near keypress.
>
> An interesting note, this same error occurs seemingly randomly on
> another project as well.  I suspect maybe some corruption in the .NET
> runtime?  Can anyone offer any suggestions?  I am dumbfounded.
>
> Thanks for any and all help.
Author
7 Apr 2007 7:18 PM
PeteJ
I ran into the same issue last evening. Just now figured it out.

When I have the latest iTunes running, this will occur every time. Even with a simple Windows Application with a single textbox, no code added.

iTunes 7.1.1.5

MSVS 2005 Version 8.0.50727.42 (RTM.050727-4200)
MS .NET Framework Version 2.0.50727

(FYI - I just update iTunes too)

Pete

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com

AddThis Social Bookmark Button