Skip to content

Exception in ParseTruncSqlInfo or ParseTruncSqlInfoAsync #1212

@ftrl

Description

@ftrl

In our application, in a fairly busy environment, we randomly notice errors occurring in FirebirdSql.Data.Client.

Here's the typical stackTrace of the problem that occurs:

Exception Msg: Index was outside the bounds of the array. StackTrace: at FirebirdSql.Data.Client.Managed.Version10.GdsStatement.ParseTruncSqlInfo(Byte[] info, Byte[] items, Descriptor[] rowDescs) at FirebirdSql.Data.Client.Managed.Version10.GdsStatement.ProcessPrepareResponse(GenericResponse response) at FirebirdSql.Data.Client.Managed.Version11.GdsStatement.Prepare(String commandText) at FirebirdSql.Data.FirebirdClient.FbCommand.Prepare(Boolean returnsSet) at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteCommand(CommandBehavior behavior, Boolean returnsSet) at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader(CommandBehavior behavior) at LinqToDB.Data.DataConnection.ExecuteReader(CommandBehavior commandBehavior) at LinqToDB.Data.DataConnection.ExecuteDataReader(CommandBehavior commandBehavior) at LinqToDB.Linq.QueryRunner.ExecuteQuery[T](Query query, IDataContext dataContext, Mapper`1 mapper, Expression expression, Object[] ps, Object[] preambles, Int32 queryNumber)+MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Business.TablesReference.TVAImpl.GetList(String connectionString, Int32 company, TVAType type) 

The query is very simple and returns very little data.

Any idea what might be causing the problem?

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions