hy olaf / or others
having a problem with arbran from maxlib, using pd from cvs (from a couple of days ago). thats whats being executed in arbran:
1) if ((b = (t_garray *)pd_findbyclass(x->x_x, garray_class))) { post("arbran: array set to "%s"", x->x_x->s_name); x->x_bufx = b; 2) t_garray *bx = x->x_bufx 3) if (!garray_getfloatarray(bx, &ix, &tx))
resulting in
Program received signal SIGSEGV, Segmentation fault. 0x0805fa41 in garray_template (x=0x0) at g_array.c:783 783 t_template *template = template_findbyname(x->x_templatesym); Current language: auto; currently c (gdb) bt #0 0x0805fa41 in garray_template (x=0x0) at g_array.c:783 #1 0x0805fa8e in garray_getfloatarray (x=0x0, size=0xbfffee34, vec=0xbfffee38) at g_array.c:804 #2 0x4282571a in rand_arbran_bang (x=0x8912e58) at src/arbran.c:90 ...
any help apprec .. b,j
d.lj wrote:
#0 0x0805fa41 in garray_template (x=0x0) at g_array.c:783 #1 0x0805fa8e in garray_getfloatarray (x=0x0, size=0xbfffee34, vec=0xbfffee38) at g_array.c:804 #2 0x4282571a in rand_arbran_bang (x=0x8912e58) at src/arbran.c:90
Does this happen in case you bang a [arbran] object (with no arrays specified) or a [arbran array1 array2] with both arrays existing? Which version of Pd are you using?
Olaf
[Olaf Matthes]->[Re: [PD-dev] maxlib/arbran + pd.cvs]->[04-01-26 20:08]
|d.lj wrote: | |>#0 0x0805fa41 in garray_template (x=0x0) at g_array.c:783 |>#1 0x0805fa8e in garray_getfloatarray (x=0x0, size=0xbfffee34, vec=0xbfffee38) at g_array.c:804 |>#2 0x4282571a in rand_arbran_bang (x=0x8912e58) at src/arbran.c:90 |> | |Does this happen in case you bang a [arbran] object (with no arrays |specified) or a [arbran array1 array2] with both arrays existing? Which |version of Pd are you using?
remote spiritual healing. that was of course the reason, _and_ its not the first time i had this. i just commited a fix in arbran.c into cvs, you might wanna check it.
it looks like
if(!bx || !bp) { post("arbran: no arrays: pdfscale!"); return; }
b,j