msdaps.dll causing SQL server 2008 R2 crash - by Prashant Jha

Status : 

  External<br /><br />
		This item may be valid but belongs to an external system out of the direct control of this product team.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 774004 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 12/11/2012 2:04:00 AM
Access Restriction Public

Description

Recently, we have started seeing SQL Server (2008 R2 SP2) to crash often. There is not much information in Errorlog or anywhere except that Application logs suggest it is msdaps.dll crashing SQL Server. It generates a WER dump as well. 

Error#1
========
	Faulting application name: sqlservr.exe, version: 2009.100.4000.0, time stamp: 0x4fecc5ba
	Faulting module name: msdaps.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdfb4
	Exception code: 0xc0000005
	Fault offset: 0x000000000005516e
	Faulting process id: 0x744c
	Faulting application start time: 0x01cdd2cb945167e9
	Faulting application path: E:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\sqlservr.exe
	Faulting module path: C:\Program Files\Common Files\System\Ole DB\msdaps.dll
	Report Id: c49753a9-4327-11e2-b8b1-441ea14caee8

Error#2
=========
	Log Name:      Application
	Source:        Application Error
	Date:          12/10/2012 7:14:46 PM
	Event ID:      1000
	Task Category: (100)
	Level:         Error
	Keywords:      Classic
	User:          N/A
	Computer:      xxxxx
	Description:
	Faulting application name: sqlservr.exe, version: 2009.100.4000.0, time stamp: 0x4fecc5ba
	Faulting module name: msdaps.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdfb4
	Exception code: 0xc0000005
	Fault offset: 0x000000000005516e
	Faulting process id: 0x744c
	Faulting application start time: 0x01cdd2cb945167e9
	Faulting application path: E:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\sqlservr.exe
	Faulting module path: C:\Program Files\Common Files\System\Ole DB\msdaps.dll
	Report Id: c49753a9-4327-11e2-b8b1-441ea14caee8

Top of the stack raising AV
=======================
        00000021`fc04dfb0 000007fe`f12723c5 msdaps!CVLHeap::VLFree+0x3e
	00000021`fc04dfe0 000007fe`f1272620 msdaps!CSeqStr::~CSeqStr+0x55
	00000021`fc04e020 000007fe`fde99c8f msdaps!CSeqStr::Release+0x20
	
I have attached the dump and callstac herewith. Can you pls investigate and let us know why is msdaps.dll causing this crash? What to do to resolve this?

Thank you!
Sign in to post a comment.
Posted by Alex Ilyukhin on 9/4/2013 at 7:40 PM
Hello

we have the same crash.

it happens when common user (not admin) tries to run Stroed Procedure with the following query

insert into openquery(oracleLinkedServer,'select * from oracleTable')
select value1,value2,value3

if admin tries to run this Stored Procedure it completes succesfully
Posted by Prashant Jha on 1/1/2013 at 12:06 AM
Sorry, as you know this is a heap corruption, the problem likely can't be reproduced at will. In fact, I had this issue twice in Dec '12 and hasn't re-surfaced since then.

If you can look into the dumps I already uploaded, and find the root-cause that should be helpful.

Pls don't close it as "Not reproducible" as that would be illogical to do that.
Posted by Microsoft on 12/31/2012 at 12:54 PM
We are unable to reproduce the problem. Can you please share additional details?