I was also having trouble launching Audacity until I found a fix.
Apparently, the problem boiled down to the unsafe use of the strcpy
function in the csladspa frontend (line 417 in
csound-5.17.6~dfsg/frontends/csladspa/csladspa.cpp).  The segmentation
fault that caused Audacity to crash occurred because the program was
attempting to copy a NULL return value from the getenv function to a
character array.  Now, with the fix applied, the copy operation is
performed only if the getenv function returned a non-NULL value.  Also,
the strcpy function has been replaced with the safer strncpy function.
You can view the fix that I found at
http://csound.git.sourceforge.net/git/gitweb.cgi?p=csound/csound5.git;a=commitdiff;h=72c5b0c9fbdf5a686196292211d0dabd3b384c0f.
Attached is the patch that may fix your issue.

** Patch added: "fix_csladspa_sigsegv.patch"
   
https://bugs.launchpad.net/ubuntu/+source/csound/+bug/1001975/+attachment/3161329/+files/fix_csladspa_sigsegv.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1001975

Title:
  csladspa 1:5.17.6~dfsg-1 breaks ausdacity and ardour

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/csound/+bug/1001975/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to