Skip to content
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

Installed snap on ElementaryOS (Loki) and failed when init. sound #47

Open
megatux opened this issue Jul 25, 2018 · 9 comments
Open

Installed snap on ElementaryOS (Loki) and failed when init. sound #47

megatux opened this issue Jul 25, 2018 · 9 comments
Labels

Comments

@megatux
Copy link

megatux commented Jul 25, 2018

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.
@Shtucer
Copy link

Shtucer commented Jul 26, 2018

Have same error on Ubuntu 18.04

@Zaraka
Copy link

Zaraka commented Aug 1, 2018

+1 on fedora 27 and 28. Seems to be some problem in snapcraft.yaml

@arky
Copy link
Contributor

arky commented Apr 18, 2019

+1 This bug is reproducible in Ubuntu 18.10 as well.

@arky
Copy link
Contributor

arky commented Apr 18, 2019

Possibility related to this upstream snapcraft bug https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1663029

@arky
Copy link
Contributor

arky commented Apr 19, 2019

@bigfug Please kindly mark this as high priority bug that blocks people from using Fugio. Thanks!

@bigfug bigfug added the bug label Apr 23, 2019
@CyprienRicque
Copy link

CyprienRicque commented Sep 14, 2020

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


@BobyCow
Copy link

BobyCow commented Sep 26, 2020

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...

@ycollet
Copy link

ycollet commented Sep 26, 2020

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

@C138
Copy link

C138 commented Jul 31, 2021

+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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants