denis-stepanov / advent

Vent intrusive TV ads
GNU General Public License v3.0
14 stars 1 forks source link

Assertion `hostApi->info.defaultInputDevice < hostApi->info.deviceCount' failed #22

Open denis-stepanov opened 2 years ago

denis-stepanov commented 2 years ago

Sometimes when running on Fedora:

(advent-pyenv) $ advent -t nil
AdVent v1.2b1
TV control is nil
TV starts unmuted
Started 4 listening thread(s)
...
python3.7: src/common/pa_front.c:235: InitializeHostApis: Assertion `hostApi->info.defaultInputDevice < hostApi->info.deviceCount' failed.
Aborted (core dumped)
(advent-pyenv) $

Restart just works. Must be some PulseAudio issue.

denis-stepanov commented 2 years ago

Another PulseAudio issue (maybe not related):

OO:o::o:ooo:o::o:ooooooooo::ooo::ooo:oooooooooo::o:::oo:oo:oo:::ooo:o::::::::o:::::::oo:::::o::::::o::o::::::::::
oo::::::o:ooo:::::oooo:ooooooo:o:ooo:oo::o:oo::oo:ooo:::ooooooo:ooo:o:o::::::::::ooo:oo::::::::ooo:ooooo::::
:oo::::::::::::oo:oo:o:::::::o::o:::::::::ooooo:::::::::o::::
:oAssertion 're->data || re->memblock' failed at pulsecore/pstream.c:862, function do_read(). Aborting.
Aborted