Latest K master crashes on Debian 11 when handling SUBSCRIBE message.
(Earlier messages didn't go through when there was word subscribe in
subject.)
-- Juha
--------------------------
(gdb) bt
#0 0x00007f58c362cad0 in trim_leading (_s=0x7f58bceeb558) at ../../core/trim.h:59
#1 0x00007f58c362cbc0 in trim (_s=0x7f58bceeb558) at ../../core/trim.h:90
#2 0x00007f58c363f51c in print_callid (w=0x7f58bceed731 "", dialog=0x7f58c378c350, t=0x7f58bceeb4f0)
at t_msgbuilder.c:1531
#3 0x00007f58c3640d78 in build_uac_req (method=0x7ffc2c640ae0, headers=0x7ffc2c640af0, body=0x0,
dialog=0x7f58c378c350, branch=0, t=0x7f58bceeb4f0, len=0x7ffc2c64023c, dst=0x7ffc2c640380)
at t_msgbuilder.c:1649
#4 0x00007f58c36b9e34 in t_uac_prepare (uac_r=0x7ffc2c640b40, dst_req=0x7ffc2c640498, dst_cell=0x7ffc2c6404a0)
at uac.c:541
#5 0x00007f58c36bd786 in t_uac_with_ids (uac_r=0x7ffc2c640b40, ret_index=0x0, ret_label=0x0) at uac.c:757
#6 0x00007f58c36bd743 in t_uac (uac_r=0x7ffc2c640b40) at uac.c:739
#7 0x00007f58c36c00b9 in req_within (uac_r=0x7ffc2c640b40) at uac.c:986
#8 0x00007f58c2e633c7 in send_notify_request (subs=0x7ffc2c640ef0, watcher_subs=0x0, n_body=0x0,
force_null_body=0) at notify.c:1727
#9 0x00007f58c2e64c61 in notify (subs=0x7ffc2c640ef0, watcher_subs=0x0, n_body=0x0, force_null_body=0,
aux_body_processing=0x0) at notify.c:1818
#10 0x00007f58c2ef234c in update_subscription (msg=0x7f58c378a860, subs=0x7ffc2c640ef0, to_tag_gen=1,
sent_reply=0x7ffc2c640e1c) at subscribe.c:685
#11 0x00007f58c2efa30b in handle_subscribe (msg=0x7f58c378a860, watcher_user=..., watcher_domain=...)
at subscribe.c:1222
#12 0x00007f58c2ef596a in handle_subscribe0 (msg=0x7f58c378a860) at subscribe.c:999
#13 0x0000557db29781e3 in do_action (h=0x7ffc2c641b40, a=0x7f58c37b2c50, msg=0x7f58c378a860)
at core/action.c:1081
#14 0x0000557db2986f7b in run_actions (h=0x7ffc2c641b40, a=0x7f58c37b2c50, msg=0x7f58c378a860)
at core/action.c:1587
#15 0x0000557db29876e9 in run_actions_safe (h=0x7ffc2c6437e0, a=0x7f58c37b2c50, msg=0x7f58c378a860)
at core/action.c:1651
#16 0x0000557db2b4a950 in rval_get_long (h=0x7ffc2c6437e0, msg=0x7f58c378a860, i=0x7ffc2c642058,
rv=0x7f58c37b2f78, cache=0x0) at core/rvalue.c:955
--Type <RET> for more, q to quit, c to continue without paging--
#17 0x0000557db2b4ffbb in rval_expr_eval_long (h=0x7ffc2c6437e0, msg=0x7f58c378a860, res=0x7ffc2c642058,
rve=0x7f58c37b2f70) at core/rvalue.c:1855
#18 0x0000557db2977c13 in do_action (h=0x7ffc2c6437e0, a=0x7f58c37b3be0, msg=0x7f58c378a860)
at core/action.c:1057
#19 0x0000557db2986f7b in run_actions (h=0x7ffc2c6437e0, a=0x7f58c37b0f10, msg=0x7f58c378a860)
at core/action.c:1587
#20 0x0000557db297814c in do_action (h=0x7ffc2c6437e0, a=0x7f58c37b40a0, msg=0x7f58c378a860)
at core/action.c:1072
#21 0x0000557db2986f7b in run_actions (h=0x7ffc2c6437e0, a=0x7f58c37ab6f0, msg=0x7f58c378a860)
at core/action.c:1587
#22 0x0000557db2974125 in do_action (h=0x7ffc2c6437e0, a=0x7f58c37ab390, msg=0x7f58c378a860)
at core/action.c:705
#23 0x0000557db2986f7b in run_actions (h=0x7ffc2c6437e0, a=0x7f58c37ab1e0, msg=0x7f58c378a860)
at core/action.c:1587
#24 0x0000557db29877f5 in run_top_route (a=0x7f58c37ab1e0, msg=0x7f58c378a860, c=0x0) at core/action.c:1672
#25 0x0000557db2afdb6a in receive_msg (
buf=0x7f58bcded648 "SUBSCRIBE sip:test@test.tutpro.com SIP/2.0\r\nRecord-Route: <sip:127.0.0.1:5070;transport=tcp;r2=on;lr>\r\nRecord-Route: <sip:192.168.188.215;transport=tcp;r2=on;lr>\r\nVia: SIP/2.0/TCP 127.0.0.1:5070;branc"..., len=749, rcv_info=0x7f58bcded2b8) at core/receive.c:515
#26 0x0000557db2c3ee6d in receive_tcp_msg (
tcpbuf=0x7f58bcded648 "SUBSCRIBE sip:test@test.tutpro.com SIP/2.0\r\nRecord-Route: <sip:127.0.0.1:5070;transport=tcp;r2=on;lr>\r\nRecord-Route: <sip:192.168.188.215;transport=tcp;r2=on;lr>\r\nVia: SIP/2.0/TCP 127.0.0.1:5070;branc"..., len=749, rcv_info=0x7f58bcded2b8, con=0x7f58bcded2a0) at core/tcp_read.c:1368
#27 0x0000557db2c419f2 in tcp_read_req (con=0x7f58bcded2a0, bytes_read=0x7ffc2c643e98,
read_flags=0x7ffc2c643e9c) at core/tcp_read.c:1604
#28 0x0000557db2c44ef3 in handle_io (fm=0x7f58c37781f0, events=1, idx=-1) at core/tcp_read.c:1780
#29 0x0000557db2c30835 in io_wait_loop_epoll (h=0x557db2f102c0 <io_w>, t=2, repeat=0) at core/io_wait.h:1070
#30 0x0000557db2c47e98 in tcp_receive_loop (unix_sock=14) at core/tcp_read.c:1976
#31 0x0000557db2c24ab5 in tcp_init_children (woneinit=0x7ffc2c644288) at core/tcp_main.c:5239
--Type <RET> for more, q to quit, c to continue without paging--
#32 0x0000557db2963531 in main_loop () at main.c:1851
#33 0x0000557db296e0e7 in main (argc=17, argv=0x7ffc2c644978) at main.c:3086
Module: kamailio
Branch: master
Commit: 57a22811bd91a1c86a59f2343522bbe7821b45fd
URL: https://github.com/kamailio/kamailio/commit/57a22811bd91a1c86a59f2343522bbe…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2023-04-12T11:46:50+02:00
modules: readme files regenerated - dialog ... [skip ci]
---
Modified: src/modules/dialog/README
---
Diff: https://github.com/kamailio/kamailio/commit/57a22811bd91a1c86a59f2343522bbe…
Patch: https://github.com/kamailio/kamailio/commit/57a22811bd91a1c86a59f2343522bbe…
---
diff --git a/src/modules/dialog/README b/src/modules/dialog/README
index 91ca0c7632..525824c78b 100644
--- a/src/modules/dialog/README
+++ b/src/modules/dialog/README
@@ -1808,7 +1808,7 @@ if(dlg_get("abcdef", "123", "456"))
Meaning of the parameters is as follows:
* callid - SIP call-id.
* ftag - SIP From tag.
- * ttag - SIP To tag.
+ * ttag - SIP To tag. Use "" value to indicate early dialog.
* name - key name of the $dlg_var.
* dst - pv to store the value of $dlg_var(name).
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3411
-- Commit Summary --
* benchmark: typo
* carrierroute: typos
* cdp: typos
* cnxcc: typos
* cplp: typos
* ctl: typos
* corex: typos
* crypto: typo
* enum: typos
* evapi: typo
* exec: typo
* htable: typos
* http_async_client: typos
* http_client: typos
-- File Changes --
M src/modules/benchmark/doc/benchmark_devel.xml (2)
M src/modules/carrierroute/cr_fixup.c (4)
M src/modules/carrierroute/cr_map.c (4)
M src/modules/carrierroute/cr_map.h (4)
M src/modules/carrierroute/cr_rule.h (2)
M src/modules/carrierroute/doc/carrierroute_admin.xml (12)
M src/modules/carrierroute/doc/carrierroute_db.xml (2)
M src/modules/carrierroute/prime_hash.c (6)
M src/modules/carrierroute/prime_hash.h (4)
M src/modules/cdp/authstatemachine.c (8)
M src/modules/cdp/configexample/ConfigExample.xml (2)
M src/modules/cdp/diameter.h (2)
M src/modules/cdp/diameter_avp.c (8)
M src/modules/cdp/diameter_ims.h (2)
M src/modules/cdp/diameter_ims_code_cmd.h (2)
M src/modules/cdp/diameter_msg.c (4)
M src/modules/cdp/diameter_peer.c (2)
M src/modules/cdp/doc/cdp_admin.xml (2)
M src/modules/cdp/doc/cdp_devel.xml (2)
M src/modules/cdp/peerstatemachine.c (4)
M src/modules/cdp/receiver.c (4)
M src/modules/cdp/session.c (2)
M src/modules/cdp/session.h (2)
M src/modules/cnxcc/doc/cnxcc_admin.xml (2)
M src/modules/cnxcc/example/kamailio-cnxcc.cfg (10)
M src/modules/corex/corex_mod.c (2)
M src/modules/corex/doc/corex_admin.xml (2)
M src/modules/cplc/cpl_env.h (4)
M src/modules/cplc/cpl_nonsig.c (12)
M src/modules/cplc/cpl_proxy.h (4)
M src/modules/cplc/cplc.c (2)
M src/modules/cplc/doc/cplc_admin.xml (12)
M src/modules/crypto/crypto_mod.c (2)
M src/modules/ctl/binrpc.h (8)
M src/modules/ctl/binrpc_run.c (10)
M src/modules/ctl/ctl.cfg (2)
M src/modules/ctl/fifo_server.c (6)
M src/modules/ctl/io_listener.c (10)
M src/modules/enum/doc/enum_admin.xml (2)
M src/modules/enum/enum.c (2)
M src/modules/evapi/doc/evapi_admin.xml (2)
M src/modules/exec/kill.c (2)
M src/modules/htable/doc/htable_admin.xml (8)
M src/modules/htable/ht_db.c (2)
M src/modules/http_async_client/doc/http_async_client_admin.xml (2)
M src/modules/http_client/TODO.txt (6)
M src/modules/http_client/doc/http_client_admin.xml (10)
M src/modules/http_client/http_client.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3411.patchhttps://github.com/kamailio/kamailio/pull/3411.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3411
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3411(a)github.com>