zamaudio / zam-plugins

Collection of LADSPA/LV2/VST/JACK audio plugins for high-quality processing
http://www.zamaudio.com/?p=976
GNU General Public License v2.0
265 stars 37 forks source link

Segmentation Fault when booting SuperCollider Server.local with ZamTube installed #78

Closed scottericpetersen closed 4 years ago

scottericpetersen commented 4 years ago

Hi there - attempting to boot the audio server (Server.local) in SuperCollider 3.10.3 built from source on KDE Neon produces aprox. ~8500 errors of the like posted below, all while scanning the ZamTube-ladpsa.so plugin. The result is a segmentation fault. I got the plugin from KXstudio who packaged it as part of the meta-audio-plugins-ladspa collection. When I remove that plugin the server boots correctly. I have posted part of the output below.

...
==26886== 45000 errors in context 237 of 239:
==26886== Use of uninitialised value of size 8
==26886==    at 0x65612BB: __exp1_fma (e_exp.c:273)
==26886==    by 0x6562718: __ieee754_pow_fma (e_pow.c:115)
==26886==    by 0x20FAAAD3: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FAA655: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FAA9BA: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FAC5EB: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FACF63: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FA872F: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x4010732: call_init (dl-init.c:72)
==26886==    by 0x4010732: _dl_init (dl-init.c:119)
==26886==    by 0x40151FE: dl_open_worker (dl-open.c:522)
==26886==    by 0x6BF72DE: _dl_catch_exception (dl-error-skeleton.c:196)
==26886==    by 0x40147C9: _dl_open (dl-open.c:605)
==26886== 
==26886== 
==26886== 45000 errors in context 238 of 239:
==26886== Use of uninitialised value of size 8
==26886==    at 0x65612A0: __exp1_fma (e_exp.c:274)
==26886==    by 0x6562718: __ieee754_pow_fma (e_pow.c:115)
==26886==    by 0x20FAAAD3: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FAA655: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FAA9BA: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FAC5EB: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FACF63: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FA872F: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x4010732: call_init (dl-init.c:72)
==26886==    by 0x4010732: _dl_init (dl-init.c:119)
==26886==    by 0x40151FE: dl_open_worker (dl-open.c:522)
==26886==    by 0x6BF72DE: _dl_catch_exception (dl-error-skeleton.c:196)
==26886==    by 0x40147C9: _dl_open (dl-open.c:605)
==26886== 
==26886== 
==26886== 45000 errors in context 239 of 239:
==26886== Conditional jump or move depends on uninitialised value(s)
==26886==    at 0x65611F4: __exp1_fma (e_exp.c:252)
==26886==    by 0x6562718: __ieee754_pow_fma (e_pow.c:115)
==26886==    by 0x20FAAAD3: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FAA655: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FAA9BA: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FAC5EB: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FACF63: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x20FA872F: ??? (in /usr/lib/ladspa/ZamTube-ladspa.so)
==26886==    by 0x4010732: call_init (dl-init.c:72)
==26886==    by 0x4010732: _dl_init (dl-init.c:119)
==26886==    by 0x40151FE: dl_open_worker (dl-open.c:522)
==26886==    by 0x6BF72DE: _dl_catch_exception (dl-error-skeleton.c:196)
==26886==    by 0x40147C9: _dl_open (dl-open.c:605)
==26886== 
==26886== ERROR SUMMARY: 2062836 errors from 239 contexts (suppressed: 0 from 0)
zamaudio commented 4 years ago

Can you please find the source repo that was used for the plugin? I assume it contains an outdated version of my plugin. Please buy the real one on http://zamaudio.com, or compile it from this repo which is the upstream source code.

zamaudio commented 4 years ago

@scacinto This was my bug. Fixed in 87fdee6e87dbee75c1088e2327ea59c1ab1522e4 (Version 3.12)

scottericpetersen commented 4 years ago

Hi there - Sorry I was out of touch - end of the semester here in the US and I was neck-deep. Happy you found the problem!

Cheers,

On Sun, Dec 15, 2019 at 3:54 AM Damien Zammit notifications@github.com wrote:

Closed #78 https://github.com/zamaudio/zam-plugins/issues/78.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zamaudio/zam-plugins/issues/78?email_source=notifications&email_token=ABUGOKA4NQWLQHA6MAEMNNLQYXWDJA5CNFSM4JZU2SG2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVPSAY4A#event-2883849328, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUGOKAKGY3ZC6N3YTKGIBLQYXWDJANCNFSM4JZU2SGQ .

-- Scott Eric Petersen Composer, Computer Musician scottericpetersen.com