[asterisk-bugs] [Zaptel 0010593]: Zaptel crashes kernel - zt_init_tone_state

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Sep 4 17:59:43 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10593 
====================================================================== 
Reported By:                jmhunter
Assigned To:                mattf
====================================================================== 
Project:                    Zaptel
Issue ID:                   10593
Category:                   zaptel (the module)
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     assigned
Zaptel Version:             1.4.5.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-29-2007 13:02 CDT
Last Modified:              09-04-2007 17:59 CDT
====================================================================== 
Summary:                    Zaptel crashes kernel - zt_init_tone_state
Description: 
When zaptel is compiled and installed on my system, any use of my TDM400P
card will eventually lead to a kernel crash - see attached trace.

The problem is reproducible by simply picking up a Zap channel handset. It
won't always crash straight away, though. Sometimes it takes longer to
crash, sometimes it's quicker - and I also get some really strange
"dialtones" varying from complete silence, through loud single tones, right
up to weird multiple tones similar to a fax or modem.

I don't believe this to be a hardware issue, as this system has been rock
solid under an older version of zaptel. The older zaptel versions no longer
compile cleanly under current kernels, however, so it's time for me to bite
the bullet and try to track down the cause of the crash.

Any suggestions gratefully received - where do I start?!
====================================================================== 

---------------------------------------------------------------------- 
 jmhunter - 09-04-07 17:59  
---------------------------------------------------------------------- 
OK, more detail that I have noticed.

Currently (and I'm not sure how this has come about) I have no dialtone at
all when picking up my Zap handsets - but crucially I haven't had a crash
recently.

Asterisk says:
[Sep  4 23:54:41] WARNING[3251]: chan_zap.c:6607 handle_init_event: Unable
to play dialtone on channel 3, do you have defaultzone and loadzone
defined?

I'm therefore surmising that there is something iffy in the dialtone
playback code, that ultimately results in a crash in zaptel. Again, please
let me know what info or help I can provide to track this down. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-04-07 17:59  jmhunter       Note Added: 0069942                          
======================================================================




More information about the asterisk-bugs mailing list