[Home]

Summary:ASTERISK-14469: Asterisk crashing in cmd voicemail
Reporter:dovid (dovid)Labels:
Date Opened:2009-07-15 08:52:43Date Closed:2011-06-07 14:08:02
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) back_tace.txt
( 1) backtrace_full.log
Description:When using cmd voicmeail with lang=he if I call in to hear messages, press 1 for the first message and in middle or at the end of the message I pres 6 asterisk crashes. kevin on irc said "<@kpfleming> so that code called ast_log with a format of 'curmsg: %s\n' but did not provide a string parameter to substitute into the log message".
Comments:By: Mark Michelson (mmichelson) 2009-07-15 09:15:57

This is a bit strange because there is no "he" support for app_voicemail in 1.4.21.1 from what I can tell.

Assuming, for a moment, that the version number reported here is incorrect, I don't think this is related to ASTERISK-14370. That issue is due to passing a NULL pointer to a printf-like function. In this case, we know that the pointer passed to ast_log is non-NULL because of the if statement directly above.

By: dovid (dovid) 2009-07-15 09:31:52

Fat finger syndrome: The box is running 1.4.22.1.

By: Jason Parker (jparker) 2009-08-20 15:02:02

One of two things must be true here, unless gdb is changing things..

1) You're not using 1.4.
2) You backported/modified this feature in 1.4.

The ast_log in 1.4 has never existed as "curmsg: %s\n" - it has always used %d (though trunk did use %s I believe).

These log messages are already gone in trunk and 1.6.  Would it be acceptable to just remove them in 1.4 also?

By: dovid (dovid) 2009-09-08 12:30:50

I am using 1.4. I do not believe that I modified anything (I did install the Hebrew prompts from asterisk.org.il but that does not modify the source). I will install from source and try again.

Edit: I did install asterisk-gui 2.0. Could that have anything to do with it ?



By: dovid (dovid) 2009-09-09 05:49:24

I did a fresh install and now it is working. I am not sure what happened last time but I am 99% sure that I did not change the source (I would have thought of that first). If I am able to reproduce I will update this ticket.

By: Leif Madsen (lmadsen) 2009-09-30 09:38:09

Closed per the reporter. Thanks for the feedback!