claude@maximus ~ $ GFPATH=/home/claude/Build/gridflow gdb pd GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run -stderr -verbose \ -path $GFPATH \ -path $GFPATH/pd_abstractions \ -helppath $GFPATH/doc/flow_classes \ -lib gridflow Starting program: /usr/local/bin/pd -stderr -verbose -path $GFPATH -path $GFPATH/pd_abstractions -helppath $GFPATH/doc/flow_classes -lib gridflow [Thread debugging using libthread_db enabled] [New Thread -1210448208 (LWP 14541)] input channels = 2, output channels = 2 Pd version 0.39-2 compiled 20:00:48 Oct 17 2006 port 5400 Waiting for connection request... TCL_LIBRARY="/usr/local/lib/pd/tcl/library" TK_LIBRARY="/usr/local/lib/pd/tk/library" "/usr/local/lib/pd/bin/pd-gui" 5400 ... connected opened 0 MIDI input device(s) and 0 MIDI output device(s). input channels = 2, output channels = 2 opened /dev/dsp for reading and writing opened audio output on /dev/dsp; got 2 channels bytes per sample = 2 setting nfrags = 8, fragsize 1024 audiobuffer set to 50 msec OSS: requested audio buffer size 8820 limited to 8192 opened audio input device /dev/dsp; got 2 channels bytes per sample = 2 OSS: issuing first ADC 'read' ... ...done. tried /home/claude/gridflow.pd_linux and failed tried /home/claude/Build/gridflow/gridflow.pd_linux and succeeded setting up Ruby-for-PureData... tried /home/claude/gridflow/gridflow.pd_linux and failed tried /home/claude/Build/gridflow/gridflow/gridflow.pd_linux and failed tried /home/claude/Build/gridflow/pd_abstractions/gridflow/gridflow.pd_linux and failed tried /usr/local/lib/pd/extra/gridflow/gridflow.pd_linux and failed tried /home/claude/gridflow.pd_linux and failed tried /home/claude/Build/gridflow/gridflow.pd_linux and succeeded gridflow.pd_linux found itself in /home/claude/Build/gridflow we are using Ruby version 1.9.0 DIR = "/home/claude/Build/gridflow" Ruby's path = ["/home/claude/Build/gridflow/..", "/home/claude/Build/gridflow", "/home/claude/Build/gridflow/optional/rblti", "/usr/lib/ruby/site_ruby/1.9", "/usr/lib/ruby/site_ruby/1.9/i686-linux", "/usr/lib/ruby/site_ruby", "/usr/lib/ruby/1.9", "/usr/lib/ruby/1.9/i686-linux", "."] [gf] This is GridFlow 0.8.5 within Ruby version 1.9.0-2006-10-18 [gf] base/main.c was compiled on Oct 17 2006, 22:23:57 [gf] # [gf] /home/claude/Build/gridflow/optional/lti.rb:38:in `require' [gf] /home/claude/Build/gridflow/optional/lti.rb:38 [gf] /home/claude/Build/gridflow/base/flow_objects.rb:1471:in `require' [gf] /home/claude/Build/gridflow/base/flow_objects.rb:1471 [gf] /home/claude/Build/gridflow/base/main.rb:398:in `require' [gf] /home/claude/Build/gridflow/base/main.rb:398 [gf] (eval):1:in `require' [gf] (eval):1 [gf] (eval):1 [gf] LTI support not found (#) [gf] startup_cpu: using MMX optimisations hello from ruby_stack_end_hack HELLO tried /home/claude/Build/gridflow/pd_examples/#color.pd_linux and failed tried /home/claude/Build/gridflow/#color.pd_linux and failed tried /home/claude/Build/gridflow/pd_abstractions/#color.pd_linux and failed tried /usr/local/lib/pd/extra/#color.pd_linux and failed tried /home/claude/Build/gridflow/pd_examples/#color/#color.pd_linux and failed tried /home/claude/Build/gridflow/#color/#color.pd_linux and failed tried /home/claude/Build/gridflow/pd_abstractions/#color/#color.pd_linux and failed tried /usr/local/lib/pd/extra/#color/#color.pd_linux and failed tried /home/claude/Build/gridflow/pd_examples/#color.pd and failed tried /home/claude/Build/gridflow/#color.pd and failed tried /home/claude/Build/gridflow/pd_abstractions/#color.pd and succeeded print: 29.9214 13.2382 33.5391 56.0422 33.4209 7.72579 print: 30.1216 18.275 33.0091 57.6241 33.1988 6.83368 ...[snip]... print: 7.68954 30.827 37.493 827.814 130.047 247.125 print: 30.3547 17.9169 33.792 59.0711 32.9438 8.96836 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1210448208 (LWP 14541)] 0xb78dd3f7 in rb_num2long () from /usr/lib/libruby19.so.1.9 (gdb) bt #0 0xb78dd3f7 in rb_num2long () from /usr/lib/libruby19.so.1.9 #1 0xb72c89a4 in GridInlet::begin (this=0x8335440, argc=4, argv=0x887dbfc) at grid.c.fcs:199 #2 0xb72fa93f in GridConvolve::_0_grid (this=0x8337390, argc=4, argv=0x887dbfc) at flow_objects.c.fcs:1459 #3 0xb7303514 in GridConvolve::_0_grid_wrap (argc=4, argv=0x887dbfc, rself=3071968700) at flow_objects.c.fcs:1459 #4 0xb78a4c86 in rb_rescue () from /usr/lib/libruby19.so.1.9 #5 0xb78b13b7 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #6 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #7 0xb78b21af in rb_funcall2 () from /usr/lib/libruby19.so.1.9 #8 0xb72bd6b3 in send_in_2 (h=0xbff85890) at main.c.fcs:172 #9 0xb78a21da in rb_ensure () from /usr/lib/libruby19.so.1.9 #10 0xb72ba792 in FObject::send_in (this=0x8337390, argc=6, argv=0xbff85bf0) at main.c.fcs:183 #11 0xb72be214 in FObject::send_in_wrap (argc=6, argv=0xbff85bf0, rself=3071968700) at main.c.fcs:179 #12 0xb78a4c86 in rb_rescue () from /usr/lib/libruby19.so.1.9 #13 0xb78b13b7 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #14 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #15 0xb78b21af in rb_funcall2 () from /usr/lib/libruby19.so.1.9 #16 0xb7fda0b3 in BFObject_method_missing_1 (fm=0xbff85d58) at puredata.c.fcs:225 #17 0xb78a45e5 in rb_rescue2 () from /usr/lib/libruby19.so.1.9 #18 0xb7fd8c47 in BFObject_method_missing (bself=, winlet=, selector=, ac=4, at=0xbff85e50) at puredata.c.fcs:246 #19 0x080a352a in pd_typedmess (x=0x8336cd8, s=0x8310930, argc=, argv=0xbff85e50) at m_class.c:749 #20 0x080a63d7 in outlet_anything (x=0x83315e8, s=0x8310930, argc=4, argv=0xbff85e50) at m_obj.c:387 #21 0xb7fdd6f0 in FObject_send_out2 (argc=6, argv=0xbff861d0, rself=3071980140) at puredata.c.fcs:497 #22 0xb78a4c86 in rb_rescue () from /usr/lib/libruby19.so.1.9 #23 0xb78b13b7 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #24 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #25 0xb78b21af in rb_funcall2 () from /usr/lib/libruby19.so.1.9 #26 0xb72bd239 in FObject::send_out (this=0x83313b0, argc=4, argv=0xbff86598) at main.c.fcs:208 #27 0xb72be014 in FObject::send_out_wrap (argc=6, argv=0xbff86590, rself=3071980140) at main.c.fcs:186 #28 0xb78a4c86 in rb_rescue () from /usr/lib/libruby19.so.1.9 #29 0xb78b13b7 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #30 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #31 0xb78aae11 in rb_frozen_class_p () from /usr/lib/libruby19.so.1.9 #32 0xb78b16a9 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #33 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #34 0xb78ba7f4 in rb_apply () from /usr/lib/libruby19.so.1.9 #35 0xb78b1dec in rb_method_call () from /usr/lib/libruby19.so.1.9 #36 0xb78b21af in rb_funcall2 () from /usr/lib/libruby19.so.1.9 #37 0xb72bd6b3 in send_in_2 (h=0xbff86f80) at main.c.fcs:172 #38 0xb78a21da in rb_ensure () from /usr/lib/libruby19.so.1.9 #39 0xb72ba792 in FObject::send_in (this=0x83313b0, argc=6, argv=0xbff872e0) at main.c.fcs:183 #40 0xb72be214 in FObject::send_in_wrap (argc=6, argv=0xbff872e0, rself=3071980140) at main.c.fcs:179 #41 0xb78a4c86 in rb_rescue () from /usr/lib/libruby19.so.1.9 #42 0xb78b13b7 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #43 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #44 0xb78b21af in rb_funcall2 () from /usr/lib/libruby19.so.1.9 #45 0xb7fda0b3 in BFObject_method_missing_1 (fm=0xbff87448) at puredata.c.fcs:225 #46 0xb78a45e5 in rb_rescue2 () from /usr/lib/libruby19.so.1.9 #47 0xb7fd8c47 in BFObject_method_missing (bself=, winlet=, selector=, ac=4, at=0xbff87690) at puredata.c.fcs:246 #48 0x080a352a in pd_typedmess (x=0x8331188, s=0x8310930, argc=, argv=0xbff87690) at m_class.c:749 #49 0x080a63d7 in outlet_anything (x=0x8335640, s=0x8310930, argc=4, argv=0xbff87690) at m_obj.c:387 #50 0x080a352a in pd_typedmess (x=0x83355b8, s=0x8310930, argc=, argv=0xbff87690) at m_class.c:749 #51 0x080a352a in pd_typedmess (x=0x8335620, s=0x8310930, argc=, argv=0xbff87690) at m_class.c:749 #52 0x080a63d7 in outlet_anything (x=0x830eb78, s=0x8310930, argc=4, argv=0xbff87690) at m_obj.c:387 #53 0xb7fdd6f0 in FObject_send_out2 (argc=6, argv=0xbff87a10, rself=3072015040) at puredata.c.fcs:497 #54 0xb78a4c86 in rb_rescue () from /usr/lib/libruby19.so.1.9 #55 0xb78b13b7 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #56 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #57 0xb78b21af in rb_funcall2 () from /usr/lib/libruby19.so.1.9 #58 0xb72bd239 in FObject::send_out (this=0x830e820, argc=4, argv=0xbff87ac8) at main.c.fcs:208 #59 0xb72c9cf1 in GridOutlet::begin (this=0x85841e0, woutlet=0, dim=@0xbff87b94, nt=int32_e) at grid.c.fcs:350 #60 0xb72e5d0c in GridOutlet (this=0x85841e0, parent_=0x830e820, woutlet=0, dim_=@0xbff87d08, nt_=int32_e) at grid.h.fcs:907 #61 0xb73a3bcb in GridStore::grin_0 (this=0x830e820, in=0x83621a0, n=-1, data=0x0) at flow_objects.c.fcs:256 #62 0xb73a7a08 in GridStore::grinw_0 (in=0x83621a0, n=-1, data=0x0) at flow_objects.c.fcs:238 #63 0xb72d7ec3 in GridInlet::from_grid2 (this=0x83621a0, g=0xbff87e74, foo=0) at grid.h.fcs:827 #64 0xb72c5837 in GridInlet::from_grid (this=0x83621a0, g=0xbff87e74) at grid.c.fcs:334 #65 0xb72cdc25 in GridObject::method_missing (this=0x830e820, argc=4, argv=0xbff881d0) at grid.h.fcs:863 #66 0xb72ce764 in GridObject::method_missing_wrap (argc=4, argv=0xbff881d0, rself=3072015040) at grid.c.fcs:557 #67 0xb78a4c86 in rb_rescue () from /usr/lib/libruby19.so.1.9 #68 0xb78b13b7 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #69 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #70 0xb78ba7f4 in rb_apply () from /usr/lib/libruby19.so.1.9 #71 0xb78b1dec in rb_method_call () from /usr/lib/libruby19.so.1.9 #72 0xb78b2594 in rb_funcall () from /usr/lib/libruby19.so.1.9 #73 0xb72f240a in GridStore::_0_bang (this=0x830e820, argc=0, argv=0x8369534) at flow_objects.c.fcs:360 #74 0xb72ff242 in GridStore::_0_bang_wrap (argc=0, argv=0x8369534, rself=3072015040) at flow_objects.c.fcs:360 #75 0xb78a4c86 in rb_rescue () from /usr/lib/libruby19.so.1.9 #76 0xb78b13b7 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #77 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #78 0xb78b21af in rb_funcall2 () from /usr/lib/libruby19.so.1.9 #79 0xb72bd6b3 in send_in_2 (h=0xbff88970) at main.c.fcs:172 #80 0xb78a21da in rb_ensure () from /usr/lib/libruby19.so.1.9 #81 0xb72ba792 in FObject::send_in (this=0x830e820, argc=2, argv=0xbff88cd0) at main.c.fcs:183 #82 0xb72be214 in FObject::send_in_wrap (argc=2, argv=0xbff88cd0, rself=3072015040) at main.c.fcs:179 #83 0xb78a4c86 in rb_rescue () from /usr/lib/libruby19.so.1.9 #84 0xb78b13b7 in rb_proc_call () from /usr/lib/libruby19.so.1.9 #85 0xb78b1c4a in rb_method_call () from /usr/lib/libruby19.so.1.9 #86 0xb78b21af in rb_funcall2 () from /usr/lib/libruby19.so.1.9 #87 0xb7fda0b3 in BFObject_method_missing_1 (fm=0xbff88e28) at puredata.c.fcs:225 #88 0xb78a45e5 in rb_rescue2 () from /usr/lib/libruby19.so.1.9 #89 0xb7fd8c47 in BFObject_method_missing (bself=, winlet=, selector=, ac=0, at=0x0) at puredata.c.fcs:246 #90 0x080a2e42 in pd_defaultbang (x=0x887dbfc) at m_class.c:37 #91 0x080a635c in outlet_bang (x=0x8348e68) at m_obj.c:328 #92 0x080e436f in trigger_list (x=0x8347de8, s=0x0, argc=0, argv=0x0) at x_connective.c:979 #93 0x080e4707 in trigger_bang (x=0x8347de8) at x_connective.c:1010 #94 0x080a635c in outlet_bang (x=0x8337b30) at m_obj.c:328 #95 0x080ea27a in metro_tick (x=0x8337b00) at x_time.c:87 #96 0x080adb60 in sched_tick (next_sys_time=3166515200) at m_sched.c:355 #97 0x080ae85e in m_scheduler () at m_sched.c:460 #98 0x080b130a in sys_main (argc=11, argv=0xbff89534) at s_main.c:292 #99 0x080b9e1f in main (argc=145374192, argv=0xb75cf460) at s_entry.c:27 (gdb) quit The program is running. Exit anyway? (y or n) y socket receive error: Connection reset by peer (104) claude@maximus ~ $