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
bluealsa: Couldn't initialize controller thread: Bad file descriptor #149
Comments
It happened to me when bluealsa segfaulted (which I'm still trying to reproduce in gdb). It left the socket in /var/run/bluealsa directory. A workaround is to check if this directory exists and if it does – remove it and try starting bluealsa again. |
Hi, |
Try running bluealsa with:
It will produce a log of syscalls in /tmp/bluealsa.log. Attach it somewhere, maybe it will tell what happened. |
I was also getting this error, I was able to resolve it by running |
Here is the generated Logfile: |
@Tutmanichtun While that command is running, in a separate terminal tab (ctrl+shift+T) run |
The script works fine, thanks. :) Thanks for your support. :) |
Looking at the code there doesn't seem to be any difference between removing the directory and its contents (see From the log file it looks like you didn't remove /var/run/bluealsa and it still contained hci0 socket created during previous bluealsa run.
|
Hi,
i got the above message when i try to start bluealsa on my RaspberryPi 3.
The Error message is the same than in issue 126, but the described solution didn't work for me. Still getting the same message.
Because i want to use the Raspberry as a Bluetooth speaker, i wrote
BLUEALSA_CONF="-p a2dp-sink"
into that file.
I followed this guide, and it worked until a few weeks ago, i don't know what happened in the meantime. :/
Regards,
Tutmanichtun
The text was updated successfully, but these errors were encountered: