[SR-Users] Kamailio 4.2 crashed
Igor Potjevlesch
igor.potjevlesch at gmail.com
Tue Mar 7 10:54:40 CET 2017
Hello,
There were 3 additional crashes. The two last coredump are (for the same crash):
(gdb) bt full
#0 0x0000003f5d232925 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000003f5d234105 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x000000000061a75d in qm_debug_frag (qm=0x7fa2abe2d000, f=0x7fa2bb870de8) at mem/q_malloc.c:151
__FUNCTION__ = "qm_debug_frag"
#3 0x000000000061cd90 in qm_free (qm=0x7fa2abe2d000, p=0x7fa2bb870e18, file=0x7fa2d2d4c36d "tm: h_table.c", func=0x7fa2d2d4c648 "free_cell", line=186) at mem/q_malloc.c:468
f = 0x7fa2bb870de8
size = 40
next = 0x400
prev = 0x7fffd1ab2a00
__FUNCTION__ = "qm_free"
#4 0x00007fa2d2c8dc9d in free_cell (dead_cell=0x7fa2bb86b408) at h_table.c:186
b = 0x7fa2bb870e18 "INVITE sip:0123456789 at fqdn SIP/2.0\r\nRecord-Route: <sip:A.B.C.60;lr>\r\nDiversion: <sip:987654321 at A.B.C.60:5060>;privacy=off;reason=unconditional;counter=1\r\nVia: SIP/2.0/UDP 91.213.1"...
i = 0
rpl = 0x0
tt = 0x0
foo = 0x7fa2abe62528
cbs = 0x0
cbs_tmp = 0x7fa2bb880f10
__FUNCTION__ = "free_cell"
#5 0x00007fa2d2c8f1fd in free_hash_table () at h_table.c:448
p_cell = 0x7fa2bb86b408
tmp_cell = 0x7fa2abeec9c8
i = 7898
__FUNCTION__ = "free_hash_table"
#6 0x00007fa2d2cb420d in tm_shutdown () at t_funcs.c:123
__FUNCTION__ = "tm_shutdown"
#7 0x00000000005929e6 in destroy_modules () at sr_module.c:811
t = 0x7fa2d42c53e8
foo = 0x7fa2d42c4d28
__FUNCTION__ = "destroy_modules"
#8 0x000000000049c917 in cleanup (show_status=1) at main.c:569
memlog = 0
__FUNCTION__ = "cleanup"
#9 0x000000000049dedf in shutdown_children (sig=15, show_status=1) at main.c:711
__FUNCTION__ = "shutdown_children"
#10 0x00000000004a04b5 in handle_sigs () at main.c:802
chld = 0
chld_status = 139
memlog = -1410980464
__FUNCTION__ = "handle_sigs"
#11 0x00000000004a82e6 in main_loop () at main.c:1757
i = 8
pid = 16151
si = 0x0
si_desc = "udp receiver child=7 sock=A.B.C.60:5060\000\177\000\000\060/\253\321\377\177\000\000\023{N\000\000\000\000\000\200/\253\321\377\177\000\000\004\000\000\000\000\000\000\000`TA\000\000\000\000\000(%æ«¢\177", '\000' <repeats 14 times>, "\001\000\000\000\200/\253\321\377\177\000\000\266{N\000\000\000\000"
nrprocs = 8
__FUNCTION__ = "main_loop"
#12 0x00000000004acfa6 in main (argc=7, argv=0x7fffd1ab31f8) at main.c:2581
cfg_stream = 0x174e010
c = -1
r = 0
tmp = 0x7fffd1ab3f70 ""
tmp_len = 32767
port = -777310002
proto = 0
options = 0x703718 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"
ret = -1
seed = 2069815000
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 0
n_lst = 0x40d134
p = 0xc2 <Address 0xc2 out of bounds>
__FUNCTION__ = "main"
And the other one:
(gdb) bt full
#0 0x00007fa2d2c8c9f4 in atomic_get (v=0x7fa451f0f49c) at ../../mem/../atomic/atomic_common.h:74
No locals.
#1 0x00007fa2d2c8d7c2 in lock_hash (i=221261872) at h_table.c:104
mypid = 16151
#2 0x00007fa2d2cd29c3 in wait_handler (ti=2134563371, wait_tl=0x7fa2bb871420, data=0x7fa2bb87130a) at timer.c:671
p_cell = 0x7fa2bb87130a
ret = 1
#3 0x00000000005fd647 in timer_list_expire (t=2134563371, h=0x7fa2abea6908, slow_l=0x7fa2abea8f08, slow_mark=35391) at timer.c:888
tl = 0x7fa2bb871420
ret = 2134563371
#4 0x00000000005fda8f in timer_handler () at timer.c:953
saved_ticks = 2134563371
run_slow_timer = 0
i = 575
__FUNCTION__ = "timer_handler"
#5 0x00000000005fdefd in timer_main () at timer.c:992
No locals.
#6 0x00000000004a77e1 in main_loop () at main.c:1700
i = 8
pid = 0
si = 0x0
si_desc = "udp receiver child=7 sock=A.B.C.60:5060\000\177\000\000\060/\253\321\377\177\000\000\023{N\000\000\000\000\000\200/\253\321\377\177\000\000\004\000\000\000\000\000\000\000`TA\000\000\000\000\000(%æ«¢\177", '\000' <repeats 14 times>, "\001\000\000\000\200/\253\321\377\177\000\000\266{N\000\000\000\000"
nrprocs = 8
__FUNCTION__ = "main_loop"
#7 0x00000000004acfa6 in main (argc=7, argv=0x7fffd1ab31f8) at main.c:2581
cfg_stream = 0x174e010
c = -1
r = 0
tmp = 0x7fffd1ab3f70 ""
tmp_len = 32767
port = -777310002
proto = 0
options = 0x703718 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"
ret = -1
seed = 2069815000
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 0
n_lst = 0x40d134
p = 0xc2 <Address 0xc2 out of bounds>
__FUNCTION__ = "main"
Regards,
Igor.
De : Igor Potjevlesch [mailto:igor.potjevlesch at gmail.com]
Envoyé : vendredi 24 février 2017 11:50
À : miconda at gmail.com; 'Kamailio (SER) - Users Mailing List' <sr-users at lists.sip-router.org>
Objet : RE: [SR-Users] Kamailio 4.2 crashed
Hello,
Oh no.
The first coredump:
[…]
Regards,
Igor.
De : sr-users [mailto:sr-users-bounces at lists.sip-router.org] De la part de Daniel-Constantin Mierla
Envoyé : jeudi 23 février 2017 20:37
À : Kamailio (SER) - Users Mailing List <sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org> >
Objet : Re: [SR-Users] Kamailio 4.2 crashed
Hello,
is that all the output of 'bt full'? Having just frame 0 is quite odd.
Cheers,
Daniel
On 23/02/2017 16:44, Igor Potjevlesch wrote:
Hello,
I got two coredumps:
(gdb) bt full
#0 0x000000000061ab8e in qm_insert_free (qm=0x7f0f7fca7000, frag=0x7f0f8f6f6268) at mem/q_malloc.c:180
f = 0x7f0f8f6c45e8
prev = 0x0
hash = 5
And
(gdb) bt full
#0 0x000000000061b935 in qm_detach_free (qm=0x7f0f7fca7000, frag=0x7f0f8f6d70b8) at mem/q_malloc.c:271
prev = 0x7f0f7fca7248
next = 0x7f0f8f6c45e8
What are necessary to diagnose how this issue occurs? Thank you for your support.
Regards,
Igor.
_____
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com <http://www.asipto.com>
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com <http://www.kamailioworld.com>
_____
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170307/0221edb1/attachment.html>
More information about the sr-users
mailing list