Cognitive-Services-Voice-Assistant
Cognitive-Services-Voice-Assistant copied to clipboard
Crash if compiling cpp-console with -O2
This issue is for a: (mark with an x
)
- [x] bug report
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
On linux (both Ubuntu 20.04 x64 and a custom yocto arm64). Building with -O2 gcc optimization generate a crash. No problem going back to -O0.
Any log messages given by the failure
18:39:53.192 Initialized with live mic. Enter 'x' to exit. New status : Initializing 18:39:53.192 Configuration loaded. Creating connector... 18:39:53.208 Connector created 18:39:53.208 Initializing Audio Player... Format = Mono16khz16bit *** stack smashing detected ***: terminated Aborted (core dumped)
OS and Version?
Ubuntu 20.04, Custom Yocto
Versions
SpeechSDK-Linux-1.16.0/1.17.0