Summary: | ASTERISK-08877: Not setting input[output]_device in alsa.conf causes a crash | ||
Reporter: | bender (bender) | Labels: | |
Date Opened: | 2007-02-25 23:04:00.000-0600 | Date Closed: | 2007-06-30 09:20:06 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_alsa |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) output.txt | |
Description: | Hello, Tried using our overhead paging system (amplifier/speakers connected to audio output on sound card) after upgrading to 1.4-trunk-r56232 and crashed asterisk. Previously when using * 1.2 my alsa.conf contained 'make samples' defaults as follows: ; To set which ALSA device to use, change this parameter ;input_device=hw:0,0 ;output_device=default and everything worked fine. Now that I am using 1.4, these settings cause a segfault when paging is used. Noticed the following error when loading Asterisk: == Parsing '/etc/asterisk/alsa.conf': Found [Feb 25 23:14:23] ERROR[21434]: chan_alsa.c:385 alsa_card_init: set_channels failed: Invalid argument So I updated alsa.conf as follows: ; To set which ALSA device to use, change this parameter input_device=default output_device=default and now there are no errors on startup, and paging works fine as expected with no segfaults. Thanks. ****** ADDITIONAL INFORMATION ****** core dump attached | ||
Comments: | By: Russell Bryant (russell) 2007-02-26 14:43:11.000-0600 This has been fixed in 1.4 and trunk in revisions 56888 and 56889. Thanks! |