[OpenSIPS-Users] segfault during msg_callback_process in opensip trunk r7406

Bobby Smith bobby.smith at gmail.com
Thu Dec 2 23:45:11 CET 2010


While running a load test over the weekend, we ran into a segfault several
times that looks like it was happening around the same area.  This is in
revision 7406.

It doesn't really feel there's anything meaningful or useful in the core
dump, but perhaps looking at the code path could help.  We reverted back to
branch 1.6 from svn and avoided the crash for 72 hours straight, while
before it was crashing about every few hours.

See below, and thanks.

Bobby Smith

Program terminated with signal 11, Segmentation fault.
#0  0x0000000000000000 in ?? ()
(gdb) bt full
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x00000000004333b1 in msg_callback_process (msg=0x2ab1cd770d80,
cb_type=REQ_PRE_FORWARD, core_arg=0x7a86b0) at msg_callbacks.c:79
        msg_cb = 0x7ab690
        msg_cb_pre = <value optimized out>
#2  0x00002ab1cd54181b in dp_time (t=0x2ab1d0f07038, p_msg=0x2ab1cd770d80,
proxy=<value optimized out>) at ../../dprint.h:125
        ltime = 8042040
#3  t_forward_nonack (t=0x2ab1d0f07038, p_msg=0x2ab1cd770d80, proxy=<value
optimized out>) at t_fwd.c:712
        backup_dst = {s = 0x7ad848 "\001", len = 8042360}
        branch_ret = <value optimized out>
        lowest_ret = -789549208
        current_uri = {s = 0x0, len = -816645016}
        added_branches = 10929
        i = 2
        q = 0
        t_invite = <value optimized out>
        success_branch = 0
        dst_uri = {s = 0x7fff808c5910 "\240. \026", len = 1}
        bk_sock = 0x42d144
        br_flags = 0
        bk_br_flags = 10929
        path = {s = 0x0, len = -2138286848}
        __FUNCTION__ = "t_forward_nonack"
#4  0x00002ab1cd54f0f9 in dp_time (param=<value optimized out>, param_no=2)
at ../../parser/../dprint.h:127
        ltime = 8018616
#5  fixup_t_send_reply (param=<value optimized out>, param_no=2) at tm.c:467
        model = 0x7a24a8
        s = {s = 0x0, len = 8018832}
        __FUNCTION__ = "fixup_t_send_reply"
#6  0x0000000000000000 in ?? ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20101202/6cc0b025/attachment.htm>


More information about the Users mailing list