Summary: | ASTERISK-07925: 'say load new' on console and absence of say.conf crashes asterisk | ||
Reporter: | Kenneth Shumard (kshumard) | Labels: | |
Date Opened: | 2006-10-12 20:41:16 | Date Closed: | 2006-10-13 11:22:41 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | say_cfg is null at line 142 of app_playback.c when /etc/asterisk/say.conf does not exist, so asterisk segfaults. Even an empty say.conf prevents this crash. ****** ADDITIONAL INFORMATION ****** (gdb) bt #0 0x080884f2 in ast_variable_browse (config=0x0, category=0xa6e95bc0 "en") at config.c:142 #1 0xa71af8b2 in do_say (a=0xa6e95dac, s=0xa6e95d6c "num:69", options=0x0, depth=0) at app_playback.c:167 #2 0xa71b01ba in say_number_full (chan=0x0, num=0, ints=0x0, lang=0x0, options=0x0, audiofd=0, ctrlfd=0) at app_playback.c:271 #3 0x08077b20 in ast_say_number (chan=0x0, num=0, ints=0x0, language=0x0, options=0x0) at channel.c:4622 #4 0x080b2ad9 in pbx_builtin_saynumber (chan=0x81be918, data=0xa6e99ff8) at pbx.c:5685 ASTERISK-1 0x080bb1df in pbx_extension_helper (c=0x81be918, con=<value optimized out>, context=0x81bea98 "thursclass", exten=0x81beae8 "7890", priority=2, label=0x0, callerid=0x81c69b8 "", action=E_SPAWN) at pbx.c:503 ASTERISK-2 0x080bc5e2 in __ast_pbx_run (c=0x81be918) at pbx.c:2162 ASTERISK-3 0x080bd31e in pbx_thread (data=0x0) at pbx.c:2475 ASTERISK-4 0x080e7890 in dummy_start (data=0x0) at utils.c:544 ASTERISK-5 0xa7fb9ced in start_thread () ASTERISK-6 0xa7e0bdee in clone () (gdb) | ||
Comments: | By: Joshua C. Colp (jcolp) 2006-10-13 11:22:41 Fixed in 1.4 as of revision 45051 and trunk as of revision 45052. Thanks Kenny! |