<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Unfortunately we're still kind of stuck with this
bug.</FONT></DIV>
<DIV><FONT face=Arial size=2>- Michael, Have you been able to generate a
coredump within the last 14 days? - Or maybe a sollution to the problem?
:-)</FONT></DIV>
<DIV><FONT face=Arial size=2>We've only had problem with agents unable to
login/logout in a testsetup when we were stressing * with
logins/logoffs</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/NRB</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=michael@ebctech.com href="mailto:michael@ebctech.com">Michael
Rose</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=nrb@dantronic-engineering.dk
href="mailto:nrb@dantronic-engineering.dk">nrb@dantronic-engineering.dk</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 08, 2005 2:04
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Asterisk-Dev] Deadlock ?
app_queue / chan_agent</DIV>
<DIV><BR></DIV>NRB, I'm having the same issue. However I was not able to
generate a core file to run gdb. We've also seen a problem where agents can't
login/logoff. I'm willing to pay a bounty to get these bugs
resolved.<BR><BR>Thanks<BR>Michael<BR><BR>NRB wrote:
<BLOCKQUOTE cite=mid023201c50d17$0b511800$0302a8c0@nn type="cite"><PRE wrap="">update:
Another incident: same symptomps - Queue seems to be dead until * is restarted
According til gdb dump2 (attached file), * is hanging in app_queue line 939
>From app_queue.c:
static int update_queue(struct ast_call_queue *q, struct member *member)
{
struct member *cur;
/* Since a reload could have taken place, we have to traverse the list to
be sure it's still valid */
ast_mutex_lock(&q->lock); <-----------------line 939
cur = q->members;
while(cur) {
if (member == cur) {
time(&cur->lastcall);
cur->calls++;
break;
}
cur = cur->next;
}
q->callscompleted++;
ast_mutex_unlock(&q->lock);
return 0;
}
I´ve tried to compile with the -DDEBUG_THREADS option (to be able to trace who isn't unlockin properly) but it does not seem go give me extra debugentries in the log - have I missed something?
By the way: what does this message fom gdb tell me?:
"Previous frame identical to this frame (corrupt stack?)"
/NRB</PRE><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
Asterisk-Dev mailing list
<A class=moz-txt-link-abbreviated href="mailto:Asterisk-Dev@lists.digium.com">Asterisk-Dev@lists.digium.com</A>
<A class=moz-txt-link-freetext href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</A>
To UNSUBSCRIBE or update options visit:
<A class=moz-txt-link-freetext href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</A></PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>