On Fri, Mar 18, 2005 at 09:34:45AM -0500, Michael Gogins wrote: > Did you set the OPCODEDIR and PYTHONPATH environment variables as in the manual? Yes. echo $OPCODEDIR /usr/local/lib/csound/opcodes echo $PYTHONPATH /usr/local/lib/ ls -l /usr/local/lib/*sound* -rwxr-xr-x 1 root staff 152712 2005-03-17 09:15 /usr/local/lib/CsoundVST.py -rwxr-xr-x 1 root staff 1891067 2005-03-17 09:20 /usr/local/lib/_CsoundVST.so -rwxr-xr-x 1 root staff 1059320 2005-03-17 09:20 /usr/local/lib/libcsound.so These environment variables are set in my ~/.bashrc export OPCODEDIR="/usr/local/lib/csound/opcodes" export PYTHONPATH="/usr/local/lib/" In ld.so.conf I have: /usr/local/lib /usr/local/lib/csound/opcodes I ran ldconfig -v It still segfaults. Thanks, Jeremiah > > -----Original Message----- > From: Jeremiah Benham > Sent: Mar 18, 2005 1:45 AM > To: csound-devel@lists.sourceforge.net > Subject: [Cs-dev] csound.exportForPerformance() python segfault > > I don't know if this is a bug in python or CsoundVST. > > I typed in the follwing code into a python interpreter: > > import CsoundVST > csound.setCommand('csound -RWdo ./Trapped.py.wav test.orc test.sco') > > csound.setOrchestra(''' > > sr = 44100 > ksmps = 4410 > kr = 10 > nchnls = 1 > > instr 1 > a1 oscil 10000,440,1 > out a1 > endin > ''') > > csound.setScore(''' > > f1 0 8192 10 1 > > i1 0.0 5 > > ''') > > csound.exportForPerformance() > csound.perform() > > This segfaults when I get to: > > csound.exportForPerformance() > > Thanks, > Jeremiah > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net