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

Server crash after ubnormal disconnect with open ExecuteStatement [CORE2173] #2604

Closed
firebird-issue-importer opened this issue Nov 7, 2008 · 11 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Nov 7, 2008

Submitted by: @romansimakov

Relate to CORE2179
Block progress on CORE2183

Test case:

1) Create database.

CREATE TABLE T (I INTEGER);

SET TERM ^ ;

CREATE PROCEDURE P RETURNS (O INTEGER)
AS
begin
for execute statement 'select i from t' into :o do
begin
suspend;
end
end
^

SET TERM ; ^

2) Generate 10000 records by IBExpert for inserting into T. It's for perform not full fetch.
3) Execute 'select * from p' by IBExpert (isql fetch all records and in this case bug is not reproduced)
4) Kill ibexpert.exe process by Tast Manager, since while normal exit it ask to confirm or rallback transaction.

AV occurs in ExecuteStatement::Close in CallbackWrapper since tdbb->tdbb_transaction at this moment is NULL.

Commits: 2ee3645 4f48013

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 7, 2008

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 10, 2008

Commented by: @AlexPeshkoff

It's wider reproducible.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 10, 2008

Modified by: @AlexPeshkoff

Version: 2.0.4 [ 10211 ]

Fix Version: 2.0.5 [ 10222 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 10, 2008

Commented by: @AlexPeshkoff

sorry - selected in wrong box

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 10, 2008

Modified by: @AlexPeshkoff

Version: 2.0.5 [ 10222 ]

Fix Version: 2.0.5 [ 10222 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 10, 2008

Modified by: @AlexPeshkoff

Link: This issue relate to CORE2179 [ CORE2179 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 10, 2008

Commented by: @AlexPeshkoff

If we decide, it's easy to have a fix in 2.0.5.
But taking into an account we never had this problem for ~2 years - not sure it's worth rewriting release notes now.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 10, 2008

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1.2 [ 10270 ]

Fix Version: 2.0.6 [ 10303 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 12, 2008

Modified by: @AlexPeshkoff

Link: This issue block progress on CORE2183 [ CORE2183 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 26, 2009

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

Modified by: @pavel-zotov

QA Status: No test

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

Successfully merging a pull request may close this issue.

None yet
2 participants