473,396 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

NT Loader Deadlock

Hi,

does anyone know how to bypass bug in .NET framework where NT loader
deadlock occurs? It seems to me that using methods like
Process.GetCurrentProcess is not safe, and also using mixed dlls written in
managed/unmanaged code. Does anyone know what to do?

Marko
Nov 17 '05 #1
4 1891
What's the MSDN URL for the bug?

Regards,

Tim Haughton

"Marko Becirevic" <ma*****************@zg.t-com.hr> wrote in message
news:da**********@ss405.t-com.hr...
Hi,

does anyone know how to bypass bug in .NET framework where NT loader
deadlock occurs? It seems to me that using methods like
Process.GetCurrentProcess is not safe, and also using mixed dlls written in managed/unmanaged code. Does anyone know what to do?

Marko

Nov 17 '05 #2

"Tim Haughton" <ti*********@gmail.com> wrote in message
news:Re*********************@fe05.news.easynews.co m...
What's the MSDN URL for the bug?

Regards,

Tim Haughton

"Marko Becirevic" <ma*****************@zg.t-com.hr> wrote in message
news:da**********@ss405.t-com.hr...
Hi,

does anyone know how to bypass bug in .NET framework where NT loader
deadlock occurs? It seems to me that using methods like
Process.GetCurrentProcess is not safe, and also using mixed dlls written

in
managed/unmanaged code. Does anyone know what to do?

Marko


i found that they have some fix, will contact them:

http://support.microsoft.com/?kbid=839343

Nov 17 '05 #3
This Q839343 fix should be part of SP1 for v1.1 and is in no way related to
the "mixed mode lock" issue.
The mixed mode loader lock is not a C# issue, it only applies to mixed mode
C++ DLL's (non pure .NET assemblies).
read more about it here http://support.microsoft.com/?id=814472
Willy.

"Marko Becirevic" <ma*****************@zg.t-com.hr> wrote in message
news:da**********@ss405.t-com.hr...

"Tim Haughton" <ti*********@gmail.com> wrote in message
news:Re*********************@fe05.news.easynews.co m...
What's the MSDN URL for the bug?

Regards,

Tim Haughton

"Marko Becirevic" <ma*****************@zg.t-com.hr> wrote in message
news:da**********@ss405.t-com.hr...
> Hi,
>
> does anyone know how to bypass bug in .NET framework where NT loader
> deadlock occurs? It seems to me that using methods like
> Process.GetCurrentProcess is not safe, and also using mixed dlls
> written

in
> managed/unmanaged code. Does anyone know what to do?
>
> Marko
>
>


i found that they have some fix, will contact them:

http://support.microsoft.com/?kbid=839343

Nov 17 '05 #4
This Q839343 fix should be part of SP1 for v1.1 and is in no way related to the "mixed mode lock" issue.
The mixed mode loader lock is not a C# issue, it only applies to mixed mode C++ DLL's (non pure .NET assemblies).
read more about it here http://support.microsoft.com/?id=814472
Willy.


I will try, tnx.
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Andrew Mayo | last post by:
Here's a really weird one for any SQL Server gurus out there... We have observed (SQL Server 2000) scenarios where a stored procedure which (a) begins a transaction (b) inserts some rows into...
3
by: Nigel Robbins | last post by:
Hi There, I'm getting a deadlock when I have two clients running the following statement. DELETE FROM intermediate.file_os_details WHERE file_uid = ? AND obj_uid There is a compound index on...
1
by: Rohit Raghuwanshi | last post by:
Hello all, we are running a delphi application with DB2 V8.01 which is causing deadlocks when rows are being inserted into a table. Attaching the Event Monitor Log (DEADLOCKS WITH DETAILS) here....
15
by: Zeng | last post by:
Hi, The bigger my C# web-application gets, the more places I need to put in the tedious retrying block of code to make sure operations that can run into database deadlocks are re-run (retried)...
1
by: Grant McLean | last post by:
Hi First a simple question ... I have a table "access_log" that has foreign keys "app_id" and "app_user_id" that reference the "application_type" and "app_user" tables. When I insert into...
0
by: cwho.work | last post by:
Hi! We are using apache ibatis with our MySQL 5.0 database (using innodb tables), in our web application running on Tomcat 5. Recently we started getting a number of errors relating to...
1
by: Claudia Fong | last post by:
In my windows form I have a comboBox and a textBox. When I try to write something in the textBox it shows me the error message below: Attempting managed execution inside OS Loader lock. Do not...
5
by: vshalpatel | last post by:
Hi I want to use SQL*Loader , an Oracle-supplied utility to load data from a flat file into one database tables. for this I have write the scripts in the SQL*LOADER control file named ...
5
by: Justin Rich | last post by:
LoaderLock was detected Message: 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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.