dbTalk Databases Forums  

Apparent DB engine bug in SQL Server 2005

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Apparent DB engine bug in SQL Server 2005 in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Apparent DB engine bug in SQL Server 2005 - 09-28-2007 , 04:42 PM






By the way, I tried the repro on the July CTP of SQL 2008, and the error
does not occur there, but the procedure completes successfully.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #12  
Old   
Dimitri Furman
 
Posts: n/a

Default Re: Apparent DB engine bug in SQL Server 2005 - 09-28-2007 , 09:58 PM






On Sep 28 2007, 05:28 pm, Erland Sommarskog <esquel (AT) sommarskog (DOT) se> wrote
in news:Xns99B9EFAA31154Yazorman (AT) 127 (DOT) 0.0.1:

Quote:
Got it, and indeed I had to reboot myserver. What was missing from
your description on Connect was the RECOMPILE hint. When I remove it,
the procedure completes.
The RECOMPILE hint is there to make it consistently reproducible. Before I
added that, the issue only occurred intermittently (apparently, when the
function's plan had to be recompiled).

Quote:
I looked in the SQL Server error log, and I found that there is a
stack dump for an unresolved deadlock.
I wish I had seen that in the beginning, at least I could be certain it's a
real problem.

I updated the bug report to include these two bits of information.

--
remove a 9 to reply by email


Reply With Quote
  #13  
Old   
Dimitri Furman
 
Posts: n/a

Default Re: Apparent DB engine bug in SQL Server 2005 - 09-28-2007 , 10:00 PM



On Sep 28 2007, 05:42 pm, Erland Sommarskog <esquel (AT) sommarskog (DOT) se> wrote in
news:Xns99B9F1E3FC5AEYazorman (AT) 127 (DOT) 0.0.1:

Quote:
By the way, I tried the repro on the July CTP of SQL 2008, and the error
does not occur there, but the procedure completes successfully.
I hope it does not mean that they won't bother fixing it in 2005...

--
remove a 9 to reply by email


Reply With Quote
  #14  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Apparent DB engine bug in SQL Server 2005 - 09-29-2007 , 11:13 AM



Dimitri Furman (dfurman (AT) cloud99 (DOT) net) writes:
Quote:
On Sep 28 2007, 05:42 pm, Erland Sommarskog <esquel (AT) sommarskog (DOT) se> wrote
in news:Xns99B9F1E3FC5AEYazorman (AT) 127 (DOT) 0.0.1:

By the way, I tried the repro on the July CTP of SQL 2008, and the error
does not occur there, but the procedure completes successfully.

I hope it does not mean that they won't bother fixing it in 2005...
I could be that it's fixed in Katmai "by accident", but it could also
be the case that the issue is known, but the fix is deemed to risky to
implement in SQL 2005.

I found this KB Article: http://support.microsoft.com/kb/923605, but this
appears to relate to a fix for SP1. Nevertheless, the Symptoms section
says "This problem occurs if table variables are used in a transaction."


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.