Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 04-30-2020, 02:26 AM   #1
mqtthiqs
Human being with feelings
 
Join Date: Apr 2020
Posts: 2
Default VST2 crashes Reaper with ffmpeg rendering backend

Hi, first post here.

I'm developing plugins, and I stumbled upon a bug that makes Reaper freeze when using the ffmpeg renderer combined with a certain use of the VST2 interface.

Steps to reproduce:
- build the attached JUCE project on MacOS (tested on Catalina and Windows 10)
- make a new session with 1 track and 1 empty clip on it
- insert the attached plugin on the track
- render with the ffmpeg backend
- Reaper shows the render window but hangs indefinitely (see attached screenshot)

The plugin works in playback and with all other rendering backends.
The plugin does nothing to the audio at all; what it does is change its declared latency in "prepareToPlay()". There are 2 successive calls to set the latency, to make sure that it will be effectively changed, and not just kept the same between playback and render. Another way to make it hang is to change the latency depending on the buffer size; since it is likely to change between playback and render, it will effectively have the same effect.
Attached Images
File Type: jpg screenshot.jpg (55.7 KB, 152 views)
Attached Files
File Type: zip ReaperBounceBug.zip (124.7 KB, 131 views)

Last edited by mqtthiqs; 04-30-2020 at 02:36 AM.
mqtthiqs is offline   Reply With Quote
Old 05-16-2020, 06:21 PM   #2
jmilausnic
Human being with feelings
 
Join Date: May 2020
Posts: 1
Default RE: VST2 crashes Reaper with ffmpeg rendering backend

First post here as well!

I had pretty much the same experience last night when trying to do a video export in Reaper with only one VST2 plug-in (Slate Digital's FG-X mastering processor) in my session. I found the hanging maddening until I discovered this thread. Thanks mqtthiqs for the assist, and to Cockos for correcting whatever issue is at fault!
jmilausnic is offline   Reply With Quote
Old 05-24-2020, 05:45 AM   #3
-nicolas-
Human being with feelings
 
Join Date: May 2014
Location: Toulouse, France
Posts: 111
Default

jmilausnic I would have liked to try your plugin but I don't have iLok. Impossible to use the demo version.
-nicolas- is offline   Reply With Quote
Old 01-15-2021, 06:12 AM   #4
-nicolas-
Human being with feelings
 
Join Date: May 2014
Location: Toulouse, France
Posts: 111
Default

This important bug is still pending. Maybe some dev could try the dummy plugin proposed by mqtthiqs ?
In my case, the problem appear with any rendering backend.
-nicolas- is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.