Fugio
Fugio copied to clipboard
Installed snap on ElementaryOS (Loki) and failed when init. sound
DBUG: Initialising plugin PortAudioPlugin
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
fugio: src/hostapi/alsa/pa_linux_alsa.c:1454: BuildDeviceList: Assertion `devIdx < numDeviceNames' failed.
Have same error on Ubuntu 18.04
+1 on fedora 27 and 28. Seems to be some problem in snapcraft.yaml
+1 This bug is reproducible in Ubuntu 18.10 as well.
Possibility related to this upstream snapcraft bug https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1663029
@bigfug Please kindly mark this as high priority bug that blocks people from using Fugio. Thanks!
Hello, Is there any way to avoid this bug on fedora 31 ?
Details Error :
ALSA lib conf.c:3956:(snd_config_update_r) Cannot access file /home/conan/w/cci_PR-2769/2/63042086-9bb1-4c28-9913-ffbb78cb09c5/.conan/data/libalsa/1.1.9/_/_/package/d48130e0dd76369b1338deb3b2372c5a649f9f2d/share/alsa/alsa.conf
ALSA lib control.c:1375:(snd_ctl_open_noupdate) Invalid CTL hw:0
babel: sources/src/hostapi/alsa/pa_linux_alsa.c:1453: BuildDeviceList: Assertion `devIdx < numDeviceNames' failed.
[1] 25349 abort (core dumped)
Code :
#include <stdio.h>
#include <math.h>
#include "portaudio.h"
#ifdef WIN32
#include <windows.h>
#if PA_USE_ASIO
#include "pa_asio.h"
#endif
#endif
int i, numDevices, defaultDisplayed;
const PaDeviceInfo *deviceInfo;
PaStreamParameters inputParameters, outputParameters;
PaError err;
err = Pa_Initialize(); // Error happens there
Hello, Is there any way to avoid this bug on fedora 31 ?
Details Error :
ALSA lib conf.c:3956:(snd_config_update_r) Cannot access file /home/conan/w/cci_PR-2769/2/63042086-9bb1-4c28-9913-ffbb78cb09c5/.conan/data/libalsa/1.1.9/_/_/package/d48130e0dd76369b1338deb3b2372c5a649f9f2d/share/alsa/alsa.conf ALSA lib control.c:1375:(snd_ctl_open_noupdate) Invalid CTL hw:0 babel: sources/src/hostapi/alsa/pa_linux_alsa.c:1453: BuildDeviceList: Assertion `devIdx < numDeviceNames' failed. [1] 25349 abort (core dumped)
Code :
#include <stdio.h> #include <math.h> #include "portaudio.h" #ifdef WIN32 #include <windows.h> #if PA_USE_ASIO #include "pa_asio.h" #endif #endif
int i, numDevices, defaultDisplayed; const PaDeviceInfo *deviceInfo; PaStreamParameters inputParameters, outputParameters; PaError err; err = Pa_Initialize(); // Error happens there
I have the exact same problem...
Here: https://copr.fedorainfracloud.org/coprs/ycollet/linuxmao/ There is a Fugio package for Fedora 31. It's based on Fugio-3.1.0. You can have a look at the steps I followed for the build in the spec file here: https://raw.githubusercontent.com/ycollet/fedora-spec/master/fugio/fugio.spec
+1 This bug is reproducible in Ubuntu 18.10 as well.
+1 / Ubuntu 20.10 /
/snap/bin/fugio -v Fugio 3.0.0 (x86_64/x86_64)