[OpenSIPS-Devel] [opensips] 2.1.1 segfault (#782)

ankogan notifications at github.com
Mon Feb 8 20:16:56 CET 2016


Hi!

Yes, looks like memory error. Also I get errors like this:
WARNING:core:timer_ticker: timer task <tm-timer> already schedualed for 1638860 ms (now 1701330 ms), it may overlap..
And I see 2 process segfaulted at the same time - the first backtrace I've already sent and this is the second:
Core was generated by `/usr/sbin/opensips -P /var/run/opensips/opensips.pid -m 2048 -M 256 -u opensips'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f2e9817b9a1 in unref_dlg (dlg=0x7f2e19008ca8, cnt=1) at dlg_hash.c:759
759             d_entry = &(d_table->entries[dlg->h_entry]);
(gdb) bt full
#0  0x00007f2e9817b9a1 in unref_dlg (dlg=0x7f2e19008ca8, cnt=1) at dlg_hash.c:759
        d_entry = 0x14c0
        __FUNCTION__ = "unref_dlg"
#1  0x00007f2e9948c483 in empty_tmcb_list (head=head at entry=0x7f2e184dd280) at t_hooks.c:53
        cbp = 0x7f2e17dc96a0
        cbp_tmp = 0x7f2e1a203610
#2  0x00007f2e9946e06e in free_cell (dead_cell=0x7f2e184dd210) at h_table.c:127
        b = <optimized out>
        i = <optimized out>
        rpl = <optimized out>
        tt = <optimized out>
        foo = <optimized out>
        p = <optimized out>
#3  0x00007f2e994702d0 in free_hash_table () at h_table.c:375
        p_cell = <optimized out>
        tmp_cell = 0x0
        i = 218
#4  0x00007f2e9946d515 in tm_shutdown () at t_funcs.c:91
        __FUNCTION__ = "tm_shutdown"
#5  0x00000000004914a9 in destroy_modules () at sr_module.c:527
        t = 0x7f2e9cdeb848
        foo = 0x7f2e9cdeb768
        __FUNCTION__ = "destroy_modules"
#6  0x000000000048c961 in cleanup (show_status=show_status at entry=1) at main.c:308
        __FUNCTION__ = "cleanup"
#7  0x000000000048d452 in handle_sigs () at main.c:503
        chld = <optimized out>
        chld_status = 139
        overall_status = 139
        i = <optimized out>
        do_exit = 1
        __FUNCTION__ = "handle_sigs"
---Type <return> to continue, or q <return> to quit---
#8  0x0000000000419ef7 in main_loop () at main.c:756
        startup_done = <optimized out>
        chd_rank = 128
#9  main (argc=<optimized out>, argv=<optimized out>) at main.c:1259
        cfg_log_stderr = <optimized out>
        cfg_stream = <optimized out>
        c = <optimized out>
        r = <optimized out>
        tmp = 0x7fffcadcbf5b ""
        tmp_len = <optimized out>
        port = <optimized out>
        proto = <optimized out>
        options = 0x542728 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
        seed = 2360128054
        __FUNCTION__ = "main"
(gdb)

I've sent the script to your e-mail.


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/782#issuecomment-181451473
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160208/09f82254/attachment-0001.htm>


More information about the Devel mailing list