Get also the output for gdb commands in frame 0:
list
p *cbp
Cheers,
Daniel
On 09.02.21 15:09, Juha Heinanen wrote:
We got the crash below with 5.4.2. Before the crash
there was
db_mysql_async_exec_task(): failed to execute query
related error messages in syslog.
-- Juha
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f601d4b2f32 in run_trans_callbacks_internal
(cb_lst=0x7f5ffb53e318, type=512, trans=0x7f5ffb53e2a0,
params=0x7ffd1c349720)
at t_hooks.c:254
254 t_hooks.c: No such file or directory.
(gdb) bt full
#0 0x00007f601d4b2f32 in run_trans_callbacks_internal
(cb_lst=0x7f5ffb53e318, type=512, trans=0x7f5ffb53e2a0,
params=0x7ffd1c349720)
at t_hooks.c:254
cbp = 0x72743b6d6f632e61
backup_from = 0x560e8abbe2f0 <def_list+16>
backup_to = 0x560e8abbe2f8 <def_list+24>
backup_dom_from = 0x560e8abbe300 <def_list+32>
backup_dom_to = 0x560e8abbe308 <def_list+40>
backup_uri_from = 0x560e8abbe2e0 <def_list>
backup_uri_to = 0x560e8abbe2e8 <def_list+8>
backup_xavps = 0x560e8abbeae0 <_xavp_list_head>
backup_xavus = 0x560e8abbeae8 <_xavu_list_head>
backup_xavis = 0x560e8abbeaf0 <_xavi_list_head>
__func__ = "run_trans_callbacks_internal"
#1 0x00007f601d4b35bb in run_trans_callbacks_with_buf (type=512,
rbuf=0x7f5ffb53e370, req=0x7f5ffafe3b70, repl=0xffffffffffffffff,
flags=0) at t_hooks.c:303
params = {req = 0x7f5ffafe3b70, rpl = 0xffffffffffffffff, param
= 0x7f5ffa61e640, code = 487, flags = 0, branch = 0,
t_rbuf = 0x7f5ffb53e370, dst = 0x7f5ffb53e3c0, send_buf = {s
= 0x7f5ffa6d4d40 "F", len = 621}}
trans = 0x7f5ffb53e2a0
#2 0x00007f601d458025 in relay_reply (t=0x7f5ffb53e2a0,
p_msg=0xffffffffffffffff, branch=0, msg_status=408,
cancel_data=0x7ffd1c349910, do_put_on_wait=0) at t_reply.c:2124
relay = 0
save_clone = 0
buf = 0x7f601e46a4e0 "SIP/2.0 487 Request Terminated\r\nVia:
SIP/2.0/TCP
46.182.160.40;branch=z9hG4bK9ef2.1bbf20df35272cd85c43814302770601.2\r\nVia:
SIP/2.0/UDP
95.216.75.211;rport=5060;branch=z9hG4bK9ef2.d6265991eb8da9b735273"...
res_len = 621
relayed_code = 487
relayed_msg = 0xffffffffffffffff
reply_bak = 0x20000000
bm = {to_tag_val = {
s = 0x7f601e46a692
"f148edd50b878efc51a72f445b390303-e1110000\r\nCall-ID:
c2e2b55c-e574-1239-3cbd-6cb3112351ce\r\nCSeq: 31882977 INVITE\r\nServer:
OpenSIPg SIP Proxy (5.4.2-8 (x86_64/linux))\r\nContent-Length:
0\r\n\r\n", len = 41}}
totag_retr = 0
reply_status = RPS_COMPLETED
uas_rb = 0x7f5ffb53e370
to_tag = 0x7f601d525770 <tm_tag>
reason = {s = 0x560e8aad2dbb "Request Terminated", len = 18}
onsend_params = {req = 0x7ffd1c349940, rpl = 0x7f5ffaeeb7c0,
param = 0x7ffd1c349880, code = 491640932, flags = 32608,
branch = 0, t_rbuf = 0x59d, dst = 0x7f5ffb0ea590, send_buf =
{s = 0x7ffd1c349940 "p\231\064\034\375\177", len = 491699179}}
ip = {af = 1, len = 0, u = {addrl = {140050215200048,
140050209586032}, addr32 = {4216579376, 32607, 4210965360, 32607},
addr16 = {58672, 64339, 32607, 0, 15216, 64254, 32607, 0},
addr = "0\345S\373_\177\000\000p;\376\372_\177\000"}}
__func__ = "relay_reply"
#3 0x00007f601d49c7b3 in fake_reply (t=0x7f5ffb53e2a0, branch=0,
code=408) at timer.c:295
cancel_data = {cancel_bitmap = 0, reason = {cause = 0, u =
{text = {s = 0x0, len = 517217456}, e2e_cancel = 0x0,
packed_hdrs = {s = 0x0, len = 517217456}}}}
do_cancel_branch = 0
reply_status = 3845367323
#4 0x00007f601d49cc35 in final_response_handler (r_buf=0x7f5ffb53e540,
t=0x7f5ffb53e2a0) at timer.c:462
silent = 0
branch_ret = -1
prev_branch = -1
now = 2146494577
#5 0x00007f601d49cd29 in retr_buf_handler (ticks=2146494577,
tl=0x7f5ffb53e560, p=0xfa0) at timer.c:518
rbuf = 0x7f5ffb53e540
fr_remainder = 32608
retr_remainder = 473209280
retr_interval = 32765
new_retr_interval_ms = 547787427795
crt_retr_interval_ms = 140725076662752
t = 0x7f5ffb53e2a0
__func__ = "retr_buf_handler"
#6 0x0000560e8a7375fa in slow_timer_main () at core/timer.c:1105
n = 12
ret = 0
tl = 0x7f5ffb53e560
i = 610
__func__ = "slow_timer_main"
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users