OS LoaderLock on .NET 2.0

.NET Edition of the F-IN-BOX
MeisterEder
Posts: 1
Joined: Wed Dec 14, 2005 7:17 pm

OS LoaderLock on .NET 2.0

Postby MeisterEder » Wed Dec 14, 2005 7:22 pm

Hi there,

i am using VS 2005 with the .net 2.0 runtime.

When i run any of your samples, or run my own c# projects,
theres is always a "OS Loader Lock" triggered.

Here is the full error message:
-- quote --
"DLL 'C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Visual Studio 2005\Projects\Sample7_ExternalInterface\bin\FlashPlayerControl.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang."
-- quote --

This sounds a bit weird.
According to the Microsoft Documentation we can read:
"Typically, several threads inside the process will deadlock. One of those threads is likely to be a thread responsible for performing a garbage collection, so this deadlock can have a major impact on the entire process. Furthermore, it will prevent any additional operations that require the operating system's loader lock, like loading and unloading assemblies or DLLs and starting or stopping threads.

In some unusual cases, it is also possible for access violations or similar problems to be triggered in DLLs which are called before they have been initialized."


Any workaround for this? :?

Kind Regards,
MeisterEder :!

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Wed Dec 14, 2005 8:13 pm

Thank you.

It is related with the some .NET problems. We are working on the fixing the issue.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Thu Dec 15, 2005 8:27 pm

The problem was fixed.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 8 guests

cron