| Hi Richard,
This looks like a familiar issue. I remember I had made a code change
to prevent this, but then that caused other problems so it was rolled
back. I don't know if a real solution was ever found. The thread for
it is here:
http://csound.1045644.n5.nabble.com/segfault-with-FLTK-opcodes-on-5-16-td5516482.html
The workaround is to use "-g" as a commandline flag when running
Csound. (You can add it to the csd's that those python files use or
add it to .csoundrc)
steven
On Thu, Jan 31, 2013 at 8:42 PM, zappfinger wrote:
> I am trying some of the samples, like shapes.py and keys.py, but they do not
> run (anymore).
> OS X 10.6.8, Python 2.7.3, csound 5.19 doubles.
>
> Here's the output of running keys.py:
>
> Csound version 5.19.00 (double samples) Jan 16 2013
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjacko.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjackTransport.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/librtjack.dylib'
> (-1)
> UnifiedCSD: keys.csd
> Creating options
> Creating orchestra
> Creating score
> graph init
> using callback interface
> Parsing successful!
> Elapsed time at end of orchestra compile: real: 0.006s, CPU: 0.004s
> Sorting score
> Elapsed time at end of score sort: real: 0.024s, CPU: 0.015s
> displays suppressed
> 0dBFS level = 2.0
> orch now loaded
> audio buffered in 1024 sample-frame blocks
> reading 2048-byte blks of shorts from adc (RAW)
> PortAudio V19-devel (built Oct 3 2012 09:31:53)
> PortAudio: available input devices:
> 0: Built-in Microphone
> 1: Built-in Input
> 2: Soundflower (2ch)
> 3: Soundflower (16ch)
> PortAudio: selected input device 'Soundflower (2ch)'
> PortAudio: available output devices:
> 0: Built-in Output
> 1: Soundflower (2ch)
> 2: Soundflower (16ch)
> PortAudio: selected output device 'Built-in Output'
> writing 1024 sample blks of 64-bit floats to dac
> SECTION 1:
> ftable 1:
> new alloc for instr 100:
> Tcl_ServiceModeHook: Notifier not initialized
> Csound tidy up: Abort trap
> /var/folders/wA/wAv6wGTZH9KFCuEMGKcZvk+++TI/-Tmp-/Cleanup At
> Startup/keys-381357453.623.py.command: line 3: 2992 Abort trap
> /usr/local/bin/python2.7
> /Users/richard/Desktop/DEVELOPMENT/MyPython/csound/python/keys.py
> logout
>
> [Process completed]
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/python-samples-not-working-tp5719743.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
|