Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Blob Handle With Compression = true [DNET709] #660

Closed
firebird-automations opened this issue Oct 25, 2016 · 6 comments
Closed

Invalid Blob Handle With Compression = true [DNET709] #660

firebird-automations opened this issue Oct 25, 2016 · 6 comments

Comments

@firebird-automations
Copy link

Submitted by: Scot Lunsford (scotlunsford)

invalid BLOB handle exception when attempting to read a specific blob value if the new compression feature is ON. Most reads are successful, but it consistently fails reading a specific files stored as a zip file in the blob field. If compression is turned off it reads the BLOB successfully.

I can provide the specific file if needed.

at FirebirdSql.Data.FirebirdClient.FbDataReader.CheckedGetValue[T](Func`1 f) in C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbDataReader.cs:line 850
at FirebirdSql.Data.FirebirdClient.FbDataReader.GetValue(Int32 i) in C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbDataReader.cs:line 453
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetUntypedValueDefault(DbDataReader reader, Int32 ordinal)
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)

@firebird-automations
Copy link
Author

Modified by: Scot Lunsford (scotlunsford)

description: invalid BLOB handle exception when attempting to read a specific blob value if the new compression features is ON. Most reads are successful, but it consistently fails reading a specific files stored as a zip file in the blob field. If compression is turned off it reads the BLOB successfully.

I can provide the specific file if needed.

at FirebirdSql.Data.FirebirdClient.FbDataReader.CheckedGetValue[T](Func`1 f) in C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbDataReader.cs:line 850
at FirebirdSql.Data.FirebirdClient.FbDataReader.GetValue(Int32 i) in C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbDataReader.cs:line 453
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetUntypedValueDefault(DbDataReader reader, Int32 ordinal)
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)

=>

invalid BLOB handle exception when attempting to read a specific blob value if the new compression feature is ON. Most reads are successful, but it consistently fails reading a specific files stored as a zip file in the blob field. If compression is turned off it reads the BLOB successfully.

I can provide the specific file if needed.

at FirebirdSql.Data.FirebirdClient.FbDataReader.CheckedGetValue[T](Func`1 f) in C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbDataReader.cs:line 850
at FirebirdSql.Data.FirebirdClient.FbDataReader.GetValue(Int32 i) in C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbDataReader.cs:line 453
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetUntypedValueDefault(DbDataReader reader, Int32 ordinal)
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Yes please. Provide the test case and some database to test on.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

Commented by: Scot Lunsford (scotlunsford)

Will need a few days to pull together the test case. Thanks

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Any luck with the test case?

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: In Progress [ 3 ] => Closed [ 6 ]

resolution: Incomplete [ 4 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants