Armbian aarch64/arm64 orangepi4-lts speechsdk segmentation fault
See original GitHub issueMy OS
Description: Ubuntu 22.04.2 LTS
Linux orangepi4-lts 6.1.30-rockchip64 #3 SMP PREEMPT Wed May 24 16:32:53 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
**** List of CAPTURE Hardware Devices ****
card 0: rockchipes8316c [rockchip-es8316c], device 0: ff880000.i2s-ES8316 HiFi ES8316 HiFi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Python 3.10.6
demo.py I used
#!/usr/bin/env python3
import azure.cognitiveservices.speech as speechsdk
recognizer = speechsdk.KeywordRecognizer()
model_file="kws.table"
model = speechsdk.KeywordRecognitionModel(model_file)
result_future = recognizer.recognize_once_async(model)
print("Say something starting with the keyword...")
result = result_future.get()
if result.reason == speechsdk.ResultReason.RecognizedKeyword:
print("Recognized keyword: {}".format(result.text))
elif result.reason == speechsdk.ResultReason.Canceled:
cancellation_details = result.cancellation_details
print("Recognition canceled: {}".format(cancellation_details.reason))
if cancellation_details.reason == speechsdk.CancellationReason.Error:
print("Error details: {}".format(cancellation_details.error_details))
stop_future = recognizer.stop_recognition_async()
print("Stopping...")
stopped = stop_future.get()
crashed
$ python3 demo.py
Say something starting with the keyword...
Segmentation fault
Initial bug was closed and wasn’t resolved
Issue Analytics
- State:
- Created 2 months ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Segfault with GCC in Armbian [Solved]. - ROCK64
I'm trying to compile version 10.2 of gcc. On one of them the full build completes without problem; on the other I get...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Gstreamer requires installation of additional plugins as listed in https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/cpp/linux/compressed-audio-input otherwise there will be SPXERR_GSTREAMER_INTERNAL_ERROR like seen in the log. Verified the linked sample works on Raspberry Pi 4 after the prerequisites are met.
@dzianisv Could you please share the sample code? From the log, I see SpeechSynthesizer being used and error happens in Gstreamer initialization.