core dump occurred in kamailio version 4.0. does anyone remember if a
bug causing such a crash would possibly have been fixed in some later
kamailio version?
-- juha
------------------------------------------------------------------------------
Dec 17 17:16:59 node5 /usr/sbin/sip-proxy[21089]: WARNING: db_mysql [km_dbase.c:85]:
driver error on ping: Lost connection to MySQL server during query
Dec 17 17:16:59 node5 /usr/sbin/sip-proxy[21116]: : <core> [pass_fd.c:293]: ERROR:
receive_fd: EOF on 90
Dec 17 17:16:59 node5 /usr/sbin/sip-proxy[21016]: ALERT: <core> [main.c:788]: child
process 21089 exited by a signal 11
Dec 17 17:16:59 node5 /usr/sbin/sip-proxy[21016]: ALERT: <core> [main.c:791]: core
was generated
------------------------------------------------------------------------------
Program terminated with signal 11, Segmentation fault.
#0 run_trans_callbacks_internal (cb_lst=<value optimized out>, type=512,
trans=0x7f093593a9b0,
params=0x7fff7a5289c0) at t_hooks.c:286
286 t_hooks.c: No such file or directory.
in t_hooks.c
(gdb) bt full
#0 run_trans_callbacks_internal (cb_lst=<value optimized out>, type=512,
trans=0x7f093593a9b0,
params=0x7fff7a5289c0) at t_hooks.c:286
cbp = 0x3030
backup_from = 0x8a49d0
backup_to = 0x8a49d8
backup_dom_from = 0x8a49e0
backup_dom_to = 0x8a49e8
backup_uri_from = 0x8a49c0
backup_uri_to = 0x8a49c8
backup_xavps = 0x8a4ad0
#1 0x00007f0941ad3ddc in run_trans_callbacks_with_buf (type=1887007839, rbuf=<value
optimized out>,
req=<value optimized out>, repl=0x6565705f74736423, flags=0) at t_hooks.c:336
params = {req = 0x7f0935b32360, rpl = 0xffffffffffffffff, param = 0x7f0935940900,
code = 408,
flags = 408, branch = 0, t_rbuf = 0x7f093593aa70, dst = 0x7f093593aac0, send_buf
= {
s = 0x7f093594d180 "From: xxx
<sip:xxx@xxx:5060;user=phone>;tag=262063958\r\nTo: xxx
<sip:xxx@xxx:5060;user=phone>;tag=as2db5b848\r\nCall-ID:
2864df7e-1d31c032-6dd726"..., len = 462}}
trans = 0x246
#2 0x00007f0941aef8cb in relay_reply (t=0x7f093593a9b0, p_msg=<value optimized
out>,
branch=<value optimized out>, msg_status=<value optimized out>,
cancel_data=<value optimized out>,
do_put_on_wait=<value optimized out>) at t_reply.c:1880
relay = 0
save_clone = 0
buf = 0x7f0943b3d140 "SIP/2.0 408 Request Timeout\r\nVia: SIP/2.0/UDP
xxx:5060;branch=z9hG4bKterm-2b3acd-xxx-xxx-72778\r\nFrom: xxx
<sip:xxx@xxx:5060;user=phone>;tag=17"...
res_len = 462
relayed_code = 408
relayed_msg = 0xffffffffffffffff
reply_bak = 0x13c400000050c7d3
bm = {to_tag_val = {
s = 0x7f0943b3d259 "0b5775687262b458dc9c8d93773b9caa-d95c\r\nCall-ID:
1be7fd61-4cf116a3-62498d9c-8757@xxx\r\nCSeq: 1 INVITE\r\nServer: Kamailio (4.0.1
(x86_64/linux))\r\nContent-Length: 0\r\n\r\n", len = 37}}
totag_retr = 0
reply_status = RPS_COMPLETED
uas_rb = 0x7f093593aa70
to_tag = <value optimized out>
reason = {s = 0x56dbc5 "Request Timeout", len = 15}
onsend_params = {req = 0x0, rpl = 0x1, param = 0x7f093593ab18, code = 898869680,
flags = 32521, branch = 0, t_rbuf = 0x7d9c88, dst = 0xfffffe22, send_buf = {
s = 0x7f093593ab20 "", len = 1101857122}}
#3 0x00007f0941af5ac1 in fake_reply (t=0x7f093593a9b0, branch=0, code=<value optimized
out>)
at timer.c:354
cancel_data = {cancel_bitmap = 0, reason = {cause = 0, u = {text = {s = 0x0, len =
898870080},
e2e_cancel = 0x0, packed_hdrs = {s = 0x0, len = 898870080}}}}
reply_status = <value optimized out>
#4 0x00007f0941af5ec8 in final_response_handler (ticks=1904446327, tl=0x7f093593ab40,
p=<value optimized out>) at timer.c:526
prev_branch = -478
now = 0
#5 retr_buf_handler (ticks=1904446327, tl=0x7f093593ab40, p=<value optimized out>)
at timer.c:584
rbuf = 0xfffffe22
fr_remainder = <value optimized out>
retr_remainder = <value optimized out>
retr_interval = <value optimized out>
new_retr_interval_ms = <value optimized out>
#6 0x00000000004fa080 in slow_timer_main () at timer.c:1151
n = 12
ret = 12
tl = 0x7f093593ab40
#7 0x0000000000458039 in main_loop () at main.c:1693
i = 16
pid = <value optimized out>
si = 0x0
si_desc = "sctp receiver child=15
sock=xxx:5060\000\000\000\200\215Rz\377\177\000\000\000\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000\001\000\000\000\004\000\000\000\005\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000
\251\212", '\000' <repeats 13 times>,
"\020\000\000\000\000\000\000"
nrprocs = 16
#8 0x00000000004599fb in main (argc=17, argv=<value optimized out>) at main.c:2566
cfg_stream = <value optimized out>
c = <value optimized out>
r = 0
tmp = 0x7fff7a529f11 ""
tmp_len = 0
port = <value optimized out>
proto = <value optimized out>
ret = <value optimized out>
seed = 2572917976
rfd = <value optimized out>
debug_save = <value optimized out>
debug_flag = 0
dont_fork_cnt = 0
n_lst = 0x7fff7a528d80
p = <value optimized out>
(gdb)