KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q132492: FIX:Hard-coded breakpoints and RtlGetUserInfoHeap error

Article: Q132492
Product(s): Microsoft C Compiler
Version(s): 2.1,2.2
Operating System(s): 
Keyword(s): kbDatabase kbMFC kbODBC kbVCkbbuglist kbfixlist
Last Modified: 30-JUL-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- The Microsoft Foundation Classes (MFC), used with:
   - Microsoft Visual C++, 32-bit Editions, versions 2.1, 2.2 
-------------------------------------------------------------------------------

SYMPTOMS
========

When connecting to a 32-bit SQL Server ODBC data source while running the VC++
debugger under Windows NT 3.51, you may receive messages in the Ouptut window
similar to the messages below:

  

  LDR: LdrpMapDll Relocating: Base Name odbccp32.dll
  LDR: LdrpMapDll Relocating: Base Name sqlsrv32.dll
  LDR: LdrpMapDll Relocating: Base Name MSVCRT10.dll
  LDR: LdrpMapDll Relocating: Base Name dbnmpntw.DLL
  HEAP: Invalid Address specified to RtlGetUserInfoHeap( 140000, 145aec )

These messages will occur if you are using the SQL Server 4.21 ODBC driver.

Additionally, you may find that the debugger will stop on hard-coded breakpoints
(INT 3 assembler instructions).

RESOLUTION
==========

The messages are harmless and can be ignored. After hitting the breakpoints, you
can continue by selecting "GO" in the debugger or pressing F5. The Microsoft SQL
Server ODBC version 2.50.0121 fixes the problem. You can acquire the latest
version of the SQL Server ODBC driver on the SQL Server version 6.0 CD in the
\I386\ODBC directory.

STATUS
======

Microsoft has confirmed this to be a bug in the products mentioned at the
beginning of this article. This problem has been fixed in version 2.50.0121 of
the SQL Server ODBC driver.

Additional query words: 2.10 2.20 1.50 1.51 1.52 breakpoint hardcoded ODBC25.EXE

======================================================================
Keywords          : kbDatabase kbMFC kbODBC kbVC kbbuglist kbfixlist
Technology        : kbAudDeveloper kbMFC
Version           : :2.1,2.2
Issue type        : kbbug
Solution Type     : kbfix

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.