[asterisk-bugs] [Asterisk 0011034]: Segfault in app_voicemail, inside c-client

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Oct 19 09:52:53 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11034 
====================================================================== 
Reported By:                dwhite
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11034
Category:                   Applications/app_voicemail
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-18-2007 22:25 CDT
Last Modified:              10-19-2007 09:52 CDT
====================================================================== 
Summary:                    Segfault in app_voicemail, inside c-client
Description: 
I'm encountering some segfaults while running Asterisk, about 2 times a day
on a fairly low use server. It has been statically compiled with c-client.

I'm using the following versions:

Asterisk 1.4.11 (which IMAP_STORE enabled for app_voicemail)
c-client from version imap-2006k.DEV.SNAP-0709111641
I'm connecting to cyrus-imap version 2.3.8 on the same server

I should note that I've modified the app_voicemail.c file slightly, which
was necessary for use with cyrus.

After each crash, Asterisk restarts automatically (using asterisk_safe),
so the problem doesn't hold over through the restart.

I submitted this report on the imap-uw list, which contained the following
discussion, which includes output from a core dump:

http://mailman1.u.washington.edu/pipermail/imap-uw/2007-October/001705.html

I believe there's a missing initialization of vms.mailstream

A small patch is attached.
====================================================================== 

---------------------------------------------------------------------- 
 dwhite - 10-19-07 09:52  
---------------------------------------------------------------------- 
> Has applying that patch caused the crashes to stop? 

I'll be applying this patch tonight during a maintenance window.

I'll let it run for a few days and let you know how it works. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-19-07 09:52  dwhite         Note Added: 0072268                          
======================================================================




More information about the asterisk-bugs mailing list