[asterisk-bugs] [Asterisk 0010040]: random crashes in channel.c

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 5 14:10:22 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10040 
====================================================================== 
Reported By:                paradise
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10040
Category:                   Core/General
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.2  
SVN Revision (number only!): 70551 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             06-23-2007 00:43 CDT
Last Modified:              11-05-2007 14:10 CST
====================================================================== 
Summary:                    random crashes in channel.c
Description: 
i don't really know how these crashes happen?
but it occurs 3-6 times a day and is very annoying.
i have these problem for a long time and reverting back to old 1.2
versions didn't solve my problem.


====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 11-05-07 14:10  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 88709

U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r88709 | russell | 2007-11-05 14:10:17 -0600 (Mon, 05 Nov 2007) | 20 lines

Merge the last bit of changes from asterisk/team/russell/readq-1.4

The issue here is that the channel frame readq handling got broken when
the
code was converted to use the linked list macros.  It caused corruption of
the
list head and tail pointers.  So, I fixed up the usage of the linked list
macros and in passing, simplified the code.  I also documented what the
code
is doing, as it was a bit difficult to figure out at first.

This bug showed itself with crashes showing messed up head/tail pointers
for
the readq.  However, there are a couple of crashes that aren't quite as
obvious,
but I think may be related.  So, if your bug gets closed by this commit,
but
you still have a problem, please reopen or create a new bug report.

(closes issue http://bugs.digium.com/view.php?id=10936)
(closes issue http://bugs.digium.com/view.php?id=10595)
(closes issue http://bugs.digium.com/view.php?id=10368)
(closes issue http://bugs.digium.com/view.php?id=11084)
(closes issue http://bugs.digium.com/view.php?id=10040)
(closes issue http://bugs.digium.com/view.php?id=10840)

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-05-07 14:10  svnbot         Checkin                                      
11-05-07 14:10  svnbot         Note Added: 0073132                          
11-05-07 14:10  svnbot         Status                   feedback => assigned
11-05-07 14:10  svnbot         Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list