My attempt to record sound with sox on Raspberry PI fails:pi@raspberrypi ~/tmp $ rec new.wavSegmentation faultAnd so does play:pi@raspberrypi ~/tmp $ play test.wavSegmentation faultYet it will convert files for me:pi@raspberrypi ~/tmp $ sox message.wav message.flac rate 16kpi@raspberrypi /tmp $ mplayer message.flac==========================================================================Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoderslibavcodec version 53.35.0 (external)Mismatching header version 53.32.2AUDIO: 16000 Hz, 2 ch, s16le, 160.0 kbit/31.26% (ratio: 20004->64000)Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)==========================================================================The debug information don't seem to provide a whole lot of info:pi@raspberrypi ~/tmp $ sox -V5 -d new.wavsox DBUG formats: opening format plugin `lsx_amr_nb_format_fn': library 0x1af6308, entry point 0x4038f2c8sox DBUG formats: opening format plugin `lsx_amr_wb_format_fn': library 0x1af6a80, entry point 0x4000ee10sox DBUG formats: opening format plugin `lsx_ao_format_fn': library 0x1af71e0, entry point 0x4003ebb8sox DBUG formats: opening format plugin `lsx_ffmpeg_format_fn': library 0x1af7918, entry point 0x403de914sox DBUG formats: opening format plugin `lsx_flac_format_fn': library 0x1afe1e0, entry point 0x419f70a8sox DBUG formats: opening format plugin `lsx_gsm_format_fn': library 0x1b0e570, entry point 0x403e8cf4sox DBUG formats: opening format plugin `lsx_lpc10_format_fn': library 0x1b0e978, entry point 0x41a5dcc4sox DBUG formats: opening format plugin `lsx_mp3_format_fn': library 0x1b0ed80, entry point 0x41a6bd1csox DBUG formats: opening format plugin `lsx_oss_format_fn': library 0x1b0fb00, entry point 0x41a77d74sox DBUG formats: opening format plugin `lsx_pulseaudio_format_fn': library 0x1b0ff70, entry point 0x41ac9a80sox DBUG formats: opening format plugin `lsx_sndfile_format_fn': library 0x1b153f8, entry point 0x41e98ec0sox DBUG formats: opening format plugin `lsx_vorbis_format_fn': library 0x1b15830, entry point 0x41ad49ecsox DBUG formats: opening format plugin `lsx_wavpack_format_fn': library 0x1b15c68, entry point 0x41ea57c8sox INFO oss: OSS driver only supports bytes and wordssox INFO oss: Forcing to signed linear wordSegmentation faultHere is some version data that might be helpful:pi@raspberrypi ~/tmp $ sox --versionsox:      SoX v14.4.0pi@raspberrypi ~/tmp $ cat ~/.asoundrcpcm.!default {    type asym    playback.pcm {        type plug        slave.pcm hw:2,0        }    capture.pcm {        type plug        slave.pcm hw:1,0        }}pi@raspberrypi ~/tmp $ uname -aLinux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l GNU/Linux
sox segmentation fault
audio;raspberry pi;segmentation fault;sox