[asterisk-bugs] [Asterisk 0019293]: CCSS Crash introduced in new SVN [318867]

Asterisk Bug Tracker noreply at bugs.digium.com
Sat May 14 16:38:07 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19293 
====================================================================== 
Reported By:                irroot
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19293
Category:                   Core/CallCompletionSupplementaryServices
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 318867 
Request Review:              
====================================================================== 
Date Submitted:             2011-05-13 09:13 CDT
Last Modified:              2011-05-14 16:38 CDT
====================================================================== 
Summary:                    CCSS Crash introduced in new SVN [318867]
Description: 
Program terminated with signal 11, Segmentation fault.
https://issues.asterisk.org/view.php?id=0  0x080955a5 in ast_cc_set_param
(params=0xfc187c0, name=0x368 <Address
0x368 out of bounds>, 
    value=0x1 <Address 0x1 out of bounds>) at ccss.c:385
385     ccss.c: No such file or directory.
        in ccss.c
====================================================================== 

---------------------------------------------------------------------- 
 (0134931) irroot (reporter) - 2011-05-14 16:38
 https://issues.asterisk.org/view.php?id=19293#c134931 
---------------------------------------------------------------------- 
my money is on this code here introduced in 318549 the auth peer is been
unrefed for removal we must ref it while in use earlier on perhaps

@@ -23751,6 +23797,10 @@
                return 0;
        }

+       /* At this point, if we have an authpeer (which we have to have to
get here) we should unref
+        * it since if we have actually used it, we have reffed it when
p->relatedpeer was set. */
+       authpeer = unref_peer(authpeer, "unref pointer into
(*authpeer)");
+
        /* Add subscription for extension state from the PBX core */
        if (p->subscribed != MWI_NOTIFICATION  && p->subscribed !=
CALL_COMPLETION && !resubscribe) {
                if (p->stateid > -1) { 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-14 16:38 irroot         Note Added: 0134931                          
======================================================================




More information about the asterisk-bugs mailing list