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

Modifying more than 1 key in equalizer results in malloc(): invalid size (unsorted) #385

Closed
chrisdruta opened this issue Sep 18, 2020 · 2 comments

Comments

@chrisdruta
Copy link
Contributor

When/where was the bug introduced?
Fresh compile of master (0.7.2 tag) on my arm-based raspberry pi 4.

Describe the bug
Cava with stock settings (alsa input) works fine.

Uncommented 1 key in equalizer config and it still works and applies the multiplier.

Uncomment any more and it and program aborts with malloc(): invalid size (unsorted)

To Reproduce
0. Using alsa config: (haven't tried anything else, just a usb mic on my raspberry pi 4)

method = alsa
source = hw:Device,0
  1. Configure multiple keys in equalizer
  2. run
  3. ???
  4. See error

Expected behavior
Cava should run and apply the custom equalizer settings

Desktop (please complete the following information):

  • OS: Raspberry Pi OS (32-bit) Lite (Minimal image based on Debian Buster)
  • Version August 2020

Terminal emulator

  • Windows terminal running arch wsl2 sshed into raspberry pi 4
karlstav added a commit that referenced this issue Sep 19, 2020
@karlstav
Copy link
Owner

looks like a bad memory allocation, test it now @chrisdruta

@chrisdruta
Copy link
Contributor Author

Works, thanks man. Awesome tool 💯

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

No branches or pull requests

2 participants