[HELP] Ouch... error while writing audio data: : Broken pipe

hi everyone :

I found this problem

I start asterisk by issue :
service asterisk start

if I run this command again while asterisk is still running, I will got a error message like this

/usr/sbin/safe_asterisk: line 42: 3696 Segmentation fault (core dumped) ${ASTSBINDIR}/asterisk ${CLIARGS} ${ASTARGS} >&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.

after this happened, I am not able to start asterisk again, it will tell me the error
Ouch… error while writing audio data: : Broken pipe

anyone knows how to fix this(it happened on both 1.2.0 and 1.2.1)

thanks in advance

try to give the ouput when u key in “asterisk -vvvvvvgc”


I had a similar problem, and i solved it doing a backup of my /etc/asterisk , and then i made “make samples” (in /usr/src/). After that, I replace /etc/asterisk with my conf files (except modules.conf).