[asterisk-bugs] [Asterisk 0013821]: [patch] segfault checking messages using mwi events

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 19 14:08:59 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13821 
====================================================================== 
Reported By:                DEA
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   13821
Category:                   Channels/chan_skinny
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-10-31 23:01 CDT
Last Modified:              2009-01-19 14:08 CST
====================================================================== 
Summary:                    [patch] segfault checking messages using mwi events
Description: 
I have been chasing a regular crash involves chan_skinny and IMAP enable
voicemail.

I'm following the bugs related to the c-client related crashes, which may
help, but the more I looked at the code that I ported from chan_zap to 
chan_skinny to enable mwi events, the more convinced I became that it was
just
not right.

So I dove into chan_sip to get a handle on how mwi event callbacks should
be
used and developed the attached patch.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
parent of           0013182 [patch] Missed Calls is cleared from ph...
====================================================================== 

---------------------------------------------------------------------- 
 (0098140) svnbot (reporter) - 2009-01-19 14:08
 http://bugs.digium.com/view.php?id=13821#c98140 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 169367

U   trunk/channels/chan_skinny.c

------------------------------------------------------------------------
r169367 | mvanbaak | 2009-01-19 14:08:59 -0600 (Mon, 19 Jan 2009) | 15
lines

Redo the event-based MWI in chan_skinny.

Dan saw regular segfaults with the old implementation and
rewrote it to make it really eventbased.
I altered it to be trunk compatible and wedhorn gave some feedback
and ideas how to make it even better.

(closes issue http://bugs.digium.com/view.php?id=13821)
Reported by: DEA
Patches:
      chan_skinny-mwi-events.txt uploaded by DEA (license 3)
Tested by: mvanbaak, DEA

"no probs by me" from wedhorn

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

http://svn.digium.com/view/asterisk?view=rev&revision=169367 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-19 14:08 svnbot         Checkin                                      
2009-01-19 14:08 svnbot         Note Added: 0098140                          
======================================================================




More information about the asterisk-bugs mailing list