<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
the crash is different, no longer the one in dialog that was fixed
-- now it is inside corex module, at corex_nio.c line 411.<br>
<br>
I checked the source code and that line doesn't exist in 4.2 or
master branches. I guess you have custom development done to corex
module -- check your code there.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 08/12/14 09:35, Rahul MathuR wrote:<br>
</div>
<blockquote
cite="mid:CAM8wsqLuPLbRRUZEHx5Un0kODdXQJwf0PXOSMHsx9inxMj+SVg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello Daniel,
<div><br>
</div>
<div>I upgraded to latest version - </div>
<div><br>
</div>
<div>
<div>[root@h5-152-217-138 /]# kamailio -v</div>
<div>version: kamailio 4.2.1 (x86_64/linux) 868a34</div>
<div>flags: STATS: Off, USE_TCP, USE_RAW_SOCKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR,
USE_DST_BLACKLIST, HAVE_RESOLV_RES</div>
<div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT
PKG_SIZE 8MB</div>
<div>poll method support: poll, epoll_lt, epoll_et, sigio_rt,
select.</div>
<div>id: 868a34</div>
<div>compiled on 00:20:15 Dec 2 2014 with gcc 4.4.7</div>
</div>
<div><br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">BUT even then, after 8 days it crashed
and again in futex_get( ) </div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">
<div class="gmail_extra">Program terminated with signal 11,
Segmentation fault.</div>
<div class="gmail_extra">#0 0x00007f970a39fae6 in futex_get
(lock=0x7fffbf91f160) at
../../parser/../mem/../futexlock.h:101</div>
<div class="gmail_extra">101
v=atomic_cmpxchg(lock, 0, 1); /* lock if 0 */</div>
<div class="gmail_extra">(gdb) bt</div>
<div class="gmail_extra">#0 0x00007f970a39fae6 in futex_get
(lock=0x7fffbf91f160) at
../../parser/../mem/../futexlock.h:101</div>
<div class="gmail_extra">#1 0x00007f970a3a4369 in
nio_intercept_init () at corex_nio.c:411<br>
</div>
<div class="gmail_extra">#2 0x00007f970a3a58bd in next_proto
(proto=32767) at ../../socket_info.h:119</div>
<div class="gmail_extra">#3 0x000000000047d4e9 in
sr_event_exec (type=2, data=0x7fffbf91fb10) at events.c:218</div>
<div class="gmail_extra">#4 0x000000000048151e in msg_send
(dst=0x7fffbf91fe00,</div>
<div class="gmail_extra"> buf=0x7f970b09e310
"\367\204\223\024)i\277aזn7a\307nȜ[yK9\\\035\356]\277\304w\365\362U\207ԕ\365d\303\024'\245`!v\032\334\347\221\323\023\020\213\271A\rz\336\315&Z\023\335۶%\016\263\260=:\261]؊\037\245:\bg\227y<\217\270Zȍ\317\376\240\a\365h\f[\214\212SB\326\343\216\345\323\"\r\360%\210k\351!\373\323\a]\017-\214q\257\023,\210\342:\277\203\217\313W@w\300d\021\070\262\254ǫ\373\374\217\033\060\241\267+`\277>M\233\262\246=\\\016-\253Ӷ\325(
\365yo\354J\221\021\211R3\325M\333\b\277\021\340\344\337\036<=\026&\314m\016\324]\bG`Ȅ\b"...,
len=3176) at forward.h:175</div>
<div class="gmail_extra">#5 0x00000000004894b3 in
forward_request (msg=0x7f970b09dbf0, dst=0x7fffbf91fde0,
port=7878, send_info=0x7fffbf91fe00) at forward.c:633</div>
<div class="gmail_extra">#6 0x00007f970a0b5ad0 in
init_avp_params (fr_timer_param=0x6f5758
"/usr/local/etc/kamailio/kamailio.cfg",
fr_inv_timer_param=0x27957d0 "\001") at t_funcs.c:421</div>
<div class="gmail_extra">#7 0x00007f970a0f3d58 in
t_set_disable_internal_reply (msg=0x7f970b09dbf0,
p1=0x7fffbf9200b0 "\365\252O\a\227\177", p2=0x7f970b09dbf0
"\001") at tm.c:1891</div>
<div class="gmail_extra">#8 0x00007f970a0f4dad in
t_any_timeout (msg=0x7f970a0f4dad, foo=0x7fffbf91ff40
"@\005\222\277\377\177", bar=0x7fffbf923970 "\002") at
tm.c:1981</div>
<div class="gmail_extra">#9 0x000000000041ce76 in do_action
(h=0x7fffbf920640, a=0x7f970b044e28, msg=0x7f970b09dbf0) at
action.c:1088</div>
<div class="gmail_extra">#10 0x000000000042957a in run_actions
(h=0x7fffbf920640, a=0x7f970b044e28, msg=0x7f970b09dbf0) at
action.c:1583</div>
<div class="gmail_extra">#11 0x0000000000429bdf in
run_actions_safe (h=0x7fffbf922da0, a=0x7f970b044e28,
msg=0x7f970b09dbf0) at action.c:1648</div>
<div class="gmail_extra">#12 0x000000000053f61c in
rval_get_int (h=0x7fffbf922da0, msg=0x7f970b09dbf0,
i=0x7fffbf920b18, rv=0x7f970b045280, cache=0x0) at
rvalue.c:924</div>
<div class="gmail_extra">#13 0x0000000000543854 in
rval_expr_eval_int (h=0x7fffbf922da0, msg=0x7f970b09dbf0,
res=0x7fffbf920b18, rve=0x7f970b045278) at rvalue.c:1918</div>
<div class="gmail_extra">#14 0x0000000000543c4a in
rval_expr_eval_int (h=0x7fffbf922da0, msg=0x7f970b09dbf0,
res=0x7fffbf920fa8, rve=0x7f970b045978) at rvalue.c:1926</div>
<div class="gmail_extra">#15 0x000000000041c960 in do_action
(h=0x7fffbf922da0, a=0x7f970b046308, msg=0x7f970b09dbf0) at
action.c:1064</div>
<div class="gmail_extra">#16 0x000000000042957a in run_actions
(h=0x7fffbf922da0, a=0x7f970b040c10, msg=0x7f970b09dbf0) at
action.c:1583</div>
<div class="gmail_extra">#17 0x0000000000419905 in do_action
(h=0x7fffbf922da0, a=0x7f970b04e220, msg=0x7f970b09dbf0) at
action.c:712</div>
<div class="gmail_extra">#18 0x000000000042957a in run_actions
(h=0x7fffbf922da0, a=0x7f970b04b098, msg=0x7f970b09dbf0) at
action.c:1583</div>
<div class="gmail_extra">#19 0x000000000041cddf in do_action
(h=0x7fffbf922da0, a=0x7f970b051b78, msg=0x7f970b09dbf0) at
action.c:1079</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Nov 29, 2014 at 2:16 PM,
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:miconda@gmail.com"
target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
<br>
upgrade to use the latest stable version from 4.2
branch, respectively 4.2.1 at this time -- you are
running a pre-release version, which was not supposed to
be ready for production anyhow, and there was a fix to
this issue already.<br>
<br>
Cheers,<br>
Daniel
<div>
<div class="h5"><br>
<br>
<div>On 28/11/14 19:59, Rahul MathuR wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5"><br>
<br>
<br>
<div dir="ltr">Hello,
<div><br>
</div>
<div>I have recently moved some traffic to
kamailio-4.2 (installed on a seperate box) and
it crashes quite often. Below is the backtrace
of the core files - </div>
<div><br>
</div>
<div><CORE#1></div>
<div>
<div>(gdb) bt</div>
<div>#0 0x00000033d8c32635 in raise () from
/lib64/libc.so.6</div>
<div>#1 0x00000033d8c33e15 in abort () from
/lib64/libc.so.6</div>
<div>#2 0x000000000049add5 in sig_alarm_abort
(signo=14) at main.c:689</div>
<div>#3 <signal handler called></div>
<div>#4 0x00000033d8ce50c7 in syscall () from
/lib64/libc.so.6</div>
<div>#5 0x00007f7ca2ea0a1e in futex_get
(lock=0x7f7ca3334388) at
../../mem/../futexlock.h:110</div>
<div>#6 0x00007f7ca2ea1e99 in
remove_dialog_timer (tl=0x7f7ca3384c98) at
dlg_timer.c:168</div>
<div>#7 0x00007f7ca2e83e9b in destroy_dlg
(dlg=0x7f7ca3384c40) at dlg_hash.c:357</div>
<div>#8 0x00007f7ca2e84e19 in
destroy_dlg_table () at dlg_hash.c:438</div>
<div>#9 0x00007f7ca2e50b89 in mod_destroy ()
at dialog.c:773</div>
<div>#10 0x000000000058dfd5 in destroy_modules
() at sr_module.c:818</div>
<div>#11 0x0000000000499ad3 in cleanup
(show_status=1) at main.c:564</div>
<div>#12 0x000000000049b096 in
shutdown_children (sig=15, show_status=1) at
main.c:706</div>
<div>#13 0x000000000049d66c in handle_sigs ()
at main.c:797</div>
<div>#14 0x00000000004a4e57 in main_loop () at
main.c:1757</div>
<div>#15 0x00000000004a8a43 in main (argc=2,
argv=0x7fff58d21368) at main.c:2609</div>
<div>(gdb) quit</div>
<div><br>
</div>
<div><br>
</div>
<div><CORE#2></div>
<div>
<div>(gdb) bt</div>
<div>#0 0x00007f7ca2ea22d7 in
update_dlg_timer (tl=0x58, timeout=10) at
dlg_timer.c:203</div>
<div>#1 0x00007f7ca2e824f3 in dlg_clean_run
(ti=44865910) at dlg_hash.c:253</div>
<div>#2 0x00007f7ca2e566fc in
dlg_clean_timer_exec (ticks=44865910,
param=0x0) at dialog.c:1250</div>
<div>#3 0x00000000005f93e8 in
fork_sync_timer (child_id=-1,
desc=0x7f7ca2eb3a71 "Dialog Clean Timer",
make_sock=1, f=0x7f7ca2e566e3
<dlg_clean_timer_exec>, param=0x0,</div>
<div> interval=90) at timer_proc.c:232</div>
<div>#4 0x00007f7ca2e50476 in child_init
(rank=0) at dialog.c:730</div>
<div>#5 0x000000000058e385 in
init_mod_child (m=0x7f7ca8c09eb8, rank=0)
at sr_module.c:930</div>
<div>#6 0x000000000058e0c0 in
init_mod_child (m=0x7f7ca8c0b000, rank=0)
at sr_module.c:927</div>
<div>#7 0x000000000058e68f in init_child
(rank=0) at sr_module.c:957</div>
<div>#8 0x00000000004a435c in main_loop ()
at main.c:1705</div>
<div>#9 0x00000000004a8a43 in main (argc=2,
argv=0x7fff58d21368) at main.c:2609</div>
<div>(gdb) quit</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>kamailio -v</div>
<div>version: kamailio 4.2.0-pre0
(x86_64/linux) a78764-dirty</div>
<div>flags: STATS: Off, USE_TCP,
USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST,
DNS_IP_HACK, SHM_MEM, SHM_MMAP,
PKG_MALLOC, F_MALLOC, DBG_F_MALLOC,
USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
USE_DNS_CACHE, USE_DNS_FAILOVER,
USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES</div>
<div>ADAPTIVE_WAIT_LOOPS=1024,
MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN
16, MAX_URI_SIZE 1024, BUF_SIZE 65535,
DEFAULT PKG_SIZE 4MB</div>
<div>poll method support: poll, epoll_lt,
epoll_et, sigio_rt, select.</div>
<div>id: a78764 -dirty</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Kindly let me know which version to move.</div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div>Warm Regds.<br>
MathuRahul<br>
</div>
</div>
</div>
<br>
<br>
<br>
-- <br>
Warm Regds.<br>
MathuRahul<br>
<br>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class=""><font color="#888888">
</font></span></pre>
<span class=""><font color="#888888"> </font></span></blockquote>
<span class=""><font color="#888888"> <br>
<pre cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</font></span></div>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">Warm Regds.<br>
MathuRahul<br>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>