Summary: | ASTERISK-08304: [patch] segmentation fault when unable to play files | ||
Reporter: | Richard Miller (ulogic) | Labels: | |
Date Opened: | 2006-12-07 10:41:11.000-0600 | Date Closed: | 2006-12-07 12:21:44.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_musiconhold |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) res_musiconhold.diff | |
Description: | There is a problem in the error path in res_musiconhold.c. I have a separate issue where music on hold files are not playing, but once it runs through all the eligible files, there is a segmentation fault due to a null pointer. ****** ADDITIONAL INFORMATION ****** [Dec 7 11:28:02] WARNING[13263]: file.c:554 ast_openstream_full: File /var/lib/asterisk/mohmp3/fpm-calm-river does not exist in any format [Dec 7 11:28:02] WARNING[13263]: res_musiconhold.c:243 ast_moh_files_next: Unable to open file '/var/lib/asterisk/mohmp3/fpm-calm-river': No such file or directory [Dec 7 11:28:10] WARNING[13263]: file.c:554 ast_openstream_full: File /var/lib/asterisk/mohmp3/fpm-world-mix does not exist in any format [Dec 7 11:28:10] WARNING[13263]: res_musiconhold.c:243 ast_moh_files_next: Unable to open file '/var/lib/asterisk/mohmp3/fpm-world-mix': No such file or directory [Dec 7 11:28:14] WARNING[13263]: file.c:554 ast_openstream_full: File /var/lib/asterisk/mohmp3/fpm-sunshine does not exist in any format [Dec 7 11:28:14] WARNING[13263]: res_musiconhold.c:243 ast_moh_files_next: Unable to open file '/var/lib/asterisk/mohmp3/fpm-sunshine': No such file or directory Segmentation fault | ||
Comments: | By: Jason Parker (jparker) 2006-12-07 12:06:03.000-0600 Can you (briefly) explain what is causing the crash here? By: Russell Bryant (russell) 2006-12-07 12:21:43.000-0600 This issue has been resolved in the 1.2 branch, 1.4 branch, and the trunk in revisions 48356, 48357, and 48358. Thanks!! |