[OpenSIPS-Users] OpenSIPS crashes.

Jan D. j-doedel at zonnet.nl
Sat Apr 14 11:52:00 CEST 2012


Vlad,

This morning our opensips crash again. The last time this happend was 4 days
ago. This is the error in the opensips.log

Apr 14 11:05:27 /usr/sbin/opensips[6017]: CRITICAL:core:free_lump: called on
a not free-able lump:0x7fefaefc61a8 flags=2

We activated coredump after your previous post, so now we have output. I
pasted the output below. Can you take a look at it, I'm very curious what
could be wrong:

gdb opensips /home/corefiles/core.opensips.sig6.6017
bt full


Fetched 3,749 kB in 0s (5,021 kB/s)
Selecting previously unselected package libpython2.7.
(Reading database ... 27860 files and directories currently installed.)
Unpacking libpython2.7 (from .../libpython2.7_2.7.2-8_amd64.deb) ...
Selecting previously unselected package gdbserver.
Unpacking gdbserver (from .../gdbserver_7.4really-1_amd64.deb) ...
Selecting previously unselected package gdb.
Unpacking gdb (from .../gdb_7.4really-1_amd64.deb) ...
Setting up libpython2.7 (2.7.2-8) ...
Setting up gdbserver (7.4really-1) ...
Setting up gdb (7.4really-1) ...
root at sip2:/home/corefiles# gdb opensips
/home/corefiles/core.opensips.sig6.6017
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/opensips...Reading symbols from
/usr/lib/debug/usr/sbin/opensips...done.
done.
[New LWP 6017]

warning: Can't read pathname for load map: Input/output error.
[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/opensips -P /var/run/opensips/opensips.pid
-m 1024 -u opensips -g ope'.
Program terminated with signal 6, Aborted.
#0  0x00007feff2b57475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0  0x00007feff2b57475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007feff2b5a6f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x000000000041bf92 in free_lump (lmp=0x7fefaefc61a8) at data_lump.c:438
        __FUNCTION__ = "free_lump"
#3  0x000000000041c107 in free_lump_list (l=<optimized out>) at
data_lump.c:467
        t = 0x7fefaefc6170
        r = 0x0
#4  0x000000000041c250 in del_notflaged_lumps (lump_list=<optimized out>,
not_flags=3) at data_lump.c:674
        r = 0x1
        crt = 0x7fefaefc6210
        prev = 0x7fefaefc5360
        prev_r = <optimized out>
#5  0x00007feff24f0bc8 in relay_reply (t=0x7fefaef9b720,
p_msg=0x7fefaefc4d08, branch=1, msg_status=480, cancel_bitmap=<optimized
out>) at t_reply.c:1216
        relay = 0
        save_clone = 0
        buf = 0x7d0f88 "SIP/2.0 603 Decline\r\nVia: SIP/2.0/UDP
83.255.31.120:5060;rport=5060;received=83.255.31.120;branch=z9hG4bK-1b1-1334394326-2364-384\r\nRecord-Route:
<sip:90.143.10.230;lr;ftag=95ffcd055e0f78f7d5d397020e89&quot;...
        res_len = 650
        relayed_code = 603
        relayed_msg = 0x7fefaefc4d08
        bm = {to_tag_val = {s = 0x0, len = 8017128}}
        totag_retr = &lt;optimized out>
        reply_status = RPS_COMPLETED
        cb_s = {
          s = 0x72f127 "From:
<sip:0254852660 at sip.server.nl>;tag=95ffcd055e0f78f7d5d397020e89288d752087f7\r\nTo:
<sip:31254712460 at 90.143.10.230:5060>;tag=z9hG4bK36fb.ed56e941.1\r\nCSeq: 1
INVITE\r\nContent-Length:  0\r\n\r\n", len = 0}
        text = {s = 0x72f17b "To:
<sip:31254712460 at 90.143.10.230:5060>;tag=z9hG4bK36fb.ed56e941.1\r\nCSeq: 1
INVITE\r\nContent-Length:  0\r\n\r\n", len = 69}
        __FUNCTION__ = "relay_reply"
#6  0x00007feff24f19fe in reply_received (p_msg=0x7c9848) at t_reply.c:1527
        last_uac_status = <optimized out>
        branch = 1
        reply_status = <optimized out>
        timer = <optimized out>
        cancel_bitmap = 0
        t = 0x7fefaef9b720
        backup_list = 0x0
        __FUNCTION__ = "reply_received"
#7  0x0000000000420bb0 in forward_reply (msg=0x7c9848) at forward.c:568
        new_buf = <optimized out>
        to = <optimized out>
        new_len = <optimized out>
        mod = 0x75ada8
        proto = <optimized out>
        id = <optimized out>
        send_sock = <optimized out>
        len = <optimized out>
        __FUNCTION__ = "forward_reply"
#8  0x000000000044a8f0 in receive_msg (
    buf=0x72efa0 "SIP/2.0 480 Temporarily Unavailable\r\nVia: SIP/2.0/UDP
90.143.10.230;received=90.143.10.230;branch=z9hG4bK36fb.ed56e941.1\r\nVia:
SIP/2.0/UDP
83.255.31.120:5060;rport=5060;received=83.255.31.120;branch=z"..., len=582, 

rcv_info=0x7fff94fd5b30) at receive.c:203
        msg = 0x7c9848
        start = {tv_sec = 16, tv_usec = 0}
        __FUNCTION__ = "receive_msg"
#9  0x0000000000483435 in udp_rcv_loop () at udp_server.c:418
        len = 582
        buf = "SIP/2.0 480 Temporarily Unavailable\r\nVia: SIP/2.0/UDP
90.143.10.230;received=90.143.10.230;branch=z9hG4bK36fb.ed56e941.1\r\nVia:
SIP/2.0/UDP
83.255.31.120:5060;rport=5060;received=83.255.31.120;branch=z"...
        tmp = <optimized out>
        from = 0x7c9810
---Type <return> to continue, or q <return> to quit---
        fromlen = 16
        ri = {src_ip = {af = 2, len = 4, u = {addrl = {140665747658078, 0},
addr32 = {1273746782, 32751, 0, 0}, addr16 = {54622, 19435, 32751, 0, 0, 0,
0, 0},
              addr =
"^\325\353K\357\177\000\000\000\000\000\000\000\000\000"}}, dst_ip = {af =
2, len = 4, u = {addrl = {3859452505, 0}, addr32 = {3859452505, 0, 0, 0},
addr16 = {37465, 58890, 0, 0, 0, 0,
                0, 0}, addr = "Y\222\n\346", '\000' <repeats 11 times>}},
src_port = 5060, dst_port = 5060, proto = 1, proto_reserved1 = 0,
proto_reserved2 = 0, src_su = {s = {sa_family = 2,
              sa_data = "\023\304^\325\353K\000\000\000\000\000\000\000"},
sin = {sin_family = 2, sin_port = 50195, sin_addr = {s_addr = 1273746782},
sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {
              sin6_family = 2, sin6_port = 50195, sin6_flowinfo =
1273746782, sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>,
__u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0,
                    0}}}, sin6_scope_id = 0}}, bind_address = 0x75a758}
        p = 0x7fff94fd5b38
        __FUNCTION__ = "udp_rcv_loop"
#10 0x0000000000427697 in main_loop () at main.c:872
        i = 17
        pid = <optimized out>
        si = 0x75a758
        startup_done = 0x0
        chd_rank = 18
        load_p = 0x7fefaef21f80
#11 main (argc=<optimized out>, argv=<optimized out>) at main.c:1490
        cfg_log_stderr = <optimized out>
        cfg_stream = <optimized out>
        c = <optimized out>
        r = <optimized out>
        tmp = 0x7fff94fd6df7 ""
        tmp_len = <optimized out>
        port = <optimized out>
        proto = <optimized out>
        ret = <optimized out>
        seed = 3855936534
        rfd = <optimized out>
        __FUNCTION__ = "main"

--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-crashes-tp7452782p7465275.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list