BUG: Conn Using MP Netlib with Low Memory can Fail with AV

ID: Q226122


The information in this article applies to:

BUG #: 54745 (SQLBUG_70)

SYMPTOMS

A client connecting to the server using the multiprotocol network library, while the server is under memory pressure, may encounter a handled Access Violation (AV).

As an indicator of memory pressure on SQL Server, you may see error 17803 in the ERRORLOG:

Error: 17803, Severity: 17, State: 14
Insufficient memory available..
Error: 17803, Severity: 17, State: 17
Insufficient memory available..


WORKAROUND

Increase the amount of memory for SQL Server or reduce memory consumption of other applications on the server. You may also connect with another network library to avoid the problem.


STATUS

Microsoft has confirmed this to be a problem in SQL Server version 7.0.


MORE INFORMATION

The following stack dump will be written to the ERRORLOG when this access violation occurs:


Short Stack Dump
0x77e113b0 Module(RPCRT4+13b0) (GENERIC_OBJECT::InvalidHandle+8)
0x77e160ac Module(RPCRT4+60ac) (RpcImpersonateClient+1f)
0x410694fa Module(opends60+94fa) (srv_impersonate_client+4e)
0x0044740e Module(sqlservr+4740e) (FInterrogateLogin+e4)
0x00447297 Module(sqlservr+47297) (FindLogin+240)
0x00446d0a Module(sqlservr+46d0a) (login+211)
0x41061249 Module(opends60+1249) (execute_event+659)
0x410641c0 Module(opends60+41c0) (process_login+78)
0x41061477 Module(opends60+1477) (process_commands+d6)
0x4109284e Module(ums+284e) (ProcessWorkRequests+ed)
0x41092d1c Module(ums+2d1c) (ThreadStartRoutine+139) 
This problem occurs with standard or trusted connections.

Additional query words: impersonate


Keywords          : kbbug7.00 kbSQLServ700bug 
Version           : winnt:7.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: May 4, 1999