|Summary:||crash while recording training data|
|Product:||[Applications] simon||Reporter:||Florian Reinhard <florian.reinhard>|
|Component:||simon||Assignee:||Peter Grasch <me>|
|Latest Commit:||http://commits.kde.org/simon/9988ec08a3fd9248c129e222a12d4327d1029dfd||Version Fixed In:|
Description Florian Reinhard 2012-11-02 20:55:52 UTC
Comment 1 Peter Grasch 2012-11-07 11:25:32 UTC
Can you describe what you did in a little bit more detail? Are you using pulseaudio or plain ALSA? Could you please also post the log at ~/.kde4/share/apps/simon/logs/protocol-<date>. Your backtrace indicates there were some problems with the actual recording.
Comment 2 Peter Grasch 2012-11-12 12:34:40 UTC
Git commit 9988ec08a3fd9248c129e222a12d4327d1029dfd by Peter Grasch. Committed on 12/11/2012 at 13:03. Pushed by grasch into branch 'master'. Adding locking to sound input client M +17 -5 simonlib/simonsound/simonsoundinput.cpp M +3 -1 simonlib/simonsound/simonsoundinput.h M +8 -8 simonlib/simonsound/simonsoundoutput.cpp M +3 -3 simonlib/simonsound/simonsoundoutput.h http://commits.kde.org/simon/9988ec08a3fd9248c129e222a12d4327d1029dfd
Comment 3 Peter Grasch 2012-11-12 12:36:10 UTC
I identified a race condition in the sound input layer that could potentially lead to the described crash. This commit should fix the problem but as I never experienced the crash myself (probably related to my audio configuration that appears to have very predictable timing), I can't really verify it. If you still get the crash, please re-open the bug. Thanks.