FIX: Access Violation in Mtxdm.dll During Application Shutdown on Win2000 Platforms

This article was previously published under Q253222
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
On a Windows 2000-based computer, when you close down an application or service that uses the Mtxdm.dll file (version 1999.9.3421.3), the application or service may experience an Access Violation.

This problem is most likely to occur in applications that are using ODBC connection pooling.
CAUSE
The Mtxdm.dll file is prematurely unloaded during process shutdown. A waiting thread receives an event signal and attempts to continue execution, but there is no longer any code loaded at that address.
RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack

WORKAROUND

  • Disable ODBC connection pooling.
  • Do not explicitly free the ODBC Environment handle.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 1.
MORE INFORMATION
win2000 av access violation crash process application service shutdown mtxdm.dll
Properties

Article ID: 253222 - Last Review: 02/28/2014 00:30:51 - Revision: 3.3

  • Microsoft Data Access Components 2.5
  • the operating system: Microsoft Windows 2000
  • kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000sp1fix KB253222
Feedback