[PD-dev] [ pure-data-Bugs-1804500 ] [lister] may give different outputs for the same bang
SourceForge.net
noreply at sourceforge.net
Tue Oct 9 18:59:39 CEST 2007
Bugs item #1804500, was opened at 2007-09-28 22:26
Message generated for change (Settings changed) made by zmoelnig
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1804500&group_id=55736
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: externals
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: IOhannes m zmölnig (zmoelnig)
Summary: [lister] may give different outputs for the same bang
Initial Comment:
It seems that the output of [lister] is reevaluated for each different outgoing connection of its outlet.
If its cold inlet is changed in between because of the depth-first traversal, it can therefore output different values for each outgoing connection from a single "bang" on its hot inlet.
See the attached patch for a demo.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2007-10-01 13:12
Message:
Logged In: YES
user_id=564396
Originator: NO
should be fixed in recent CVS
----------------------------------------------------------------------
Comment By: Frank Barknecht (fbar)
Date: 2007-09-30 12:07
Message:
Logged In: YES
user_id=569446
Originator: NO
Attached is another example patch, which is dependency-free and uses a
clearer way to specify execution order without relying on creation order.
File Added: bug_with_lister.pd
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2007-09-29 22:22
Message:
Logged In: YES
user_id=564396
Originator: NO
while you have truely triggered a bug, you are quite right in your example
patch about "i have to do this to fix it"; you should never ever (repeat:
NEVER EVER) connect 1 message outlet to 2 signal outlets. there are weird
and wild things out there...
oh: and it would be nice to have a demo patch that actually works without
having list-abs installed
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1804500&group_id=55736
More information about the Pd-dev
mailing list