Summary:ASTERISK-21329: chan_alsa: patch for crash when audio device in unexpected state
Reporter:Keiichiro Kawasaki (kawasaki)Labels:
Date Opened:2013-03-28 09:31:09Date Closed:2013-04-13 22:02:27
Versions:SVN Frequency of
Environment:fedora 16 x86_64 ThinkPad T420Attachments:( 0) chan_alsa.diff
( 1) full.log
Description:if asterisk's PC is called when not ready or any have error for audio device[1], asterisk is core dump.                                                          

exten => 10,1,Dial(console/dsp,20,)
exten => 10,n,Hangup()

full log is attached.
Comments:By: Keiichiro Kawasaki (kawasaki) 2013-03-28 09:34:40.790-0500

full debug log and my fixed

By: Rusty Newton (rnewton) 2013-03-28 12:19:50.295-0500

We can't use your patch because it wasn't marked as a contribution and you don't have a signed contributor's license agreement. Please completely read through the [asterisk issue guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines#AsteriskIssueGuidelines-PatchandCodesubmission], sign the agreement, re-upload the patch marked as a contribution.

Also per the guidelines - please remove your large chunk of log output from the *description* field and attach it as a file. A small, few line excerpt is fine.

By: Keiichiro Kawasaki (kawasaki) 2013-03-29 09:51:25.956-0500

Sorry, I treid attaching file again.

By: Rusty Newton (rnewton) 2013-04-02 16:23:09.460-0500

Thanks for the patch. Be sure to have someone else test it and confirm on here that testing worked with SVN of 1.8 and 11.

chan_alsa is extended support, so it will wait on a community developer to review it and push it through. Thanks!