-
-
Notifications
You must be signed in to change notification settings - Fork 263
Description
Hi,
In the last month my production firebird server (5.0.3) server has crashed six times.
It was updated from 5.0.1 to 5.0.3 in 08/08/2025.
TIME PID UID GID SIG COREFILE EXE
Thu 2026-01-22 05:16:23 -03 1370475 84 84 11 missing /opt/firebird5/bin/firebird
Sat 2026-01-24 00:12:38 -03 3152688 84 84 11 missing /opt/firebird5/bin/firebird
Tue 2026-01-27 02:03:09 -03 3173313 84 84 11 missing /opt/firebird5/bin/firebird
Thu 2026-01-29 01:53:21 -03 3205472 84 84 11 missing /opt/firebird5/bin/firebird
Sat 2026-01-31 00:11:44 -03 3228499 84 84 11 missing /opt/firebird5/bin/firebird
Sat 2026-02-07 00:37:24 -03 3251015 84 84 11 present /opt/firebird5/bin/firebird
We have two kind of clients connections:
1 - Delphi
2 - Jaybird (throught Payara application server)
I don't know what other information you may need, than below is the full backtrack on the last crash, and feel free to ask for other information.
(gdb) bt full
#0 0x0000000000442b19 in rem_port::asyncReceive (this=0x7fe90dcc4c40, asyncPacket=0x7fff924e5df0, buffer=, dataSize=) at /firebird/src/remote/server/server.cpp:7154
original_op = 97
func =
asyncSize = 101
#1 0x000000000045190e in SRVR_multi_thread (main_port=0x7fecceafb6c0, flags=flags@entry=2) at /firebird/src/remote/server/server.cpp:1722
asyncSize =
queGuard = {Firebird::Reference = {r = @0x7fecb00a8760}, lock = 0x7fecb00a8760}
dataSize = 101
ok = true
portGuard = {m_mutex = 0x7fe8a2b94fb0, m_locked = 0}
portLocked =
MAX_PACKET_SIZE = 32767
packet_buffer = {<Firebird::InlineStorage<unsigned char, 128, unsigned char>> = {Firebird::AutoStorage = {Firebird::PermanentStorage = {pool = @0x5c4f18}, },
buffer = "\250\063\262\a\000\000\000\000\350]N\222\377\177\000\000\270\256\263\316\354\177\000\000h\243\272\316\354\177\000\000\000\240\272\316\354\177\000\000\337\063i\316\354\177\000\000᭘\316\354\177\000\000\a\000\000\000\000\000\000\000\270\256\263\316\354\177\000\000\005", '\000' <repeats 15 times>, "\001\000\000\000\000\000\000\000\000\240\272\316\354\177\000\000\240]N\222\377\177\000\000@]N\222\377\177\000\000P]N\222\377\177\000"}, count = 8192,
capacity = 8192, data = 0x7fecceaffd40 ""}
buffer =
bufSize = 8192
run_port =
request = 0x0
port = {ptr = 0x7fe90dcc4c40}
mainPortRef = {ptr = 0x7fecceafb6c0}
asyncPacket = {p_operation = op_partial, p_cnct = {p_cnct_operation = 0, p_cnct_cversion = 0, p_cnct_client = 0, p_cnct_file = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_cnct_count = 0, p_cnct_user_id = {
cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_cnct_versions = {{p_cnct_version = 0, p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}, {p_cnct_version = 0,
p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}, {p_cnct_version = 0, p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}, {p_cnct_version = 0,
p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}, {p_cnct_version = 0, p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}, {p_cnct_version = 0,
p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}, {p_cnct_version = 0, p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}, {p_cnct_version = 0,
p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}, {p_cnct_version = 0, p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}, {p_cnct_version = 0,
p_cnct_architecture = 0, p_cnct_min_type = 0, p_cnct_max_type = 0, p_cnct_weight = 0}}}, p_acpt = {p_acpt_version = 0, p_acpt_architecture = 0, p_acpt_type = 0}, p_acpd = {<p_acpt> = {p_acpt_version = 0,
p_acpt_architecture = 0, p_acpt_type = 0}, p_acpt_data = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_acpt_plugin = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_acpt_authenticated = 0,
p_acpt_keys = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_resp = {p_resp_object = 0, p_resp_blob_id = {gds_quad_high = 0, gds_quad_low = 0}, p_resp_data = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}, p_resp_status_vector = 0x0}, p_atch = {p_atch_database = 0, p_atch_file = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_atch_dpb = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}}, p_rlse = {p_rlse_object = 0}, p_data = {p_data_request = 0, p_data_incarnation = 0, p_data_transaction = 0, p_data_message_number = 0, p_data_messages = 0}, p_cmpl = {p_cmpl_database = 0,
p_cmpl_blr = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_sttr = {p_sttr_database = 0, p_sttr_tpb = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_blob = {p_blob_transaction = 0, p_blob_id = {
gds_quad_high = 0, gds_quad_low = 0}, p_blob_bpb = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_sgmt = {p_sgmt_blob = 0, p_sgmt_length = 0, p_sgmt_segment = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}}, p_info = {p_info_object = 0, p_info_incarnation = 0, p_info_items = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_info_recv_items = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}, p_info_buffer_length = 0}, p_event = {p_event_database = 0, p_event_items = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_event_ast = 0x0, p_event_arg = 0, p_event_rid = 0}, p_prep = {
p_prep_transaction = 0, p_prep_data = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_req = {p_req_type = 0, p_req_object = 0, p_req_partner = 0}, p_ddl = {p_ddl_database = 0, p_ddl_transaction = 0,
p_ddl_blr = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_slc = {p_slc_transaction = 0, p_slc_id = {gds_quad_high = 0, gds_quad_low = 0}, p_slc_sdl = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}, p_slc_parameters = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_slc_slice = {lstr_length = 0, lstr_allocated = 0, lstr_address = 0x0}, p_slc_length = 0}, p_slr = {p_slr_slice = {
lstr_length = 0, lstr_allocated = 0, lstr_address = 0x0}, p_slr_length = 0, p_slr_sdl = 0x0, p_slr_sdl_length = 0}, p_seek = {p_seek_blob = 0, p_seek_mode = 0, p_seek_offset = 0}, p_sqlst = {p_sqlst_transaction = 0,
p_sqlst_statement = 0, p_sqlst_SQL_dialect = 0, p_sqlst_SQL_str = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_sqlst_buffer_length = 0, p_sqlst_items = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}, p_sqlst_blr = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_sqlst_message_number = 0, p_sqlst_messages = 0, p_sqlst_out_blr = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0},
p_sqlst_out_message_number = 0, p_sqlst_inline_blob_size = 0}, p_sqldata = {p_sqldata_statement = 0, p_sqldata_transaction = 0, p_sqldata_blr = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0},
p_sqldata_message_number = 0, p_sqldata_messages = 0, p_sqldata_out_blr = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_sqldata_out_message_number = 0, p_sqldata_status = 0, p_sqldata_timeout = 0,
p_sqldata_cursor_flags = 0, p_sqldata_fetch_op = fetch_next, p_sqldata_fetch_pos = 0, p_sqldata_inline_blob_size = 0}, p_sqlcur = {p_sqlcur_statement = 0, p_sqlcur_cursor_name = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}, p_sqlcur_type = 0}, p_sqlfree = {p_sqlfree_statement = 0, p_sqlfree_option = 0}, p_trrq = {p_trrq_database = 0, p_trrq_transaction = 0, p_trrq_blr = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}, p_trrq_messages = 0}, p_trau = {p_trau_data = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_account_update = {p_account_database = 0, p_account_apb = {cstr_length = 0,
cstr_allocated = 0, cstr_address = 0x0}}, p_authenticate_user = {p_auth_database = 0, p_auth_dpb = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_auth_items = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}, p_auth_recv_items = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_auth_buffer_length = 0}, p_cancel_op = {p_co_kind = 1}, p_auth_cont = {p_data = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}, p_name = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_list = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_keys = {cstr_length = 0, cstr_allocated = 0,
cstr_address = 0x0}}, p_crypt = {p_plugin = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_key = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_cc = {p_cc_data = {cstr_length = 93,
cstr_allocated = 93, cstr_address = 0x7fea0a438010 "{"code":106,"language":"JAVA","version":253,"opaque":1,"flag":0,"remark":"","extFields":null}"}, p_cc_reply = 0}, p_batch_create = {
--Type for more, q to quit, c to continue without paging--
p_batch_statement = 0, p_batch_blr = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_batch_msglen = 0, p_batch_pb = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_batch_msg = {
p_batch_statement = 0, p_batch_messages = 0, p_batch_data = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_batch_exec = {p_batch_statement = 0, p_batch_transaction = 0}, p_batch_free_cancel = {
p_batch_statement = 0}, p_batch_cs = {p_batch_statement = 0, p_batch_reccount = 0, p_batch_updates = 0, p_batch_vectors = 0, p_batch_errors = 0}, p_batch_blob = {p_batch_statement = 0, p_batch_blob_data = {cstr_length = 0,
cstr_allocated = 0, cstr_address = 0x0}}, p_batch_regblob = {p_batch_statement = 0, p_batch_exist_id = {gds_quad_high = 0, gds_quad_low = 0}, p_batch_blob_id = {gds_quad_high = 0, gds_quad_low = 0}}, p_batch_setbpb = {
p_batch_statement = 0, p_batch_blob_bpb = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}, p_replicate = {p_repl_database = 0, p_repl_data = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}},
p_inline_blob = {p_tran_id = 0, p_blob_id = {gds_quad_high = 0, gds_quad_low = 0}, p_blob_info = {cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_blob_data = 0x0}}
func = "SRVR_multi_thread"
#2 0x00000000004166d0 in main (argc=, argv=) at /firebird/src/include/../common/classes/RefCounted.h:184
standaloneClassic =
super =
end =
debug =
coreproc =
classic =
replPid =
done =
replicas = {<Firebird::InlineStorage<Replication::Config*, 4, Replication::Config*>> = {Firebird::AutoStorage = {Firebird::PermanentStorage = {pool = @0x5c4f18}, }, buffer = {0x0, 0x0, 0x0, 0x0}}, count = 0,
capacity = 4, data = 0x7fff924e6448}
port = {ptr = 0x7fecceafb6c0}
stat0 = {st_dev = 0, st_ino = 0, st_nlink = 0, st_mode = 0, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 140655039554688, st_size = 0, st_blksize = 0, st_blocks = 2, st_atim = {tv_sec = -9223372036854775802, tv_nsec = 0},
st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, __unused = {140655036634609, 140655039568832, 72720}}
INET_SERVER_flag = 2