I kept on experiencing this when I have patched the asterisk to use with sangoma.
Disconnected from Asterisk server
/usr/sbin/safe_asterisk: line 57: 1565 Segmentation fault (core dumped) ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
I was quite bummed by this. I used 1.2.31 to patch it with sangoma and it kept on crashing so I reverted it back to 1.2.30.2 with the sangoma patch thinking 1.2.31.1 sucks and still crashes

*note even sangoma call analyzer on a quad core/win2003 server kept on crashing but im talking with them about it.