[asterisk-bugs] [JIRA] (ASTERISK-24595) chan_sip.c Deadlock on SMP

Grigory Milev (JIRA) noreply at issues.asterisk.org
Thu Dec 11 07:36:29 CST 2014


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

Grigory Milev updated ASTERISK-24595:
-------------------------------------

    Status: Waiting for Feedback  (was: Waiting for Feedback)

> chan_sip.c Deadlock on SMP
> --------------------------
>
>                 Key: ASTERISK-24595
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24595
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.14.1
>         Environment: Linux home 3.0.35PD14.0.0 #8 SMP PREEMPT Tue Nov 25 22:18:16 MSK 2014 armv7l GNU/Linux
> Platform: iMX6 quad (armh)
> OS: Altlinux sisyphus based.
>            Reporter: Grigory Milev
>            Assignee: Grigory Milev
>         Attachments: backtrace-threads.txt.bz2, core-show-locks.txt.bz2, debuglog.bz2
>
>
> When asterisk runed on all cpu cores, fue times pear day sip deadlocked:
> [2014-12-03 12:50:30] ERROR[26839] lock.c: chan_sip.c line 20849 (show_channels_cb): Deadlock? waited 85 sec for mutex 'cur'?
> [2014-12-03 12:50:30] ERROR[26839] lock.c: chan_sip.c line 3940 (retrans_pkt): 'cur' was locked here.
> [2014-12-03 12:50:35] ERROR[26839] lock.c: chan_sip.c line 20849 (show_channels_cb): Deadlock? waited 90 sec for mutex 'cur'?
> When i load asterisk only on one core (taskset -a 0x0001 asterisk -fn), then no dedalock at all, but the next dead sip channels:
> home*CLI> sip show channels
> Peer             User/ANR         Call ID          Format           Hold     Last Message    Expiry     Peer
> 37.17.17.73      205              74439a312ea2eab  (nothing)        No       Init: NOTIFY               <guest>
> 37.17.114.246    205              30a22f2359ff7ee  (nothing)        No       Init: NOTIFY               <guest>
> 37.17.114.246    205              1b4153685e957cd  (nothing)        No       Init: NOTIFY               <guest>



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



More information about the asterisk-bugs mailing list