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
Regression: crash on unexpected client disconnection with opened transaction [CORE4676] #4985
Comments
Commented by: @artyom-smirnov Backtrace: #0 Firebird::MemoryPool::internal_deallocate (this=this@entry=0x7ffff7e3f020, block=block@entry=0x7ffff4454ff0) at ../src/common/classes/alloc.cpp:1845 |
Modified by: @artyom-smirnovdescription: Reproducing: Run isql and execute: Do not commit anything. Then do: Server will crash. Bug probably introduced with commit 11366: This should fix CORE4558: SuperServer dies when client is disconnected abnormally during the index navigational scan. => Reproducing: Run isql and execute: Do not commit anything. Then do: Server will crash. Bug probably introduced with commit 11366: This should fix CORE4558: SuperServer dies when client is disconnected abnormally during the index navigational scan. |
Modified by: @dyemanovFix Version: 2.5.4 [ 10585 ] description: Reproducing: Run isql and execute: Do not commit anything. Then do: Server will crash. Bug probably introduced with commit 11366: This should fix CORE4558: SuperServer dies when client is disconnected abnormally during the index navigational scan. => Only snapshot builds 26824 and 26825 are affected. Reproducing: Run isql and execute: Do not commit anything. Then do: Server will crash. Bug probably introduced with commit 11366: This should fix CORE4558: SuperServer dies when client is disconnected abnormally during the index navigational scan. summary: Crash on unexpected client disconnection with opened transaction => Regression: crash on unexpected client disconnection with opened transaction |
Modified by: @dyemanovassignee: Dmitry Yemanov [ dimitr ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: @artyom-smirnov
Only snapshot builds 26824 and 26825 are affected.
Reproducing:
Run isql and execute:
create database 'a';
create table a(id int);
insert into a values(1);
Do not commit anything. Then do:
killall -9 isql
Server will crash.
Bug probably introduced with commit 11366: This should fix CORE4558: SuperServer dies when client is disconnected abnormally during the index navigational scan.
Commit slightly changed attachment release order so now all attachment requests released before dsql_dbb instance destroying which have pointers to already destroyed requests. On second releasing of requests server crashing.
Commits: 7fe133a FirebirdSQL/fbt-repository@d250ea5
The text was updated successfully, but these errors were encountered: