CREATE PROCEDURE P RETURNS (O INTEGER)
for execute statement 'select i from t' into :o do
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.