Summary:ASTERISK-18907: AMI crashes on certain commands
Reporter:Sarikov Gabriel (gabriel)Labels:
Date Opened:2011-11-22 09:18:43.000-0600Date Closed:2011-12-20 09:06:18.000-0600
Versions: Frequency of
Environment:ubuntu 11.10 / ubuntu 11.04Attachments:
Description:when doing :
"dahdi show channels" or "mfcr2 show channels"
in putty the socket is foreced to closed by asterisk.
sip show channels working without problems.

Comments:By: Paul Belanger (pabelanger) 2011-11-22 10:34:05.416-0600

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

By: Sarikov Gabriel (gabriel) 2011-11-23 02:24:45.455-0600

it doesnt causing asterisk to crash and you can after that connect to ami without any problems.
the socket is closing on the last channel it showing.
it happened on 3 asterisk servers that i tried, it always happening.
the card we are using is digium TE420P quad-span T1/E1/J1 card 3.3V (PCI-Express) (rev 02).

By: Leif Madsen (lmadsen) 2011-12-01 14:18:45.269-0600

You can get a backtrace from a running process via the instructions Paul posted.

By: Leif Madsen (lmadsen) 2011-12-20 09:06:07.964-0600

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines