Hello,
it seems that the core file of the process that crashed was overwritten
by a core dumped by the main process while cleaning up.
Did you get many core files? If not, can you look in the log messages to
see if there were some error messages printed at the time of crash?
You should enable one core per pid, usually this is done by:
echo "1" > /proc/sys/kernel/core_uses_pid
Cheers,
Daniel
On 9/26/12 2:40 PM, Vicente Hernando wrote:
Hello,
we are using a kamailio 3.3.1 version here and suddenly it crashed
with a core.
Any point about how to debug this will be appreciated!
# /usr/local/kamailio/sbin/kamailio -V
version: kamailio 3.3.1 (x86_64/linux) 91e8cb
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS,
USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 91e8cb
compiled on 04:59:57 Sep 13 2012 with gcc 4.6.3
(gdb) bt full
#0 0x00007f242514e445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007f2425151bab in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00000000004740b2 in sig_alarm_abort (signo=<optimized out>) at
main.c:695
No locals.
#3 <signal handler called>
No symbol table info available.
#4 0x00007f24252066d7 in syscall () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#5 0x0000000000542c58 in futex_get (lock=0x7f23e1ceb7a8) at
mem/../futexlock.h:110
i = <optimized out>
#6 timer_del_safe (tl=0x7f23e1d378e0) at timer.c:729
ret = -1
#7 0x0000000000447ab6 in destroy_dns_cache () at dns_cache.c:245
No locals.
#8 0x0000000000474f95 in cleanup (show_status=1) at main.c:572
memlog = <optimized out>
#9 0x0000000000475969 in shutdown_children (show_status=1, sig=15) at
main.c:712
No locals.
#10 0x00000000004767ac in handle_sigs () at main.c:803
chld = <optimized out>
chld_status = 139
memlog = <optimized out>
#11 0x0000000000478ed5 in main_loop () at main.c:1762
i = <optimized out>
pid = <optimized out>
si = <optimized out>
si_desc = "udp receiver child=5
sock=79.170.68.187:5060\000\177", '\000' <repeats 18 times>,
"\001\000\000\000\000\000\000\000\000\000\300>\000\000\000\000\001\000\000\000#\177\000\000Q\251U\000\000\000\000\000\020p\321$$\177\000\000\b\000\000\000\000\000\000\000x\264\316\341#\177\000\000\000gE\345\322\024P\027"
nrprocs = <optimized out>
#12 0x000000000041add2 in main (argc=<optimized out>, argv=<optimized
out>) at main.c:2546
cfg_stream = <optimized out>
c = <optimized out>
r = <optimized out>
tmp = 0x7fff551d8f24 ""
---Type <return> to continue, or q <return> to quit---
tmp_len = 1427999204
options = 0x5df520
":f:cm:M:dVIhEb:l:L:n:vrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"
ret = -1
seed = 603487729
rfd = 0
debug_save = <optimized out>
debug_flag = <optimized out>
dont_fork_cnt = <optimized out>
n_lst = 0x0
p = <optimized out>
Thanks in advance,
Vicente.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -
http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -
http://asipto.com/u/katu