Symptoms
The replication Log Reader Agent occasionally fails in Microsoft SQL Server 2012. When the Agent fails, you receive the following error message:
The process could not execute 'sp_replcmds' on '<SQLServerInstanceName>'. (Source: http://help/MSSQL_REPL20011 The statement has been terminated. (Source: MSSQLServer, Error number: 3621) Get help: http://help/3621 The process could not execute 'sp_replcmds' on '<SQLServerInstanceName>'. (Source: MSSQL_REPL, Error number: MSSQL_REPL22037) Get help: http://help/MSSQL_REPL22037
MSSQL_REPL, Error number: MSSQL_REPL20011) Get help:Additionally, a mini dump file is automatically generated.
Resolution
Cumulative update information
Cumulative Update 4 for SQL Server 2012 Service Pack 1
The fix for this issue was first released in Cumulative Update 4. For more information about how to obtain this cumulative update package for SQL Server 2012 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
2833645 Cumulative update package 4 for SQL Server 2012 Service Pack 1Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 Service Pack 1 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2772858 The SQL Server 2012 builds that were released after SQL Server 2012 Service Pack 1 was released
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.