malloc bug in reverb module [FIXED 12.2.18]

Found a bug? Post it here.
Post Reply
Koekepan
Posts: 263
Joined: Thu Dec 05, 2013 4:56 am

malloc bug in reverb module [FIXED 12.2.18]

Post 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.
User avatar
NightRadio
Site Admin
Posts: 3944
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: malloc bug in reverb module

Post 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.
Koekepan
Posts: 263
Joined: Thu Dec 05, 2013 4:56 am

Re: malloc bug in reverb module [FIXED 12.2.18]

Post by Koekepan »

Great! Thanks for the quick turnaround. I'll use the workaround in the mean time.
Post Reply