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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Dec 5 08:57:28 CST 2014


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

Rusty Newton updated ASTERISK-24595:
------------------------------------

    Assignee: Grigory Milev
      Status: Waiting for Feedback  (was: Triage)

There isn't enough information here to investigate.

Can you provide a trace after the deadlock occurs? [Follow the linked instructions|https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace#GettingaBacktrace-GettingInformationForADeadlock]

Be sure to include the "core show locks" output [and an Asterisk log|https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information] including VERBOSE and DEBUG message types.


> 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
>
> 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