[asterisk-bugs] [LibPRI 0013931]: Asterisk 1.6.0 crash with new Digium B410p wcb4xxp dahdi driver

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 23 10:57:09 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13931 
====================================================================== 
Reported By:                francesco_r
Assigned To:                mattf
====================================================================== 
Project:                    LibPRI
Issue ID:                   13931
Category:                   General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 157601 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-19 08:55 CST
Last Modified:              2009-01-23 10:57 CST
====================================================================== 
Summary:                    Asterisk 1.6.0 crash with new Digium B410p wcb4xxp
dahdi driver
Description: 
I'm trying the new dahdi wcb4xxp driver but Asterisk 1.6.0 (SVN r157601)
crash often. I use the bri in PtMP with Libpri 1.4.7 and
dahdi-linux-complete-2.1.0-rc4+2.1.0-rc4. This is my system.conf:
loadzone = it
defaultzone = it
span=1,1,0,ccs,ami
bchan=1,2
hardhdlc=3
span=2,1,0,ccs,ami
bchan=4,5
hardhdlc=6
span=3,1,0,ccs,ami
bchan=7,8
hardhdlc=9
span=4,1,0,ccs,ami
bchan=10,11
hardhdlc=12

And this chan_dahdi.conf:
[channels]
language = it
switchtype = euroisdn
signalling = bri_cpe_ptmp
pridialplan = local
prilocaldialplan = dynamic
nationalprefix = 0
internationalprefix = 00
priindication = outofband
echocancel=yes
echocancelwhenbridged=no
faxdetect=both
overlapdial=yes
immediate = no
context=from-pstn
group = 0
channel => 1-2
group = 1
channel => 4-5
group = 2
channel => 7-8
group = 3
channel => 10-11

The crash happens every time i disconnect and reconnect the cable.
====================================================================== 

---------------------------------------------------------------------- 
 (0098579) mattf (administrator) - 2009-01-23 10:57
 http://bugs.digium.com/view.php?id=13931#c98579 
---------------------------------------------------------------------- 
Are there any changes against this version of libpri that you're running
that are not in the stock version?  I can't see any good way (in the
backtrace) that the pri pointer argument in q921_transmit be different than
the vpri pointer argument in t200_expire...  In fact, this looks very much
like it could be stack corruption of some sort, or an CPU optimized or
modified version of the code.

We compile without CPU optimization flags by default, so if that is
enabled somehow, that might cause funniness like this as well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-23 10:57 mattf          Note Added: 0098579                          
======================================================================




More information about the asterisk-bugs mailing list