[asterisk-bugs] [JIRA] (ASTERISK-28605) Deadlock in Hangup Scenarios with concurrent command pri show span X

Dirk Wendland (JIRA) noreply at issues.asterisk.org
Fri Nov 8 04:20:31 CST 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248727#comment-248727 ] 

Dirk Wendland commented on ASTERISK-28605:
------------------------------------------

Hi Joshua

i cannot upload the File. It has 30 MB in tgz format.

{NOFORMAT}
[root at localhost tmp]# asterisk -rvvv
Asterisk 16.6.1 (debug build 16.6.1), Copyright (C) 1999 - 2018, Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 16.6.1 (debug build 16.6.1) currently running on localhost (pid = 6771)
localhost*CLI> 
localhost*CLI> core show locks 

=======================================================================
=== 16.6.1 (debug build 16.6.1)
=== Currently Held Locks
=======================================================================
===
=== <pending> <lock#> (<file>): <lock type> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 0x7fbe7f73d700 LWP:6779 (worker_start         started at [ 1111] threadpool.c worker_thread_start())
=== ---> Waiting for Lock #0 (threadpool.c): MUTEX 364 threadpool_execute pool 0x21b6eb0 (1)
	asterisk __ast_pthread_mutex_lock()
	asterisk __ao2_lock()
	asterisk <unknown>()
	asterisk <unknown>()
	asterisk ast_taskprocessor_push()
	asterisk ast_threadpool_push()
	asterisk <unknown>()
	asterisk <unknown>()
=== -------------------------------------------------------------------
===
=======================================================================

    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
localhost*CLI> 
{NOFORMAT}

> Deadlock in Hangup Scenarios with concurrent command pri show span X
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-28605
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28605
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/General
>    Affects Versions: 16.6.0, 16.6.1
>         Environment: Asterisk 16.6 CentOs 6
>            Reporter: Dirk Wendland
>            Assignee: Dirk Wendland
>
> We have a Szenario with an high Call Flow ( load tests ).
> Szenario:
> 4 S2M Ports => 60 channels go up in the same second 60 Channels hangs up in the same second
> Every few seconds we check the ISN Lines with the command:
> pri show span X
> After a few iterations asterisk will stop working.
> On the console we can fire up that command only one time then that command line interface hangs.
> localhost*CLI> pri show span 4
> Primary D-channel: 109
> Status: Up, Active
> The next ( Switchtype ) will not be printed
> -----------------------------
> We found the patch/task that created that issue.
> ASTERISK-28525
> If we revert that commit everything works fine.
> Greetings
> Dirk



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



More information about the asterisk-bugs mailing list