yeah, i noticed that ages ago too - there always seems to be just one message left lying around after it closes. I think I mentioned it to jules, but I can’t remember what he said, or if we know why. But yeah, it’s been like that for a long time.
Heh, looks like you’ve been looking over my shoulder!
I was just about to say exactly the same thing… :shock:
Curiously, on my XP machine it only does it when using Plogue Bidule as the Vst Host - I haven’t noticed it when running under H. Seib’s VstHost…
[2476] Detected memory leaks!
[2476] Dumping objects ->
[2476] c:\devel\sandbox\juce\juce\src\juce_appframework\events\juce_message.h(81) :
[2476] {18761}
[2476] normal block at 0x0D592D80, 24 bytes long.
[2476] Data: < > 98 18 F2 0C CD CD CD CD CD CD CD CD CD CD CD CD
[2476] Object dump complete.
[2476] Detected memory leaks!
[2476] Dumping objects ->
[2476] c:\devel\sandbox\juce\juce\src\juce_appframework\events\juce_message.h(81) :
[2476] {18761}
[2476] normal block at 0x0D592D80, 24 bytes long.
[2476] Data: < > 98 18 F2 0C CD CD CD CD CD CD CD CD CD CD CD CD
[2476] Object dump complete.
[2476] WARNING: Visual Leak Detector detected memory leaks!
[2476] ---------- Block 16667 at 0x0D592D80: 24 bytes ----------
[2476] Call Stack:
[2476] c:\devel\sandbox\juce\juce\src\juce_appframework\events\juce_message.h (81): juce::Message::operator new
[2476] c:\devel\sandbox\juce\juce\src\juce_appframework\events\juce_timer.cpp (210): juce::InternalTimerThread::run
[2476] c:\devel\sandbox\juce\juce\src\juce_core\threads\juce_thread.cpp (71): juce::Thread::threadEntryPoint
[2476] c:\devel\sandbox\juce\juce\src\juce_core\threads\juce_thread.cpp (88): juce::juce_threadEntryPoint
[2476] c:\devel\sandbox\juce\juce\build\win32\platform_specific_code\juce_win32_threads.cpp (126): juce::threadEntryProc
[2476] f:\sp\vctools\crt_bld\self_x86\crt\src\threadex.c (348): _callthreadstartex
[2476] f:\sp\vctools\crt_bld\self_x86\crt\src\threadex.c (331): _threadstartex
[2476] 0x7C80B683 (File and line number not available):
[2476] GetModuleFileNameA
[2476] Data:
[2476] 98 18 F2 0C CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
[2476] CD CD CD CD A4 49 21 0D .....I!. ........
[2476]
[2476] Visual Leak Detector detected 1 memory leak
[2476] .
[2476] Visual Leak Detector is now exiting.
Plogue can be quite touchy about leaky pluggins - but I’ve never noticed it complain when running the Release version or under Plogue Bidue on OSX
… which makes me think it’s a race or timing issue (Bound to be true, if you study the stack trace :roll: ).
That looks to me like a harmless leak you can get sometimes, where there are still a few messages left on the system message queue when the quit message arrives. Fixing it would be tricky, because you’d need to make the quit message block until all pending messages have been delivered, and that could cause all kinds of mix-ups. If anyone has genuine problems with this, let me know and I’ll see if I can find a good solution.