Skip to content

opensips 2.3 crash #1174

@soulofmischief87

Description

@soulofmischief87

opensips 2.3 is crashing consistently here is a back trace

 gdb /usr/sbin/opensips core.3414
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
Copyright (C) 2013 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/opensips...done.
[New LWP 3414]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/sbin/opensips -P /var/run/opensips.pid -f /etc/opensips/opensips.cfg -w /etc/o'.
Program terminated with signal 6, Aborted.
#0  0x00007effa3cf11d7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt full
#0  0x00007effa3cf11d7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 3414
        selftid = 3414
#1  0x00007effa3cf28c8 in __GI_abort () at abort.c:90
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x7eff9ac76d81 <__FUNCTION__.8131>, sa_sigaction = 0x7eff9ac76d81 <__FUNCTION__.8131>}, sa_mask = {__val = {3472120737606682963, 139636398014132, 56, 
              0, 14572702027416160256, 140733360057200, 139636428201560, 1, 0, 0, 4728072, 4945624, 5444827, 0, 0, 140733360057280}}, sa_flags = -1577425568, sa_restorer = 0x89ecb0 <mem_lock>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007eff9ac6763c in shm_free (_p=<optimized out>) at ../tm/../../mem/shm_mem.h:570
No locals.
#3  free_extra_array (tags=<optimized out>, array=<optimized out>, tags_len=<optimized out>) at acc_logic.c:198
        i = <optimized out>
#4  free_acc_ctx (ctx=0x7effa1fa99a8) at acc_logic.c:220
        i = <optimized out>
#5  tm_free_acc_ctx (param=0x7effa1fa99a8) at acc_logic.c:260
        param = 0x7effa1fa99a8
        ctx = 0x7effa1fa99a8
#6  0x00007eff9f575693 in empty_tmcb_list (head=head@entry=0x7effa1fcc150) at t_hooks.c:53
        cbp = 0x0
        cbp_tmp = 0x7effa1e834a0
#7  0x00007eff9f5439bf in free_cell (dead_cell=0x7effa1fcc0e0) at h_table.c:127
        b = <optimized out>
        i = <optimized out>
        rpl = <optimized out>
        tt = <optimized out>
        foo = <optimized out>
        p = <optimized out>
#8  0x00007eff9f546087 in free_hash_table () at h_table.c:383
        p_cell = <optimized out>
        tmp_cell = 0x0
        i = 26198
#9  0x00007eff9f542f75 in tm_shutdown () at t_funcs.c:89
        __FUNCTION__ = "tm_shutdown"
#10 0x00000000004b58fd in destroy_modules () at sr_module.c:527
        t = 0x7effa3ac6900
        foo = 0x7effa3ac6820
        __FUNCTION__ = "destroy_modules"
#11 0x00000000005075f3 in cleanup (show_status=show_status@entry=1) at main.c:319
        __FUNCTION__ = "cleanup"
#12 0x00000000005081d7 in handle_sigs () at main.c:522
        chld = 0
        chld_status = 134
        overall_status = 134
        i = <optimized out>
        do_exit = <optimized out>
        __FUNCTION__ = "handle_sigs"
#13 0x000000000041c990 in main_loop () at main.c:722
        startup_done = <optimized out>
        chd_rank = 25
#14 main (argc=<optimized out>, argv=<optimized out>) at main.c:1283
        cfg_stream = <optimized out>
        c = <optimized out>
        r = <optimized out>
        tmp = 0x1 <Address 0x1 out of bounds>
        tmp_len = <optimized out>
        port = <optimized out>
        proto = <optimized out>
        protos_no = <optimized out>
        options = 0x6327f8 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
        ret = -1
---Type <return> to continue, or q <return> to quit---
        seed = 297171572
        rfd = <optimized out>
        __FUNCTION__ = "main"
(gdb) 

I am using centos 7 can anyone please advise as to why this is happening?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions