[Home]

Summary:ASTERISK-05606: execution of manager's command "hangup", when agent receive voice packets, cause deadlock
Reporter:Dmitry (dortik)Labels:
Date Opened:2005-11-15 03:41:16.000-0600Date Closed:2011-06-07 14:03:13
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_agent
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20051115__agent_mutex.diff.txt
( 1) messages
Description:Execution of manager's command "hangup", when agent receive voice packets, cause deadlock
Comments:By: Tilghman Lesher (tilghman) 2005-11-15 19:53:09.000-0600

Let me know if this patch fixes your issue.

By: Dmitry (dortik) 2005-11-20 09:10:55.000-0600

No, this patch does not fix this issue. After this patch Agent can't relogin also.

By: Mark Spencer (markster) 2005-12-20 02:33:13.000-0600

Can you supply a backtrace of the deadlocked system?

By: Dmitry (dortik) 2006-01-01 09:40:45.000-0600

After execution of manager's command hangup:
----------------------------------------------------------
Jan  1 18:41:34 ERROR[853]: ../include/asterisk/lock.h:239 __ast_pthread_mutex_lock: chan_agent.c line 985 (agent_new): '&p->app_lock' was locked here.
Jan  1 18:41:34 ERROR[853]: ../include/asterisk/lock.h:236 __ast_pthread_mutex_lock: chan_agent.c line 1997 (__login_exec): Deadlock? waited 15 sec for mutex '&p->app_lock'?
Jan  1 18:41:34 ERROR[853]: ../include/asterisk/lock.h:239 __ast_pthread_mutex_lock: chan_agent.c line 985 (agent_new): '&p->app_lock' was locked here.
Jan  1 18:41:34 ERROR[853]: ../include/asterisk/lock.h:236 __ast_pthread_mutex_lock: chan_agent.c line 1997 (__login_exec): Deadlock? waited 15 sec for mutex '&p->app_lock'?
----------------------------------------------------------

I receive these errors also during conversation between Agent and customer



By: Olle Johansson (oej) 2006-02-02 01:32:05.000-0600

Any updates? Still an issue?

/Housekeeping

By: Tilghman Lesher (tilghman) 2006-03-06 17:17:19.000-0600

Reporter seems to have lost interest.