[Csnd] DSSI/LADSPA opcodes crash
| Date | 2017-11-05 00:54 |
| From | Tarmo Johannes |
| Subject | [Csnd] DSSI/LADSPA opcodes crash |
Hi,
Could someone try, if DSSI/LADSPA opcodes work for you - for me
dssiactivate.csd from manual and similar crash (backtrace from gdb):
Output from Csound and backtrace:
(Csound 6.10, linux)
---
--Csound version 6.10 (double samples) Oct 26 2017
UnifiedCSD: /home/tarmo/tarmo/csound/proov/dssiactivate.csd
STARTING FILE
Creating options
Creating orchestra
closing tag
Creating score
rtaudio: ALSA module enabled
rtmidi: ALSA Raw MIDI module enabled
Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
graphics suppressed, ascii substituted
0dBFS level = 32768.0
DSSI4CS: Loading first instance.
DSSI4CS: About to load descriptor function for plugin 0 of 1.
DSSI4CS: LADSPA Plugin Detected
DSSI4CS: About to instantiate plugin.
DSSI4CS: Plugin instantiated.
DSSI4CS: Found 0 control ports for: 'C* PhaserI - Mono phaser'
DSSI4CS: Found 0 audio ports for: 'C* PhaserI - Mono phaser'
DSSI4CS: Created port array.
DSSI4CS: Created 0 control ports for: 'C* PhaserI - Mono phaser'
DSSI4CS: Created 0 audio ports for: 'C* PhaserI - Mono phaser'
DSSI4CS: Init Done.
============Plugin 0========================================
Plugin Type: LADSPA
Plugin UniqueID: 1775
Label: PhaserI
Name: C* PhaserI - Mono phaser
Maker: Tim Goetze |
| Date | 2017-11-05 13:54 |
| From | John ff |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
For me it fails to load caps.so so not sure if I can help. Sent from TypeApp On Nov 5, 2017, 00:55, at 00:55, Tarmo Johannes |
| Date | 2017-11-05 13:58 |
| From | John ff |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
Update -- my keyboard needs replacing! I get a set fault. Now to investigate Sent from TypeApp On Nov 5, 2017, 13:55, at 13:55, John ff |
| Date | 2017-11-05 21:00 |
| From | jpff |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
Another update; the code that allocates the memory to hold the audio date for the plugin is not being called. No idea why yet but the code is convoluted especially if one does not know anything about dssi/ladspa. Hope to have better news later ==John ff On Sun, 5 Nov 2017, Tarmo Johannes wrote: > Hi, > > Could someone try, if DSSI/LADSPA opcodes work for you - for me > dssiactivate.csd from manual and similar crash (backtrace from gdb): > > Output from Csound and backtrace: > (Csound 6.10, linux) > --- > --Csound version 6.10 (double samples) Oct 26 2017 > > UnifiedCSD: /home/tarmo/tarmo/csound/proov/dssiactivate.csd > STARTING FILE > Creating options > Creating orchestra > closing tag > Creating score > rtaudio: ALSA module enabled > rtmidi: ALSA Raw MIDI module enabled > Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s > sorting score ... > ... done > Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s > graphics suppressed, ascii substituted > 0dBFS level = 32768.0 > DSSI4CS: Loading first instance. > DSSI4CS: About to load descriptor function for plugin 0 of 1. > DSSI4CS: LADSPA Plugin Detected > DSSI4CS: About to instantiate plugin. > DSSI4CS: Plugin instantiated. > DSSI4CS: Found 0 control ports for: 'C* PhaserI - Mono phaser' > DSSI4CS: Found 0 audio ports for: 'C* PhaserI - Mono phaser' > DSSI4CS: Created port array. > DSSI4CS: Created 0 control ports for: 'C* PhaserI - Mono phaser' > DSSI4CS: Created 0 audio ports for: 'C* PhaserI - Mono phaser' > DSSI4CS: Init Done. > ============Plugin 0======================================== > Plugin Type: LADSPA > Plugin UniqueID: 1775 > Label: PhaserI > Name: C* PhaserI - Mono phaser > Maker: Tim Goetze |
| Date | 2017-11-05 21:02 |
| From | Tarmo Johannes |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
Thanks for looking at it, John! tarmo On Sunday, November 5, 2017 11:00:37 PM EET you wrote: > Another update; the code that allocates the memory to hold the audio date > for the plugin is not being called. No idea why yet but the code is > convoluted especially if one does not know anything about dssi/ladspa. Hope > to have better news later > ==John ff > > On Sun, 5 Nov 2017, Tarmo Johannes wrote: > > Hi, > > > > Could someone try, if DSSI/LADSPA opcodes work for you - for me > > dssiactivate.csd from manual and similar crash (backtrace from gdb): > > > > Output from Csound and backtrace: > > (Csound 6.10, linux) > > --- > > --Csound version 6.10 (double samples) Oct 26 2017 > > > > UnifiedCSD: /home/tarmo/tarmo/csound/proov/dssiactivate.csd > > STARTING FILE > > Creating options > > Creating orchestra > > closing tag > > Creating score > > rtaudio: ALSA module enabled > > rtmidi: ALSA Raw MIDI module enabled > > Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s > > sorting score ... > > > > ... done > > > > Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s > > graphics suppressed, ascii substituted > > 0dBFS level = 32768.0 > > DSSI4CS: Loading first instance. > > DSSI4CS: About to load descriptor function for plugin 0 of 1. > > DSSI4CS: LADSPA Plugin Detected > > DSSI4CS: About to instantiate plugin. > > DSSI4CS: Plugin instantiated. > > DSSI4CS: Found 0 control ports for: 'C* PhaserI - Mono phaser' > > DSSI4CS: Found 0 audio ports for: 'C* PhaserI - Mono phaser' > > DSSI4CS: Created port array. > > DSSI4CS: Created 0 control ports for: 'C* PhaserI - Mono phaser' > > DSSI4CS: Created 0 audio ports for: 'C* PhaserI - Mono phaser' > > DSSI4CS: Init Done. > > ============Plugin 0======================================== > > Plugin Type: LADSPA > > Plugin UniqueID: 1775 > > Label: PhaserI > > Name: C* PhaserI - Mono phaser > > Maker: Tim Goetze |
| Date | 2017-11-05 21:20 |
| From | jpff |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
Found ad fixed in git On Sun, 5 Nov 2017, Tarmo Johannes wrote: > Hi, > > Could someone try, if DSSI/LADSPA opcodes work for you - for me > dssiactivate.csd from manual and similar crash (backtrace from gdb): > > Output from Csound and backtrace: > (Csound 6.10, linux) > --- > --Csound version 6.10 (double samples) Oct 26 2017 > > UnifiedCSD: /home/tarmo/tarmo/csound/proov/dssiactivate.csd > STARTING FILE > Creating options > Creating orchestra > closing tag > Creating score > rtaudio: ALSA module enabled > rtmidi: ALSA Raw MIDI module enabled > Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s > sorting score ... > ... done > Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s > graphics suppressed, ascii substituted > 0dBFS level = 32768.0 > DSSI4CS: Loading first instance. > DSSI4CS: About to load descriptor function for plugin 0 of 1. > DSSI4CS: LADSPA Plugin Detected > DSSI4CS: About to instantiate plugin. > DSSI4CS: Plugin instantiated. > DSSI4CS: Found 0 control ports for: 'C* PhaserI - Mono phaser' > DSSI4CS: Found 0 audio ports for: 'C* PhaserI - Mono phaser' > DSSI4CS: Created port array. > DSSI4CS: Created 0 control ports for: 'C* PhaserI - Mono phaser' > DSSI4CS: Created 0 audio ports for: 'C* PhaserI - Mono phaser' > DSSI4CS: Init Done. > ============Plugin 0======================================== > Plugin Type: LADSPA > Plugin UniqueID: 1775 > Label: PhaserI > Name: C* PhaserI - Mono phaser > Maker: Tim Goetze |
| Date | 2017-11-05 21:45 |
| From | Tarmo Johannes |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
Great! caps.so gets loaded and works flawlessly. There are still some plugins that crash. I don't know what you have in your computer but here are some that fail: adsr_1653.so alias_1407.so amp.so In fact I could not find any at the moment that works besides caps.so The Csound output (on amp.so, FAILURE): --- DSSI4CS: Loading first instance. DSSI4CS: About to load descriptor function for plugin 0 of 1. DSSI4CS: LADSPA Plugin Detected DSSI4CS: About to instantiate plugin. DSSI4CS: Plugin instantiated. DSSI4CS: Found 0 control ports for: 'PC&' DSSI4CS: Found 1 audio ports for: 'PC&' DSSI4CS: Created port array. DSSI4CS: Queried port descriptor. DSSI4CS: Queried port descriptor. DSSI4CS: Queried port descriptor. csound command: Segmentation fault --- on caps.so (SUCCESS): --- DSSI4CS: Loading first instance. DSSI4CS: About to load descriptor function for plugin 0 of 1. DSSI4CS: LADSPA Plugin Detected DSSI4CS: About to instantiate plugin. DSSI4CS: Plugin instantiated. DSSI4CS: Found 10 control ports for: 'C* Eq - 10-band equalizer' DSSI4CS: Found 2 audio ports for: 'C* Eq - 10-band equalizer' DSSI4CS: Created port array. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal audio port 0 for Port 0. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 0 for Port 1. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 1 for Port 2. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 2 for Port 3. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 3 for Port 4. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 4 for Port 5. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 5 for Port 6. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 6 for Port 7. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 7 for Port 8. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 8 for Port 9. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal control port 9 for Port 10. DSSI4CS: Queried port descriptor. DSSI4CS: Created internal audio port 1 for Port 11. DSSI4CS: Created 10 control ports for: 'C* Eq - 10-band equalizer' DSSI4CS: Created 2 audio ports for: 'C* Eq - 10-band equalizer' DSSI4CS: Init Done. ============Plugin 0======================================== Plugin Type: LADSPA Plugin UniqueID: 1773 Label: Eq Name: C* Eq - 10-band equalizer Maker: Tim Goetze |
| Date | 2017-11-05 22:20 |
| From | John ff |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
|
Sent from Blue
On 5 Nov 2017, at 21:46, Tarmo Johannes <trmjhnns@GMAIL.COM> wrote: Great! |
| Date | 2017-11-06 01:12 |
| From | Kevin Krebs |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
Hi - I've been eavesdropping on this thread and thought I'd chime in with the little bit I know... You're correct John, you can substitute out the 'caps.so 'file for the other ladspa plug-in files, which as I'm certain you know, you can list by using the dssilist opcode. The 'caps.so' file from the example is from the caps ladspa plugin pack (ladspa-caps-plugins on my Fedora system). I noticed that the plugindex value for dssininit in the manual example does not match the current caps plugin set (v0.9.24). It specifies plugindex 19 as a 'mono phaser', when, at least for me, that loads 'C* EqFA4p - 4-band parametric eq.' There is a phasor at index 13. Furthermore, the ranges specified in the manual example don't match those of the plugin. --- Kevin Krebs | kmkrebs@protonmail.ch keybase.io/threema/wire/wickr: kmkrebs | kmkrebs.com | earsopen podcast On Sun, Nov 5, 2017 at 2:20 PM, John ff <jpff@codemist.co.uk> wrote:
|
| Date | 2017-11-06 10:07 |
| From | Anders Genell |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
We noticed when using caps plugins that the names of the plugins had been changed - probably a few years ago now. There is a utility program included in the distribution of ladspa called "analyseplugin" which can show what is included in different .so-files, and what names and limits of channels/values are in there as well. I don't know if something similar could be implemented in csound so that there is a warning when using wrong names or values? Regards, Anders On Mon, Nov 6, 2017 at 2:12 AM, Kevin Krebs <kmkrebs@gmail.com> wrote:
|
| Date | 2017-11-06 14:07 |
| From | jpff |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
Not found a crash yet but these seem to say there is no ladspa_descriptor, although I think I can see one. A bit busy today but will try and look. First deep look ends with me wondering about the index into the plugin. It does find the ladspa_description but fails to get anything but a NULL back from calling it wit an index On Sun, 5 Nov 2017, Tarmo Johannes wrote: > Great! > > caps.so gets loaded and works flawlessly. There are still some plugins that > crash. I don't know what you have in your computer but here are some that > fail: > > adsr_1653.so > alias_1407.so > amp.so > > In fact I could not find any at the moment that works besides caps.so > > The Csound output (on amp.so, FAILURE): > > --- > DSSI4CS: Loading first instance. > DSSI4CS: About to load descriptor function for plugin 0 of 1. > DSSI4CS: LADSPA Plugin Detected > DSSI4CS: About to instantiate plugin. > DSSI4CS: Plugin instantiated. > DSSI4CS: Found 0 control ports for: 'PC&' > DSSI4CS: Found 1 audio ports for: 'PC&' > DSSI4CS: Created port array. > DSSI4CS: Queried port descriptor. > DSSI4CS: Queried port descriptor. > DSSI4CS: Queried port descriptor. > > csound command: Segmentation fault > > --- > > on caps.so (SUCCESS): > > --- > DSSI4CS: Loading first instance. > DSSI4CS: About to load descriptor function for plugin 0 of 1. > DSSI4CS: LADSPA Plugin Detected > DSSI4CS: About to instantiate plugin. > DSSI4CS: Plugin instantiated. > DSSI4CS: Found 10 control ports for: 'C* Eq - 10-band equalizer' > DSSI4CS: Found 2 audio ports for: 'C* Eq - 10-band equalizer' > DSSI4CS: Created port array. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal audio port 0 for Port 0. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 0 for Port 1. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 1 for Port 2. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 2 for Port 3. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 3 for Port 4. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 4 for Port 5. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 5 for Port 6. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 6 for Port 7. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 7 for Port 8. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 8 for Port 9. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal control port 9 for Port 10. > DSSI4CS: Queried port descriptor. > DSSI4CS: Created internal audio port 1 for Port 11. > DSSI4CS: Created 10 control ports for: 'C* Eq - 10-band equalizer' > DSSI4CS: Created 2 audio ports for: 'C* Eq - 10-band equalizer' > DSSI4CS: Init Done. > ============Plugin 0======================================== > Plugin Type: LADSPA > Plugin UniqueID: 1773 > Label: Eq > Name: C* Eq - 10-band equalizer > Maker: Tim Goetze |
| Date | 2017-11-06 14:23 |
| From | jpff |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
Further inspection gets worse!
Trying alias_1407.so I get
(gdb) print *LDescriptor
$9 = {UniqueID = 7451136, Label = 0x7d1120 "", Properties = 4,
Name = 0x7fffe2194c3f |
| Date | 2017-11-06 14:41 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] DSSI/LADSPA opcodes crash |
|
Would Andres Cabrera be able to help? Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|