[Home]

Summary:ASTERISK-00558: Asterisk crashes on phoning a Cisco 7910
Reporter:levaldes (levaldes)Labels:
Date Opened:2003-11-21 15:02:52.000-0600Date Closed:2004-09-25 02:52:04
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I've hooked up a Cisco 7910 to asterisk. I can speak but I can't hear anything. If I try and dial to it from a SIP phone (Budgetone, ATA186) then asterisk crashes, with no error messages. I tried with several 7910 firmware versions, the one that worked best is P00403030401 but still asterisk crashes.

****** ADDITIONAL INFORMATION ******

Extensions.conf
exten => 3010,1,Dial,SKINNY/100@cisco7910|25|r
exten => 3010,2,Voicemail(u3010)
exten => 3010,3,Voicemail(b3010)

Skinny.conf
[general]
port = 2000
bindaddr = 0.0.0.0
dateFormat = M-D-Y      
keepAlive = 120
context = default
allow = ulaw
allow = alaw

; Config for a 7910
[cisco7910]  
device=SEP0004DD1E5B88
mailbox=3010
linelabel="3010"
line => 100
callerid="Cisco 7910" <3010>
nat=yes

When extension 3010 is dialed by a SIP device
CLI>
   -- Executing Dial("SIP/levaldes-898f", "SKINNY/100@cisco7910|25|r") in new stack
CLI>
Disconnected from Asterisk server

Comments:By: tclark (tclark) 2003-11-24 10:08:24.000-0600

do you have a core file for this ?? can you post a bt from gdb
are you using a chan_local reference to dial see bugs 561, 570

By: levaldes (levaldes) 2003-11-24 20:09:10.000-0600

Next you will find the file requested.

Core was generated by `asterisk -vvvcdg'.
Program terminated with signal 11, Segmentation fault.
#0  0x41ea572b in ?? ()
#1  0x080590c0 in ?? ()
#2  0x41d2fb07 in ?? ()
#3  0x08061c0a in ?? ()
#4  0x08068e11 in ?? ()
ASTERISK-1  0x08063adc in ?? ()
ASTERISK-2  0x080694d1 in ?? ()
ASTERISK-3  0x40031484 in ?? ()

By: jerjer (jerjer) 2003-11-24 20:53:13.000-0600

I've used the 7910 for quite some time and have not experienced this use.

What firmware version you running?

By: jerjer (jerjer) 2003-11-24 20:53:53.000-0600

chan_skinny was not compiled with debug durned on...try again.

By: levaldes (levaldes) 2003-11-24 21:32:44.000-0600

I,m running P00405000101, but I tested all versions available.
P004J310
P00403010408
P00403020700
P00403030303
P00403030401
P00405000101, etc.

By: jerjer (jerjer) 2003-11-24 21:36:34.000-0600

I'm runing P00405000101.  I've been using a 7910 since day one and inbound calls never segfault here.

I need a valid backtrace to do anything.

By: levaldes (levaldes) 2003-11-24 21:54:58.000-0600

I compiled chan_skinny with debug turned on.
Same results:
Core was generated by `asterisk -vvvcdg'.
Program terminated with signal 11, Segmentation fault.
#0  0x41ea572b in ?? ()
#1  0x080590c0 in ?? ()
#2  0x41d2fb07 in ?? ()
#3  0x08061c0a in ?? ()
#4  0x08068e11 in ?? ()
ASTERISK-1  0x08063adc in ?? ()
ASTERISK-2  0x080694d1 in ?? ()
ASTERISK-3  0x40031484 in ?? ()

I'm not shure if I'm doing something wrong. I changed the line skinnydebug = 1
then I recompiled asterisk. But I'm still getting a system crash.

By: jerjer (jerjer) 2003-11-24 22:17:42.000-0600

yo smart guy, you have to compile with debug symbols not skinnydebug = 1.

See Asterisk top level Makefile

#Tell gcc to optimize the asterisk's code
#OPTIMIZE=-O6

#Include debug symbols in the executables (-g) and profiling info (-pg)
DEBUG=-g #-pg

By: levaldes (levaldes) 2003-11-24 22:55:56.000-0600

I changed the options,then recompiled and crash, same core info.
Asterisk's Makefile is as follows:
#Tell gcc to optimize the asterisk's code
OPTIMIZE=-O6
#Include debug symbols in the executables (-g) and profiling info (-pg)
DEBUG=-g #-pg

Core was generated by `asterisk -vvvcdg'.
Program terminated with signal 11, Segmentation fault.
#0  0x41ea572b in ?? ()
#1  0x080590c0 in ?? ()
#2  0x41d2fb07 in ?? ()
#3  0x08061c0a in ?? ()
#4  0x08068e11 in ?? ()
ASTERISK-1  0x08063adc in ?? ()
ASTERISK-2  0x080694d1 in ?? ()
ASTERISK-3  0x40031484 in ?? ()

By: jerjer (jerjer) 2003-11-25 00:45:47.000-0600

are you running the bt like this?

gdb asterisk core.<the pid of the core>

By: levaldes (levaldes) 2003-11-25 00:46:43.000-0600

I deleted the asterisk directory. I downloaded asterisk from CVS and recompiled it.
Now Asterisk don't crash but I am still getting one way audio. I can speak but I can't hear anything on the Cisco 7910

Can you help me with this issue?
Thanks,

By: jerjer (jerjer) 2003-12-08 23:04:16.000-0600

I've ran every skinny firmware version I can find on my 7910 and cannot duplicate this problem.

Make sure you have a VALID ip address in bindaddr.