StevenHickson / PiAUISuite

Raspberry PI AUI Suite
Other
695 stars 210 forks source link

Segmentation fault #15

Closed leus-phress closed 10 years ago

leus-phress commented 10 years ago

In a fresh install (just voicecommand) after one to three maximum successful commands I get a segmentation fault. How can I find out what's causing it and/or fix it?

pi@camPI ~ $ voicecommand -c
Opening config file...
running in continuous mode
verifying command as well
keyword duration is 2 and duration is 3
Found audio
error in original mmap
Aufnahme: WAVE 'stdin' : Signed 16 bit Little Endian, Rate: 16000 Hz, stereo
command: tts "Zu Befehl!" && bash /home/pi/ledstrip/./power
Segmentation fault
Segmentation fault
hebaishi commented 10 years ago

I'm getting 'stack smashing detected' every time I run the tts script.

hebaishi commented 10 years ago

Easy fix to mpg123 segmentation fault problem. Use a player known to work with the pi. Omxplayer! Easy!

StevenHickson commented 10 years ago

mpg123 is known to work with the pi. I use that rather than omxplayer because it loads up faster. What version are you using (mpg123 --version)? Mine is currently mpg123 1.14.4 and works fine

hebaishi commented 10 years ago

I have the same version - 1.14.4. But omxplayer works well and is easier to run - you just specify the filename , no need for any additional parameters.