[asterisk-bugs] [JIRA] (ASTERISK-26204) Locks in chan_sip

Joshua Colp (JIRA) noreply at issues.asterisk.org
Sat Jul 16 04:33:56 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp closed ASTERISK-26204.
----------------------------------

    Resolution: Duplicate

> Locks in chan_sip
> -----------------
>
>                 Key: ASTERISK-26204
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26204
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.10.0
>         Environment: CentOS 6.8 64 bit, kernel 3.4.53-8.el6.centos.alt.x86_64, backported UnixODBC 2.3.4
>            Reporter: Leandro Dardini
>         Attachments: backtrace-threads2.txt, backtrace-threads.txt, core-show-locks2.txt, core-show-locks.txt
>
>
> I am experiencing locks while using chan_sip with latest 13.10.0-rc3.
> The visible effect is asterisk stops processing SIP packets and the UDP buffer you can see with "netstat -nap | grep 5060" fills up:
> # netstat -nap | grep 5060
> udp   214272      0 0.0.0.0:5060                0.0.0.0:*                               7358/asterisk
> =======================================================================
> === 13.10.0-rc3
> === Currently Held Locks
> =======================================================================
> ===
> === <pending> <lock#> (<file>): <lock type> <line num> <function> <lock name> <lock addr> (times locked)
> ===
> === Thread ID: 0x7ff787396700 LWP:6779 (do_monitor           started at [29509] chan_sip.c restart_monitor())
> === ---> Lock #0 (chan_sip.c): MUTEX 29480 do_monitor &monlock 0x7ff78f3ab8a0 (1)
>         main/backtrace.c:59 __ast_bt_get_addresses() (0x46888c+1D)
>         main/lock.c:258 __ast_pthread_mutex_lock() (0x53c89d+BA)
>         channels/chan_sip.c:29481 do_monitor()
>         main/utils.c:1235 dummy_start()
>         libpthread.so.0 <unknown>()
>         libc.so.6 clone() (0x3a790e8af0+6D)
> === -------------------------------------------------------------------
> ===
> =======================================================================



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list