Page 1 of 1

malloc bug in reverb module [FIXED 12.2.18]

Posted: Sat Feb 10, 2018 1:55 pm
by Koekepan
Memory allocation complaining about negative memory allocation in reverb module. (Memory allocation error Can't allocate -222040 bytes)

In the commandline window:

SunVox v1.9.3b Nov 25 2017 12:26:51; driver: ALSA; 32bit floating-point; sample rate: 192000
MEM ALLOC ERROR -222040 psynth_reverb


Sunvox file attached ... dammit, or not (edit) it's too big to attach.

There are only two reverb modules. Here are their settings (1.9.3b, Debian Jessie, X86_64):

8000
2b00
7d80
5800
8000
0
0
1
7400
6ed8

0
3180
8000
4680
8000
0
0
1
2000
3e58


I get the error message before I try to press play or anything.

Let me know what else you need to know.

Re: malloc bug in reverb module

Posted: Mon Feb 12, 2018 12:06 pm
by NightRadio
Thanks!
This is the integer overflow due to high sample rate in the Reverb module.
Will be fixed in 1.9.4.
Now please use the lower sample rate. 96000 for example.

Re: malloc bug in reverb module [FIXED 12.2.18]

Posted: Mon Feb 12, 2018 10:36 pm
by Koekepan
Great! Thanks for the quick turnaround. I'll use the workaround in the mean time.