Summary: | ASTERISK-06659: res_musiconhold.so crashes on startup if pointed at directory w/ too many files | ||
Reporter: | Jared Smith (jsmith) | Labels: | |
Date Opened: | 2006-03-29 20:42:41.000-0600 | Date Closed: | 2006-03-30 11:58:31.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_musiconhold |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | If you change musiconhold.conf to use native files, and point it at /var/lib/asterisk/sounds: [default] mode=files directory=/var/lib/asterisk/sounds and have all the sounds from asterisk-sounds installed, res_musiconhold will cause a segfault on startup. I'm guessing that it's simply not able to cope with that many files in some buffer. ****** STEPS TO REPRODUCE ****** 1) Change musiconhold.conf as shown above 2) Install sounds from asterisk-sounds 3) Restart Asterisk 4) Watch it crash and burn... ****** ADDITIONAL INFORMATION ****** I have a full backtrace on another computer -- I can post it up here tomorrow if necessary. | ||
Comments: | By: Joshua C. Colp (jcolp) 2006-03-30 11:58:30.000-0600 Fixed in revision 16534 for the 1.2 branch, and 16535 for trunk. Thankies! |