speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can or does speech-dispatcher recover from a crash


From: Brett Bergquist
Subject: Can or does speech-dispatcher recover from a crash
Date: Mon, 25 Nov 2024 13:09:28 -0500

Currently I have speech-dispatcher being started via the client library (C) and autospawn.   I recently ran into an issue where speech-dispatcher crashed because of a NULL pointer, which has been addressed, but there might be other issues lurking.   When speech-dispatcher crashed, our screen reader client application failed to output any more speech without us knowing about it.

Looking at the source, it appears the autospawn is a one time thing and there is no mechanism to determine that the process has crashed and restart.   I see that there is a systemd service that I might use, but I also note that the documentation says 
It used to be possible to run Speech Dispatcher as a system service under a special user (and still is, with some limitations), but this mode of execution is strongly discouraged.
I am having trouble finding where the limitations are documented and the discouragement reasons.   The reason why I would be interested in the systemd approach as I can have it restart the service as needed.

Note that this is a single user application (a kiosk) so I am not worried about any issues with different users.

Can anyone provide any insight of further documentation on the limitations?

--
Brett M. Bergquist
Distinguished Member Technical Staff
EntryPoint Communications LLC
30 Waterside Drive, Suite 100
Farmington, CT 06032

Phone: (203) 206 3542
Email: bbergquist@epc-instore.com

CONFIDENTIALITY NOTICE
This message (including any attachments) contains information that may be confidential.  If you are the intended recipient, and the message is marked confidential, by opening the message, you accept responsibility for treating the message and information contained in the message as confidential, including not distributing or disclosing its contents to any third party without the express written consent of the sender.  If you are not the intended recipient, you may not read, print, retain, use, copy, distribute or disclose to anyone the message or any information contained in the message, and such conduct is prohibited.  If you have received this message in error, please advise the sender by reply e-mail, and destroy all copies of the original message (including any attachments).  Sender reserves all rights of confidentiality and privilege, and nothing regarding this e-mail or its transmission is intended to be a waiver thereof.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]