[Asterisk-Users] Avoided deadlock
Brian West
brian at bkw.org
Wed Dec 1 07:58:40 MST 2004
Repeat after me... WARNING != ERROR. This is just letting you know that it
walked the channel list and did avoid a dead lock by not trying to grab a
lock on a channel that's already locked.
if (ast_mutex_trylock(&l->lock)) {
if (retries < 10)
ast_log(LOG_DEBUG, "Avoiding initial deadlock for
'%s'\n", l->name);
else
ast_log(LOG_WARNING, "Avoided initial deadlock for '%s',
%d retries!\n", l->name, retries);
Read the code it tells you... channel.c
bkw
> I'd suggest posting a bug if you haven't already and if you have purchased
> any Digium products I would recommend calling them as well. The
> ast_channel_walk_locked error is a rare and hard to diagnose problem and
> the
> bug trackers and Digium would be the best people to help you.
More information about the asterisk-users
mailing list