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
Firebird server segfaults in the end of database backup [CORE5936] #6192
Comments
Modified by: @AlexPeshkoffassignee: Vlad Khorsun [ hvlad ] |
Modified by: @AlexPeshkoffreporter: Alexander Peshkov [ alexpeshkoff ] => Saulius Vabalas [ mailto:savas@glds.com ] |
Commented by: @hvlad Steps to reproduce is very similar to CORE5935, but a bit differs. Run Firebird 2.5 in Classic or SuperClassic mode and open two terminals. 1) in terminal 1 set term ^; create procedure p_gen_tx(n int) set term ;^ gfix -write async core-5936.fdb 2) in terminal 1: 3) in terminal 2: insert into a values (current_transaction); select * from a where id > 0; execute procedure p_gen_tx (33000); 4) in terminal 1: here we get |
Modified by: @hvladstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.5.9 [ 10862 ] |
Commented by: @hvlad Fix is frontported into v3 |
Modified by: @hvladFix Version: 3.0.5 [ 10885 ] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: No test => Done successfully |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] Test Details: "...in the end of database backup" -- where is BACKUP in this ticket ? May be title has to be changed in order to properly reflect reason of crash ? |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Saulius Vabalas (savas_glds.com)
Once per 3-5 days fb_inet_server process dies in the end of gbak's backup. Core files analysis shows that all of them contain the following frames:
#0 TRA_state (bit_vector=0x7f325d78800c '\377' <repeats 200 times>..., oldest=<optimized out>, number=795364748) at ../src/jrd/tra.cpp:1793
#1 0x00007f3269dc9973 in extend_cache (number=795364748, tdbb=0x7fffac5830f0) at ../src/jrd/tpc.cpp:561
#2 TPC_snapshot_state (tdbb=0x7fffac5830f0, number=795364748) at ../src/jrd/tpc.cpp:362
#3 0x00007f3269dcbc20 in TRA_snapshot_state (tdbb=0x7fffac5830f0, trans=0x7f3265cee090, number=795364748) at ../src/jrd/tra.cpp:1641
Commits: 8d9f399 676a526
====== Test Details ======
"...in the end of database backup" -- where is BACKUP in this ticket ? May be title has to be changed in order to properly reflect reason of crash ?
The text was updated successfully, but these errors were encountered: