pierreguillot / Camomile

An audio plugin with Pure Data embedded that allows to load and to control patches
GNU General Public License v3.0
892 stars 62 forks source link

Duplicating Camomile Plugin causes Crash in Ableton #245

Closed yaboypax closed 3 years ago

yaboypax commented 3 years ago

Only when working in Ableton, I can't duplicate the plugin itself or the track the plugin is on without the DAW crashing, It doesn't happen in Reaper and I don't understand why

Windows 10 Ableton Live 9 pd 0.51.3 Chamomile 1.0.6

pierreguillot commented 3 years ago

Please, give further information as explained in the template when you create a new issue, otherwise, it might be difficult to help you...

By the way, the last stable Camomile version is 1.0.7, and the last Ableton Live version is 11. Did you try to update?

yaboypax commented 3 years ago

The patch itself has an lfo that starts with a loadbang, I assume that might have something to do with it. When I place my plugin on a track in Ableton everything works fine, but when I try to Ctrl+D Duplicate either the plugin or the track (part of my workflow includes constantly duplicating tracks and deleting the clip content) the entire DAW crashes.

It doesn't happen with any of the examples, just my patch. Also only in Ableton. In Reaper both the plugin and the track can be duplicated with no crash. I think it is the same with Camomile 1.0.7 and I'm probably not updating Ableton any time soon.

pierreguillot commented 3 years ago

The patch itself has an lfo that starts with a loadbang, I assume that might have something to do with it.

An LFO can be implemented in many ways (but I don't understand how you can start an LFO with a loadbang) and I guess there are other objects such as a dac for instance. Can't you share the patch?

It doesn't happen with any of the examples, just my patch.

Perhaps, you're doing something bad in your patch and Reaper is simply more conciliant than Live? The best thing to do would be to share your patch.

I think it is the same with Camomile 1.0.7

Did you test? Or is it an assumption?

yaboypax commented 3 years ago

I first wrapped it in 1.0.7 and then went to 1.0.6 and had the same problem, just because I wasn't sure if it had anything to do with the newest update. It is probably more likely, as you said, that it is a problem with my patch with which Reaper is more forgiving than Ableton. I just don't quite understand what.

paxdelayimage

pierreguillot commented 3 years ago

Can you put your plugin into a zip file and upload it? I'm test it and try to debug it.

yaboypax commented 3 years ago

PaxDelay.zip

pierreguillot commented 3 years ago

I tried on Windows 10 with Ableton Live 9.7.7 and Ableton Live 11 and didn't encounter any issue. In an default new document, I add the plugin to the first track then duplicated the track. When the application crashes, you should receive a crash report, it would be useful to share it. And perhaps the crash depends on the block size, the sample rate, or your hardware. But as I still don't have any of this information, I'm sorry but I can't help you.

pierreguillot commented 3 years ago

I close this issue due to a lack of information and activity but feel free to reopen it if necessary.