testing chan_ss7 ws libss7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 10, 2007, at 10:28 PM, Vazir wrote:

> I know how to debug a core. The condition mentioned is not
> coredumping. Another question if I need to compile asterisk
> with "DO_CRASH" to get core - if it so, just please
> confirm.

No, no.  You can attach to it with gdb while it is in the state where 
it doesn't accept calls, and get a backtrace on all the threads.  That 
might help me to know why it's not accepting calls.

Matthew Fredrickson

>
>
> On ?? April ???? ??:??, Wasim Baig wrote:
>> On ?/??/??, Vazir <anton.vazir@xxxxxxxxx> wrote:
>>> Matthew,
>>>
>>> I can give you an ssh access to a pc and will reproduce
>>> the case in a few minutes
>>>
>>> Or tell me how to get full backtrace of the treads.
>>
>> http://www.voip-info.org/wiki/view/Asterisk+debugging
>> Backtracing a core dump file in /tmp
>>
>>    ?. start Asterisk with safe_asterisk
>>    ?. enter "gdb asterisk core.xxxx"
>>    ?. enter "bt" while in gdb (or do a "bt full")
>>    ?. enter "thread apply all bt"
>>
>> Naturally you'll need to have gdb installed on your
>> system
>>
>> Anton.
>>
>>> On ?? April ???? ??:??, Matthew Fredrickson wrote:
>>>> It sounds like there might be a locking bug.  If you
>>>> can get me a full backtrace of all the threads on the
>>>> system and file a bug report on bugs.digium.com, I
>>>> will take a look at it.
>>>>
>>>> Matthew Fredrickson
>>>>
>>>> On Apr ?, ????, at ?:?? AM, Vazir wrote:
>>>>> Matthew,
>>>>>
>>>>> Made a testbed as of
>>>>>
>>>>> TESTPC < -- > PC_CHAN_SS? < -- ?xe? -- > PC_LIBSS?
>>>>>
>>>>> So PC_CHAN_SS? is test? in logs below
>>>>> and PC_LIBSS? is test?
>>>>>
>>>>> Testpc generates huge load by placing call files to
>>>>> the /var/spool/asterisk/outgoing and connecting
>>>>> local extension which plays "hello world" va SIP to
>>>>> PC_CHAN_SS? which than places an SS? call to
>>>>> PC_LIBSS?. TESTPC also records all of the placed
>>>>> calls by Monitor() for further manual (audial)
>>>>> analysis .
>>>>>
>>>>> LIBSS? initially working and there is both-way
>>>>> audio in all CIC. After a few minutes of the loaded
>>>>> operation it fails signalling (chan_ss? PC shows
>>>>> that it looses connection) but even if I stop
>>>>> asterisk on PC_CHAN_SS? - the libss? keeps thinking
>>>>> that there is connection. Restart or any
>>>>> manipulations on PC_CHAN_SS? brings no result and
>>>>> to restore the link asterisk on PC_LIBSS? must be
>>>>> restarted.
>>>>>
>>>>> ...
>>>>> Zap/??-?             ???@incoming:?       Up
>>>>> Echo() Zap/??-?             ???@incoming:?       Up
>>>>>  Echo() Zap/???-?            ???@incoming:?
>>>>> Up Echo() Zap/???-?            ???@incoming:?
>>>>> Up Echo() Zap/???-?            ???@incoming:?
>>>>> Up Echo() Zap/???-?            ???@incoming:?
>>>>> Up Echo() Zap/???-?            ???@incoming:? Up
>>>>>   Echo() Zap/???-?            ???@incoming:? Up
>>>>>  Echo() Zap/???-?            ???@incoming:? Up
>>>>> Echo() ?? active channels
>>>>> ?? active calls
>>>>> test?*CLI>
>>>>>
>>>>> test?*CLI> ss? show linkset ?
>>>>> SS? linkset ? status: Up
>>>>> test?*CLI>
>>>>>
>>>>>
>>>>> test?*CLI> ss? link status
>>>>> linkset test?, link l?, schannel ??, NOT_ALIGNED,
>>>>> rx: ?, tx: ?/?, sentseq/lastack: ???/???, total
>>>>> ?????, ????? test?*CLI>
>>>>>
>>>>> test?*CLI> core show channels
>>>>> Channel              Location             State
>>>>> Application(Data)
>>>>> ? active channels
>>>>> ? active calls
>>>>> test?*CLI>
>>>>> _______________________________________________
>>>>> --Bandwidth and Colocation provided by Easynews.com
>>>>> --
>>>>>
>>>>> asterisk-ss? mailing list
>>>>> To UNSUBSCRIBE or update options visit:
>>>>>
>>>>> http://lists.digium.com/mailman/listinfo/asterisk-s
>>>>> s?
>>>>
>>>> _______________________________________________
>>>> --Bandwidth and Colocation provided by Easynews.com
>>>> --
>>>>
>>>> asterisk-ss? mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>
>>>> http://lists.digium.com/mailman/listinfo/asterisk-ss?
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> asterisk-ss? mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>
>>> http://lists.digium.com/mailman/listinfo/asterisk-ss?
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-ss? mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-ss?


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux