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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jan 11 12:43:55 CST 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11034 
====================================================================== 
Reported By:                dwhite
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   11034
Category:                   Applications/app_voicemail
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             10-18-2007 22:25 CDT
Last Modified:              01-11-2008 12:43 CST
====================================================================== 
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.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-11-08 12:43  putnopvut      Status                   assigned => resolved
01-11-08 12:43  putnopvut      Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list