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

AV when external statement is executed and local transaction is rolled back [CORE5681] #5947

Closed
firebird-automations opened this issue Dec 17, 2017 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @hvlad

Crash of Firebird 2.5 on Linux was reported by user, below is call stack

#⁠1 0x00007fb4bf20dc64 in EDS::Statement::close (this=0x7fb4a37c38f0, tdbb=0x7fb4bd608680) at ../src/jrd/extds/ExtDS.cpp:1570
#⁠2 0x00007fb4bf1171e8 in EXE_unwind (tdbb=0x7fb4bd608680, request=0x7fb4afa69010) at ../src/jrd/exe.cpp:1103
#⁠3 0x00007fb4bf1a5879 in close_procedure (tdbb=0x7fb4bc1ff188, rsb=<value optimized out>) at ../src/jrd/rse.cpp:625
#⁠4 0x00007fb4bf117180 in EXE_unwind (tdbb=0x7fb4bd608680, request=0x7fb4a8359040) at ../src/jrd/exe.cpp:1092
#⁠5 0x00007fb4bf14db1b in JRD_unwind_request (tdbb=0x7fb4bd608680, request=0x7fb4a8359040, level=0) at ../src/jrd/jrd.cpp:7342
#⁠6 0x00007fb4bf286127 in close_cursor (tdbb=0x7fb4bd608680, request=0x7fb4a86fcd78) at ../src/dsql/dsql.cpp:925
#⁠7 0x00007fb4bf287c68 in DSQL_free_statement (tdbb=0x7fb4bd608680, request=0x7fb4a86fcd78, option=1) at ../src/dsql/dsql.cpp:572
#⁠8 0x00007fb4bf1d9487 in TRA_release_transaction (tdbb=0x7fb4bd608680, transaction=0x7fb4b4ecca48, trace=0x7fb4bd6082b0) at ../src/jrd/tra.cpp:1364
#⁠9 0x00007fb4bf1d9d71 in TRA_rollback (tdbb=0x7fb4bd608680, transaction=0x7fb4b4ecca48, retaining_flag=false, force_flag=false) at ../src/jrd/tra.cpp:1532
#⁠10 0x00007fb4bf15401c in rollback (tdbb=0x7fb4bd608680, transaction=<value optimized out>, retaining_flag=false) at ../src/jrd/jrd.cpp:5852
#⁠11 0x00007fb4bf1541a6 in JRD_rollback_transaction (tdbb=0x7fb4bc1ff188, transaction=0x7fb4bd60abb8) at ../src/jrd/jrd.cpp:7140
#⁠12 0x00007fb4bf155b11 in jrd8_rollback_transaction (user_status=0x7fb4bd608910, tra_handle=0x7fb4bd60abb8) at ../src/jrd/jrd.cpp:3251
#⁠13 0x00007fb4bf01e79e in isc_rollback_transaction (user_status=<value optimized out>, tra_handle=0x7fb4bc1ff290) at ../src/jrd/why.cpp:4491
#⁠14 0x00007fb4bf35a499 in rem_port::disconnect (this=0x7fb4bd611a08, sendL=0x7fb4bc1f8208, receiveL=0x7fb4bc1f8630) at ../src/remote/server.cpp:1776
#⁠15 0x00007fb4bf35d9a2 in process_packet (port=0x7fb4bd611a08, sendL=0x7fb4bc1f8208, receive=0x7fb4bc1f8630, result=0x7fb4bd608e28) at ../src/remote/server.cpp:3604
#⁠16 0x00007fb4bf35f177 in loopThread () at ../src/remote/server.cpp:5289
#⁠17 0x00007fb4bf011e50 in run (arg=0x7fb4a37c66c8) at ../src/jrd/ThreadStart.cpp:128
#⁠18 (anonymous namespace)::threadStart (arg=0x7fb4a37c66c8) at ../src/jrd/ThreadStart.cpp:139
#⁠19 0x00007fb4bdfd9aa1 in start_thread () from /lib64/libpthread.so.0
#⁠20 0x00007fb4bdd26bcd in clone () from /lib64/libc.so.6

Commits: 860f179 8ff0571 3f241d6

====== Test Details ======

After discussion with hvlad (letter 19.12.2017 15:18) - it seems that (unfortunately) test can not be implemented.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

Fix Version: 2.5.8 [ 10809 ]

Fix Version: 3.0.3 [ 10810 ]

Fix Version: 4.0 Beta 1 [ 10750 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Cannot be tested

Test Details: After discussion with hvlad (letter 19.12.2017 15:18) - it seems that (unfortunately) test can not be implemented.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment