[Home]

Summary:ASTERISK-09759: crash after changing folder and saving message
Reporter:dtyoo (dtyoo)Labels:
Date Opened:2007-06-25 23:10:29Date Closed:2007-06-26 07:30:04
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt_06-26-2007.txt
Description:Yet another variation on the type of bug initially reported in 9527 that still is causing some crashes on our servers.  This one re-produces under 1.2.19.  Here are the steps to re-produce.

First get a mailbox into this starting state (2 messages in new messages folder, 1 in the Cust1 folder):

INBOX/
     msg0000.txt
     msg0000.wav
     msg0001.txt
     msg0001.wav
Cust1/
     msg0000.txt
     msg0000.wav

Then take the following steps:

1.  Call into voicemail, authenticate.
2.  Press 1 to listen to new messages.
3.  Press 7 to delete the message.
4.  Press 6 for last message.  Listen to the whole message.  The crash does not happen unless you listen to the whole message and get the options afterwards.
5.  Press * for help.
6.  Press 2 to change folders.
7.  Press 5 to change to Cust1 folder.
8.  Press 9 to save message.  At this point you will get the following message in the console:

Jun 25 23:50:15 WARNING[28606]: app_voicemail.c:1431 copy: Unable to open /var/spool/asterisk/voicemail/xxxx/xxxx/Cust1/msg-001.txt in read-only mode

9.  Press 0 to save in the new messages folder.
10.  Hangup and asterisk will crash.

****** ADDITIONAL INFORMATION ******

Cent OS 4.4, Dell 860, SIP
Comments:By: Tilghman Lesher (tilghman) 2007-06-26 07:30:04

Fixed in 71750, merged in 71751, 71752.