Hi,

(Mail reordered)
On Thu, Jul 19, 2007 at 03:55:36AM +0000, MM _ wrote:
> Jul 18 13:38:10 WARNING[3060685712]: chan_sip.c:1468 retrans_pkt: Maximum 
> retries exceeded on transmission [EMAIL PROTECTED] for seqno 
> 19250 (Critical Response)
> Jul 18 13:38:10 WARNING[3060685712]: chan_sip.c:1490 retrans_pkt: Hanging 
> up call [EMAIL PROTECTED] - no reply to our critical packet.
>  == Spawn extension (procycle, 221, 2) exited non-zero on 
> 'SIP/procycle-b5f070a8'

That looks as if you do have packetloss, which causes excessive
retransmits.

> Core was generated by `/usr/local/sbin/callweaver -vvvdgc'.
> Program terminated with signal 11, Segmentation fault.
> (gdb) bt full
> #0  0xb7e87460 in pthread_mutex_lock () from 
> /lib/tls/i686/cmov/libpthread.so.0
> No symbol table info available.
> #1  0xb67aacb0 in retrans_pkt (data=0x811a1a0)
>    at ../include/callweaver/lock.h:585
>        cur = <value optimized out>
>        iabuf = "\b\016w?\001\000\000\000\000\000\000\000????"
>        reschedule = <value optimized out>
>        __PRETTY_FUNCTION__ = "retrans_pkt"

I did do a quick glance only, and iam no locking guru at all (indeed, i
hate locking :), but iam confused on this particular code:

chan_sip.c:1490
opbx_log(LOG_WARNING, \
 "Hanging up call %s - no reply to our critical packet.\n", pkt->owner->callid);
opbx_queue_hangup(pkt->owner->owner);
opbx_mutex_unlock(&pkt->owner->owner->lock);

channel.c:743
return opbx_queue_frame(chan, &f);

channel.c:683
opbx_mutex_lock(&chan->lock);

Double Lock?

As brave one, one might try to mutex_unlock()ing before queue_hangup in
chan_sip.c in chan_sip.c, instead of vice versa and report if that
helps.

As i said, iam no locking and worse, no threads guru :-)


The problem can probably be reproduced by establishing a SIP call and
then iptables -j DROP the RTP session for that call.


sincerely,
-- 
http://www.ukeer.de/about.html

"The Net interprets censorship as damage and routes around it." (John Gilmore)
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to