On 4/10/07, <b class="gmail_sendername">Vazir</b> <<a href="mailto:anton.vazir@gmail.com">anton.vazir@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Matthew,<br><br>I can give you an ssh access to a pc and will reproduce the<br>case in a few minutes<br><br>Or tell me how to get full backtrace of the treads.</blockquote><div><br><a href="http://www.voip-info.org/wiki/view/Asterisk+debugging">
http://www.voip-info.org/wiki/view/Asterisk+debugging</a><br><h2>Backtracing a core dump file in /tmp
</h2><ol><li> start Asterisk with safe_asterisk
</li><li> enter "gdb asterisk core.xxxx"
</li><li> enter "bt" while in gdb (or do a "bt full")
</li><li> enter "thread apply all bt"
</li></ol>Naturally you'll need to have gdb installed on your system
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Anton.<br><br>On 10 April 2007 21:09, Matthew Fredrickson wrote:<br>> It sounds like there might be a locking bug. If you can
<br>> get me a full backtrace of all the threads on the system<br>> and file a bug report on <a href="http://bugs.digium.com">bugs.digium.com</a>, I will take a<br>> look at it.<br>><br>> Matthew Fredrickson
<br>><br>> On Apr 9, 2007, at 5:41 AM, Vazir wrote:<br>> > Matthew,<br>> ><br>> > Made a testbed as of<br>> ><br>> > TESTPC < -- > PC_CHAN_SS7 < -- 4xe1 -- > PC_LIBSS7<br>> >
<br>> > So PC_CHAN_SS7 is test1 in logs below<br>> > and PC_LIBSS7 is test2<br>> ><br>> > Testpc generates huge load by placing call files to<br>> > the /var/spool/asterisk/outgoing and connecting local
<br>> > extension which plays "hello world" va SIP to<br>> > PC_CHAN_SS7 which than places an SS7 call to PC_LIBSS7.<br>> > TESTPC also records all of the placed calls by<br>> > Monitor() for further manual (audial) analysis .
<br>> ><br>> > LIBSS7 initially working and there is both-way audio in<br>> > all CIC. After a few minutes of the loaded operation it<br>> > fails signalling (chan_ss7 PC shows that it looses<br>> > connection) but even if I stop asterisk on PC_CHAN_SS7
<br>> > - the libss7 keeps thinking that there is connection.<br>> > Restart or any manipulations on PC_CHAN_SS7 brings no<br>> > result and to restore the link asterisk on PC_LIBSS7<br>> > must be restarted.
<br>> ><br>> > ...<br>> > Zap/96-1 160@incoming:3 Up<br>> > Echo() Zap/98-1 160@incoming:3 Up<br>> > Echo() Zap/100-1 160@incoming:3 Up<br>
> > Echo() Zap/102-1 160@incoming:3 Up<br>> > Echo() Zap/103-1 160@incoming:3 Up<br>> > Echo() Zap/104-1 160@incoming:3 Up<br>> > Echo() Zap/105-1
160@incoming:3<br>> > Up Echo() Zap/113-1 160@incoming:3<br>> > Up Echo() Zap/114-1 160@incoming:3<br>> > Up Echo() 93 active channels<br>> > 95 active calls
<br>> > test2*CLI><br>> ><br>> > test2*CLI> ss7 show linkset 1<br>> > SS7 linkset 1 status: Up<br>> > test2*CLI><br>> ><br>> ><br>> > test1*CLI> ss7 link status<br>
> > linkset test2, link l1, schannel 16, NOT_ALIGNED, rx:<br>> > 0, tx: 0/4, sentseq/lastack: 127/127, total 76720,<br>> > 76784 test1*CLI><br>> ><br>> > test1*CLI> core show channels
<br>> > Channel Location State<br>> > Application(Data)<br>> > 0 active channels<br>> > 0 active calls<br>> > test1*CLI><br>> > _______________________________________________
<br>> > --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>> ><br>> > asterisk-ss7 mailing list<br>> > To UNSUBSCRIBE or update options visit:<br>> ><br>
> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-ss7 mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7
</a><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-ss7 mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br><br clear="all"><br>-- <br>wasim h. baig | principal consultant | convergence pk | +92 300 8508070