[PD] pd crashes when using expr

Shahrokh Yadegari sdy at ucsd.edu
Wed Jun 7 09:56:47 CEST 2006


Tina,

Yes, it seems that this a bug in expr object due to a boundary condition.
Expr was written to handle 10 expressions, and print a warning if more
expressions were supplied, but the code can only handle 8 expressions right
now. I am not setup to compile for windows. If you (or anybody else who may
have run into this problem and needs a fixed version) can compile for
windows, I can send you corrected source files, otherwise I suggest that you
edit your file with an editor and drop one of the expressions from the expr
list (the first one? which is only passing the first inlet).

I will fix this shortly and put out a new version (for linux and darwin) on
my website.

cheers,
Shahrokh.

Message: 10
Date: Wed, 07 Jun 2006 01:38:47 -0500
From: "Tina Shah" <surreal8 at hotmail.com>
Subject: [PD] pd crashes when using expr
To: pd-list at iem.at
Message-ID: <BAY102-F21E4AA36B45DE413CCA530
>
> 998A0 at phx.gbl>
> Content-Type: text/plain; charset="us-ascii"
>
> hi list, i'm trying to use the expr object in my little app to figure out
> the range of incoming h values (hsv) - i.e.- if ($f1 > 0 && $f1 < 0.05, 1,
> 0);  right now i have 9 of these types of if statements.  when running the
> program things don't work properly.  pd crashes when i go to edit the expr
> part or when i destroy the gem window.  also while running the app i get
> these errors:
> error: expr: ex_eval: unexpected type 0
> expr: bang: unrecognized result 881328160
> the file attached is the file i'm working with.  please let me know if
> anyone has any ideas of what might be wrong.  i'm using windows xp, pd
> .39-2
> and gem .90.
>
> thanks!
>
> -tina
>


Shahrokh Yadegari
Theatre and Dance Department
University of California, San Diego
Center for Research in Computing and the Arts (CRCA)
California Institute for Telecommunications and Information Technologies
(Cal-IT2)
http://crca.ucsd.edu/~yadegari
Email: sdy at ucsd.edu
Tel: (858) 822-4113
Fax: (858) 534-1080
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060607/d453fbc3/attachment.htm>


More information about the Pd-list mailing list