Join GitHub today
[ASR] snips-asr Crashes at Startup (Kaldi -> ParseOptions -> Read?) #156
What's the issue?
I'm running Snips in a Docker container, which I know is not officially supported, so maybe the crash is specific to Docker environment. I will try this without Docker container and see if I can reproduce the crash.
The issue seems to be intermittent and happens only on startup. Once started, the service doesn't seem to crash until next restart.
Use Cases Impacted
How to reproduce
Version and Environment
My start script:
I pushed the image to
Here is my Dockerfile:
To reproduce I just run
I was able to reproduce it on two separate machines with similar alsaconfig.
We are still investigating this one,
Meanwhile, I think I found a workaround.
The number of thread used is half the number of cpu cores available.
A solution (seems to work on my side) is to keep them as low as 2 maximum using
Can you try that on your side?
Another information, the crash only occurs when the host is a X86 debian like linux (ubuntu, debian)
Running debian stretch docker on MacOS, I cannot reproduce the issue.
I can reproduce a similiar issue by using injection. Using the this addon snips-openhab will cause the following log every time on start up.
System: Docker, based on debian:stretch-slim
Snips Installed Packages:
I´m going to try the workaround mentioned by @cpoisson and will feedback later.
Update: The workaround did the trick. Thank you!