Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash if compiling cpp-console with -O2 #556

Open
albanoandrea opened this issue May 19, 2021 · 0 comments
Open

Crash if compiling cpp-console with -O2 #556

albanoandrea opened this issue May 19, 2021 · 0 comments
Labels

Comments

@albanoandrea
Copy link

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

@albanoandrea albanoandrea changed the title Crash if compiling with -O2 Crash if compiling cpp-console with -O2 May 20, 2021
@dargilco dargilco added bug Something isn't working Devices Console Client (C++) labels May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants