[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] scgraph - polygon scgraph-0.12 osx



hello Florian,
first, sorry for increasing the traffic on this list. should we perhaps set up a separate mailing-list for scgraph? or use the scgraph sourceforge forums instead?

i'm having a hard time with GPolygon. everything i try makes scgraph crash. the other ugens i've played with works great. (i'm on osx. 4.11 with an intel machine.)

//crashing example sc code
h= Server.new("scgraph", NetAddr("localhost", 37291));
h.boot;
(
SynthDef(\poly, {
	var src= GPolygon.gr();
	GGLRenderer.gr(src);
}).play(h);
)


[GSynthDefFile]: Constructing from blob
 size: 226
 id: "SCgf"
 version: 1
 num_synthdefs: 1
[GSynthDef]:
 [Hexdump]:
  04 70 6f 6c 79 00 08 00 00 00 00 3f 80 00 00 42
  b4 00 00 3d cc cc cd 44 7a 00 00 41 20 00 00 41
  f0 00 00 42 c8 00 00 00 00 00 00 00 02 08 47 50
  6f 6c 79 67 6f 6e 02 00 00 00 01 00 00 02 0b 47
  47 4c 52 65 6e 64 65 72 65 72 02 00 21 00 01 00
  00 00 00 00 00 ff ff 00 00 ff ff 00 00 ff ff 00
  00 ff ff 00 00 ff ff 00 01 ff ff 00 00 ff ff 00
  01 ff ff 00 00 ff ff 00 01 ff ff 00 02 ff ff 00
  03 ff ff 00 04 ff ff 00 00 ff ff 00 00 ff ff 00
  05 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00
  00 ff ff 00 01 ff ff 00 00 ff ff 00 00 ff ff 00
  00 ff ff 00 00 ff ff 00 06 ff ff 00 07 ff ff 00
  00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00
  01 ff ff 00 00 02 00 00
 size: 216
 name: poly
 constants [8]: 0 1 90 0.1 1000 10 30 100
 parameters [0]:
 parameter names [0]:
 ugen specs [2]:
  [0]:[UgenSpec]:
   name: GPolygon
    calculation_rate: 2
    num_ins: 0 nums_outs: 1 special_index: 0
   [OutputSpec]:
     calculation_rate: 2
  [1]:[UgenSpec]:
   name: GGLRenderer
    calculation_rate: 2
    num_ins: 33 nums_outs: 1 special_index: 0
   [InputSpec]:
     index_of_ugen: 0 index_of_ugen_output: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 1
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 1
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 1
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 2
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 3
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 4
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 5
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 1
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 6
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 7
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 1
   [InputSpec]:
     index_of_ugen: -1  index_of_constant: 0
   [OutputSpec]:
     calculation_rate: 2
[SynthDefPool]: Adding SynthDef: poly
[OscHandler]: /s_new poly 1001 0 1
[PluginPool]: Creating unit (name: "GPolygon")
[PluginPool]: Creating unit (name: "GGLRenderer")
[ G0 [ G1 S1001 ] ]
Bus error




Date/Time:      2008-12-26 23:19:06.284 +0100
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: scgraph
Path:    ./bin/scgraph
Parent:  bash [16679]

Version: ??? (???)

PID:    17701
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   polygon.bundle      	0x0db9a757 Polygon::process_g(double) + 1031
1   scgraph             	0x0000c0b1 GSynth::process_g(double) + 177
2 scgraph 0x0001445b ScGraph::run_one_graphics_cycle (double) + 603
3   scgraph             	0x0001f765 GraphicLoop::timer_callback() + 165
4 scgraph 0x000400fb GraphicLoop::qt_metacall (QMetaObject::Call, int, void**) + 91 5 QtCore 0x00500afb QMetaObject::activate(QObject*, int, int, void**) + 519
6   QtCore              	0x0053b38f QTimer::timeout() + 49
7   QtCore              	0x004fe803 QObject::event(QEvent*) + 551
8 QtGui 0x01015fdc QApplicationPrivate::notify_helper (QObject*, QEvent*) + 166 9 QtGui 0x0101984f QApplication::notify(QObject*, QEvent*) + 235 10 QtCore 0x004f0592 QCoreApplication::notifyInternal (QObject*, QEvent*) + 144 11 QtGui 0x0106baf1 QApplicationPrivate::globalEventProcessor(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 6859 12 com.apple.HIToolbox 0x92df14d7 DispatchEventToHandlers (EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1093 13 com.apple.HIToolbox 0x92df0b7c SendEventToEventTargetInternal (OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 304 14 com.apple.HIToolbox 0x92df0a41 SendEventToEventTargetWithOptions + 55 15 com.apple.HIToolbox 0x92df80e3 ToolboxEventDispatcherHandler (OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 357 16 com.apple.HIToolbox 0x92df188e DispatchEventToHandlers (EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2044 17 com.apple.HIToolbox 0x92df0b7c SendEventToEventTargetInternal (OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 304
18  com.apple.HIToolbox 	0x92df7f7c SendEventToEventTarget + 56
19 QtGui 0x010666b4 qt_mac_send_event (QFlags<QEventLoop::ProcessEventsFlag>, OpaqueEventRef*, OpaqueWindowPtr*) + 86 20 QtGui 0x0107460b QEventDispatcherMac::processEvents (QFlags<QEventLoop::ProcessEventsFlag>) + 623 21 QtCore 0x004efe0b QEventLoop::processEvents (QFlags<QEventLoop::ProcessEventsFlag>) + 63 22 QtCore 0x004eff91 QEventLoop::exec (QFlags<QEventLoop::ProcessEventsFlag>) + 149
23  QtCore              	0x004f17ad QCoreApplication::exec() + 147
24  scgraph             	0x000025ed main + 253
25  scgraph             	0x00001d6b _start + 209
26  scgraph             	0x00001c99 start + 41





  #|
     fredrikolofsson.com     klippav.org     musicalfieldsforever.com
  |#


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/