[asterisk-bugs] [Zaptel 0010593]: Zaptel crashes kernel - zt_init_tone_state
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Jan 11 15:33:12 CST 2008
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=10593
======================================================================
Reported By: jmhunter
Assigned To: kpfleming
======================================================================
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: 01-11-2008 15:33 CST
======================================================================
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?!
======================================================================
----------------------------------------------------------------------
svnbot - 01-11-08 15:33
----------------------------------------------------------------------
Repository: zaptel
Revision: 3667
U branches/1.4/zaptel-base.c
U branches/1.4/zconfig.h
------------------------------------------------------------------------
r3667 | kpfleming | 2008-01-11 15:33:11 -0600 (Fri, 11 Jan 2008) | 8 lines
Implement atomic reference counting for tone zone structures, ensuring
that they will never be freed while they are in use by a channel or as the
default zone.
In passing, improve default zone handling so that there will never be a
default zone value pointing to a zone that hasn't been loaded yet.
(closes issue http://bugs.digium.com/view.php?id=10593)
Reported by: jmhunter
Patches were provided by Matti, but a different solution was chosen
------------------------------------------------------------------------
http://svn.digium.com/view/zaptel?view=rev&revision=3667
Issue History
Date Modified Username Field Change
======================================================================
01-11-08 15:33 svnbot Checkin
01-11-08 15:33 svnbot Note Added: 0076745
01-11-08 15:33 svnbot Assigned To mattf => kpfleming
======================================================================
More information about the asterisk-bugs
mailing list