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

snd_mixer_selem_get_playback_volume_ranger: Assertion `elem' failed. #71

Closed
ghost opened this issue May 4, 2014 · 2 comments
Closed
Labels
Milestone

Comments

@ghost
Copy link

ghost commented May 4, 2014

When running candybar-git as well, as the debug variant specified in your docs, I get this error while launching candybar: candybar: simple.c:282: snd_mixer_selem_get_playback_volume_ranger: Assertion elem' failed.`, which is promptly followed by candybar aborting.

Something of note: I use an external DAC and I've noticed that when It's not plugged in I don't get the error, but I do get this instead: ERROR could not attach card 'default' to mixer (-2) (volume.c), although unlike the other error candybar doesn't abort.

For the record I use ALSA, in case that's important.

@Lokaltog Lokaltog added the bug label May 4, 2014
@Lokaltog
Copy link
Owner

Lokaltog commented May 4, 2014

It should definitely not crash, so this is a bug (the second error message is intended behavior, it basically logs that your DAC isn't connected). I'm not doing sanity checks at every step of the way in the volume widget (which I realize should be done). I'll look into adding more sanity checks, in the meantime you can disable the volume widget, this should resolve your crashing issue until this is fixed.

@Lokaltog Lokaltog added this to the 0.1 milestone May 4, 2014
@ghost
Copy link
Author

ghost commented May 5, 2014

Thanks, that works fine.

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

1 participant