[sr-dev] [kamailio/kamailio] segfault at f8 ip 00007fd49cf02f72 sp 00007ffea6e37e70 error 4 in dmq_usrloc.so[7fd49cef0000+17000] (Issue #3242)

Joel Serrano notifications at github.com
Sun Sep 18 21:53:32 CEST 2022


Hi Daniel, 

here is the output:

```
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/kamailio...
Reading symbols from /usr/lib/debug/.build-id/56/b8c9f5a3c31e6a1813f0c59adb02c922c60137.debug...

warning: Can't open file /dev/zero (deleted) during file-backed mapping note processing
[New LWP 53605]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f /etc/kamailio/csbc.cfg -m 5'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fd49cf02f72 in usrloc_dmq_send_multi_contact (ptr=0x7fd49d8f6ea0, aor=..., action=1, node=0x7fd49d84f5f8) at usrloc_sync.c:685
685	usrloc_sync.c: No such file or directory.
(gdb) frame 0
#0  0x00007fd49cf02f72 in usrloc_dmq_send_multi_contact (ptr=0x7fd49d8f6ea0, aor=..., action=1, node=0x7fd49d84f5f8) at usrloc_sync.c:685
685	in usrloc_sync.c
(gdb) p *ptr
$1 = {domain = 0x7fd49d5b32d8, ruid = {s = 0x7fd49d8f7240 "uloc-3-6326536b-abf4-663", len = 24}, aor = 0x7fd49d8e86b8, c = {s = 0x7fd49d8f7000 "sip:1070500 at 192.168.1.201;transport=UDP;user=phone", len = 50},
  received = {s = 0x7fd49d8f71c0 "sip:45.225.71.102:5060", len = 22}, path = {s = 0x0, len = 0}, expires = 1663464479, q = -1, callid = {s = 0x7fd49d8f70a0 "45776c982344d3e367a0325e7fafb494 at 192.168.1.201",
    len = 46}, cseq = 2146305210, state = CS_SYNC, flags = 0, cflags = 12, user_agent = {s = 0x7fd49d8f7138 "OXO032/043.001 GW_032/043.001", len = 29}, uniq = {s = 0x0, len = 0}, sock = 0x0,
  last_modified = 1663460879, last_keepalive = 1663462640, ka_roundtrip = 0, methods = 7823, instance = {s = 0x0, len = 0}, reg_id = 0, server_id = 3, tcpconn_id = -1, keepalive = 1, xavp = 0x0,
  next = 0x7fd49d96d2c0, prev = 0x0}
(gdb) p ptr->sock
$2 = (struct socket_info *) 0x0
(gdb) p *ptr->sock
Cannot access memory at address 0x0
(gdb)
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3242#issuecomment-1250375760
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3242/1250375760 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220918/09419b0d/attachment-0001.htm>


More information about the sr-dev mailing list