[PD] pd crashes when using expr

Tina Shah surreal8 at hotmail.com
Wed Jun 7 16:02:34 CEST 2006


Ok, thanks!  I will drop one of my expressions and hopefully things won't 
crash.  If a fixed version comes out that would be great since this object 
is very useful.

Tina

----Original Message Follows----
From: Hans-Christoph Steiner <hans at eds.org>
To: "Shahrokh Yadegari" <sdy at ucsd.edu>
CC: surreal8 at hotmail.com, pd-list at iem.at
Subject: Re: [PD] pd crashes when using expr
Date: Wed, 7 Jun 2006 10:45:36 +0200
MIME-Version: 1.0 (Apple Message framework v750)
Received: from wax.eds.org ([64.147.163.246]) by 
bay0-mc5-f15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 7 
Jun 2006 01:45:33 -0700
Received: from [129.102.144.17] (touriste-17.ircam.fr [129.102.144.17])by 
wax.eds.org (Postfix) with ESMTP id C486332400E;Wed,  7 Jun 2006 01:45:32 
-0700 (PDT)
X-Message-Info: LsUYwwHHNt31jPwMDRCwwfI3axVAYJeZg0lE99b5MGU=
References: <28dec0630606070056l60b018c9l8023a4ef4bdef39a at mail.gmail.com>
X-Mailer: Apple Mail (2.750)
Return-Path: hans at eds.org
X-OriginalArrivalTime: 07 Jun 2006 08:45:33.0801 (UTC) 
FILETIME=[BD602D90:01C68A0E]


As long as the fixes are in the CVS, then they will automatically be  
included in Miller's Pd and Pd-extended on  all platforms.

.hc

On Jun 7, 2006, at 9:56 AM, Shahrokh Yadegari wrote:

>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
>_______________________________________________
>PD-list at iem.at mailing list
>UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>listinfo/pd-list


________________________________________________________________________ 
____

Using ReBirth is like trying to play an 808 with a long stick.
                                               -David Zicarelli






More information about the Pd-list mailing list