JUCE 8 - Memory Leak

Hi,

I just created a project from scratch using JUCE 8, Projucer and the Plugin Basic template. The project generates and opens fine, but I’m getting this memory leak, building in debug. I’m using the latest version of Visual Studio.

Detected memory leaks!
Dumping objects ->
{3068} normal block at 0x0000015AB1B03CA0, 6 bytes long.
 Data: <en-us > 65 6E 2D 75 73 00 
{3067} normal block at 0x0000015AB1B02AD0, 16 bytes long.
 Data: < c  Z    <  Z   > B0 63 B0 B1 5A 01 00 00 A0 3C B0 B1 5A 01 00 00 
{2868} normal block at 0x0000015AB1C91B90, 2 bytes long.
 Data: <c > 63 00 
{2867} normal block at 0x0000015AB1B063B0, 16 bytes long.
 Data: <            Z   > 00 00 00 00 00 00 00 00 90 1B C9 B1 5A 01 00 00 
{2864} normal block at 0x0000015AB1B1A180, 216 bytes long.
 Data: <                > 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
{2844} normal block at 0x0000015AB19B4660, 184 bytes long.
 Data: <                > 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
Object dump complete.

I’m seeing the same thing on Windows 11, VS 2019, stand-alone builds, triggering memory leak warnings when closing the app in debug moe… This is happening after switching from JUCE 7.0.12 to JUCE 8.

Likewise Windows 10, VS2022 when switched to Juce 8.
Detected memory leaks!
Dumping objects →
{6973} normal block at 0x000001C3785A4F10, 3 bytes long.
Data: 65 6E 00
{6972} normal block at 0x000001C371DBF390, 16 bytes long.
Data: < q OZx > D0 FE DB 71 C3 01 00 00 10 4F 5A 78 C3 01 00 00
{6222} normal block at 0x000001C371DBFC00, 6 bytes long.
Data: 65 6E 2D 67 62 00
{6221} normal block at 0x000001C371DBFED0, 16 bytes long.
Data: < _x q > 20 A5 5F 78 C3 01 00 00 00 FC DB 71 C3 01 00 00
{4338} normal block at 0x000001C371D85AA0, 2 bytes long.
Data: 63 00
{4337} normal block at 0x000001C3785FA520, 16 bytes long.
Data: < Z q > 00 00 00 00 00 00 00 00 A0 5A D8 71 C3 01 00 00
{4334} normal block at 0x000001C371DDBEA0, 216 bytes long.
Data: < > 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{4314} normal block at 0x000001C3785C90D0, 184 bytes long.
Data: < > 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Object dump complete.

Thanks for reporting, there’s a fix for this issue on the develop branch:

See also:

1 Like