[Gridflow-dev] Weird behaviour...

Michal Seta mis at artengine.ca
Mon Mar 27 11:04:23 EST 2006


Hello,

Ok, I've got GF compiled:

setting up Ruby-for-PureData...
gridflow.pd_linux found itself in /home/mis/cvs/gridflow
we are using Ruby version 1.9.0
DIR = "/home/mis/cvs/gridflow"
Ruby's path = ["/home/mis/cvs/gridflow/..", "/home/mis/cvs/gridflow", "/home/mis/cvs/gridflow/optional/rblti", "/usr/local/lib/ruby/site_ruby/1.9", "/usr/local/lib/ruby/site_ruby/1.9/i686-linux", "/usr/local/lib/ruby/site_ruby", "/usr/local/lib/ruby/1.9", "/usr/local/lib/ruby/1.9/i686-linux", "."]
[gf] This is GridFlow 0.8.2 within Ruby version 1.9.0-2005-10-12
[gf] base/main.c was compiled on Mar 27 2006, 10:33:21
[gf] rdtsc=178541164083599
[gf] rdtsc=178541164238150
[gf] LTI support not found.
[gf] startup_cpu: using MMX optimisations
[gf] GridFlow::VideoTypeFlags: [:CAPTURE, :TUNER, :TELETEXT, :OVERLAY, :CHROMAKEY, :CLIPPING, :FRAMERAM, :SCALES, :MONOCHROME, :SUBCAPTURE, :MPEG_DECODER, :MPEG_ENCODER, :MJPEG_DECODER, :MJPEG_ENCODER]
[gf] GridFlow::VideoTunerFlags: [:PAL, :NTSC, :SECAM, :LOW, :NORM, :DUMMY5, :DUMMY6, :STEREO_ON, :RDS_ON, :MBS_ON]
[gf] GridFlow::VideoChannelFlags: [:TUNER, :AUDIO]
[gf] GridFlow::VideoPalette: [[:NIL, :GREY, :HI240, :RGB565, :RGB24, :RGB32, :RGB555, :YUV422, :YUYV, :UYVY, :YUV420, :YUV411, :RAW, :YUV422P, :YUV411P, :YUV420P, :YUV410P]]
[gf] GridFlow::VideoTunerMode: [:PAL, :NTSC, :SECAM, :AUTO]


all seems fine, except that I do have LTI now...


Now, I opened pd_examples/cellular_1d.pd

Fine, loads alright.  Click the [tgl] at the metro - segfault.

error: ArgumentError: got 1 elements in last dimension, expecting <= 0
base/flow_objects.c.fcs:247:in `void GridStore::grin_0(GridInlet*, long int, T*) [with T = int32]'
[#store]
... you might be able to track this down from the Find menu.

...repeated about bazillion times (more or less).

gdb backtrace below.  Note, that also [plugin~] segfaults since
Saturday (when I rebooted my machine for the first time in about 3
months). 

compiled with gcc 4.0.3.

#0  0xb7d2dffc in free () from /lib/tls/libc.so.6
#1  0xb743001f in flext_root_single::operator delete ()
   from /usr/local/lib/pd/extra/pool.pd_linux
#2  0xb742a478 in operator delete () from /usr/local/lib/pd/extra/pool.pd_linux
#3  0xb7407d67 in ~Pointer (this=0x0) at bridge/puredata.c.fcs:97
#4  0xb646bf95 in CObject_free (foo=0x91a808c) at base/main.c.fcs:83
#5  0xb6905807 in garbage_collect () at gc.c:1157
#6  0xb69059b5 in rb_newobj () at gc.c:397
#7  0xb69542eb in str_alloc (klass=0) at string.c:61
#8  0xb69547c7 in rb_str_buf_new (capa=120) at string.c:201
#9  0xb6952cb7 in rb_vsprintf (fmt=0xb6965b2d "%s:%d:in `%s'", 
    ap=0xbfd31f34 "\t\225,\b\224") at sprintf.c:871
#10 0xb6953973 in rb_sprintf (format=0xb6965b2d "%s:%d:in `%s'")
    at sprintf.c:890
#11 0xb68ea1b5 in backtrace (lev=-1233871208) at eval.c:5996
#12 0xb68f53fe in rb_longjmp (tag=6, mesg=3061026308) at eval.c:4360
#13 0xb68f5653 in rb_exc_raise (mesg=0) at eval.c:4408
#14 0xb68e6939 in rb_raise (exc=3061208068, 
    fmt=0xb696545d "invalid value for %s: %s") at error.c:1008
#15 0xb68e711f in rb_invalid_str (str=0x925a728 "grid", 
    type=0xb6969ace "Float()") at error.c:748
#16 0xb691cae9 in rb_cstr_to_dbl (p=0x925a728 "grid", badcheck=2)
    at object.c:205
#17 0xb691cb8c in rb_str_to_dbl (str=3061033568, badcheck=2) at object.c:2123
#18 0xb691cc82 in rb_Float (val=0) at object.c:2140
#19 0xb68f387f in rb_call0 (klass=3061222548, recv=0, id=3341, oid=0, argc=1, 
    argv=0xbfd342f0, body=0xb67684c4, flags=0) at eval.c:5445
#20 0xb68f40aa in rb_call (klass=3061222548, recv=0, mid=3341, argc=1, 
    argv=0xbfd342f0, scope=1) at eval.c:5818
#21 0xb68f0037 in rb_eval (self=0, n=0x0) at ruby.h:664
#22 0xb68f24da in rb_eval (self=0, n=0x0) at eval.c:3119
#23 0xb68f3ca0 in rb_call0 (klass=3061222688, recv=0, id=12541, oid=0, argc=1, 
    argv=0xbfd353c0, body=0xb6749e20, flags=0) at eval.c:5726
#24 0xb68f40aa in rb_call (klass=3061222688, recv=0, mid=12541, argc=1, 
    argv=0xbfd353c0, scope=1) at eval.c:5818
#25 0xb68f4cf6 in rb_funcall (recv=0, mid=12541, n=1) at ruby.h:664
#26 0xb6468be7 in GridFlow_handle_braces (rself=0, argv=3061033608)
    at base/main.c.fcs:445
#27 0xb646ad1a in send_in_2 (h=0xbfd35700) at base/main.c.fcs:155
#28 0xb68e9fea in rb_ensure (b_proc=0xb646ac80 <send_in_2>, data1=3218298624, 
    e_proc=0xb6467d90 <send_in_3>, data2=3218298624) at eval.c:5257
#29 0xb64674c2 in FObject::send_in (this=0x0, argc=0, argv=0x0)
    at base/main.c.fcs:183
#30 0xb646c0b8 in FObject::send_in_wrap (argc=6, argv=0xbfd35910, 
    rself=3057295868) at base/main.c.fcs:179
#31 0xb68f38c5 in rb_call0 (klass=3061148088, recv=3057295868,
id=10865,
    oid=0, argc=6, argv=0xbfd35910, body=0xb67562c4, flags=-1237671428)
    at eval.c:5445
#32 0xb68f40aa in rb_call (klass=3061148088, recv=3057295868, mid=10865, 
    argc=6, argv=0xbfd35910, scope=1) at eval.c:5818
#33 0xb7403fd6 in BFObject_method_missing_1 (fm=0xbfd35a94)
    at bridge/puredata.c.fcs:215
#34 0xb68e9e0e in rb_rescue2 (b_proc=0xb7403e40 <BFObject_method_missing_1>, 
    data1=3218299540, r_proc=0xb74032e0 <BFObject_rescue>, data2=3218299540)
    at eval.c:5183
#35 0xb7403aa2 in BFObject_method_missing0 (self=0x8365220, s=0x0, argc=0, 
    argv=0x0) at bridge/puredata.c.fcs:236
#36 0x0809f5e2 in pd_typedmess ()
#37 0x00002951 in ?? ()
#38 0x08283e20 in ?? ()
#39 0xffffffff in ?? ()
#40 0x09258ce8 in ?? ()
#41 0x092af080 in ?? ()
#42 0x00000018 in ?? ()
#43 0x0000bf80 in ?? ()
#44 0xb7407a6e in CObject::check_magic (this=0x1) at grid.h.fcs:394
#45 0x0925a520 in ?? ()
#46 0x00000001 in ?? ()
#47 0x40000000 in ?? ()
#48 0x00000001 in ?? ()
#49 0x42fe0000 in ?? ()
#50 0x00000001 in ?? ()
#51 0x3f800000 in ?? ()
#52 0x083103a0 in ?? ()
#53 0x00000012 in ?? ()
#54 0x00000001 in ?? ()
#55 0x00000001 in ?? ()
#56 0xb7dfccb8 in __malloc_initialize_hook () from /lib/tls/libc.so.6
#57 0xb7dfcab8 in __malloc_initialize_hook () from /lib/tls/libc.so.6
#58 0xb7dfc8b8 in __malloc_initialize_hook () from /lib/tls/libc.so.6
#59 0xbfd35bc4 in ?? ()
#60 0xbfd35b60 in ?? ()
#61 0xbfd35b90 in ?? ()
#62 0x08314a28 in ?? ()
#63 0x00000000 in ?? ()




More information about the Gridflow-dev mailing list