Skip to content

Espeakup frequently goes silent claiming "error: Device or resource busy" #62

@XLTechie

Description

@XLTechie

I recently tried installing Debian Bookworm with the supposedly talking installer. Unfortunately, I found that the installer stopped talking within the first five minutes of the installation, sometimes within the first minute, no matter how often I retried. Finally finished with sighted assistance over video call, which was a trial for both of us.

On the running system, over the past month, I have continued to have the problem where the system randomly stops speaking after a few seconds or minutes of screen reading.

I have tracked this problem to ESpeakup. Both the version shipped with Bookworm, and the compiled version I made based on git sources from August, 2025.

Espeakup: v0.90-14-gdc1f1b9
System: Linux 6.1.0-38-amd64

When run in the foreground, it gives the following as the only (rather unhelpful) error, when it stops speaking:

error: Device or resource busy

Which device? Which resource? Not specified. I imagine it is the FIFO being used to communicate with Espeak-NG, but I suppose it could be happening during the read from the softsynth as well.

This error will be emitted several times in a row, and speech doesn't always stop after the first one.
When speech stops, Espeakup hangs, it does not immediately exit. It takes a SIGKILL to kill it, meaning even SystemD hangs when trying to restart it.

As a result, to make sure I always have speech after, at most, a 30 second silence, I have a script that does a killall -9 espeakup every 30 seconds, whereupon SystemD restarts it instantly. But this is very disruptive, and often causes a line of output to be truncated while reading, if Espeakup hasn't yet failed in that cycle. Other times it will stop speaking right after the latest restart, and I will have to wait the 30 seconds for speech to return.

I thought this might be related to #45, but it is only hanging, and there is an error. It is not dying, even if I would prefer it did. If it just self-terminated on this device error, SystemD would respawn it, and this would be less of a headache (though still annoying).

Additionally, when Espeakup restarts, speech fades in. It is fast, but it is as if it has to overcome a noise gate before starting. That only began with the latest compile, not the Bookworm shipped version as far as I can remember.

It's sad to be getting this behavior on a new Intel 64-bit I7 system with 32GB RAM and multiple cores, when Espeakup ran fine for decades on the former system in this environment: a 1.2GHZ 32-bit laptop with 2GB RAM, one core, and very old libraries.

Happy to try to provoke a core dump or do something else that might provide more debugging information. This is getting intolerable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions