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
StackOverflowException when FbDataReader is disposed from FbCommand and has CommandBehavior.CloseConnection [DNET749] #691
Comments
Commented by: Donald Jansen (croseven) This is the source code, the error seems to come from while (result.Read()). |
Modified by: Donald Jansen (croseven)Attachment: FirebirdConnector.cs [ 13082 ] |
Commented by: Donald Jansen (croseven) The screenshot add did not work, but here is one |
Modified by: Donald Jansen (croseven)Attachment: Untitled.png [ 13083 ] |
Modified by: Donald Jansen (croseven)Attachment: App.config [ 13084 ] |
Commented by: Donald Jansen (croseven) a change from Seems to be a work around, I am guessing the issue comes from 'CommandBehavior.CloseConnection' |
Modified by: @cincuranetstatus: Open [ 1 ] => In Progress [ 3 ] |
Modified by: @cincuranetVersion: 5.8.1.0 [ 10811 ] summary: System.StackOverflowException was unhandled => StackOverflowException when FbDataReader is disposed from FbCommand and has CommandBehavior.CloseConnection |
Modified by: @cincuranetstatus: In Progress [ 3 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: vNext [ 10812 ] |
Submitted by: Donald Jansen (croseven)
Attachments:
FirebirdConnector.cs
Untitled.png
App.config
The following exception is being thrown, and is not handled by a try...catch...finaly
System.StackOverflowException was unhandled
Message: An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
There is no stacktrace available with this exception
The exception seems to come from the DataReader.Read()
If the DataReader is empty it is thrown directly,
if the DataReader has rows then it is thrown after the last row was handled
The text was updated successfully, but these errors were encountered: