[PD-dev] [ pure-data-Patches-1654666 ] sending a cut message to an "invisible" subpatch makes crash

SourceForge.net noreply at sourceforge.net
Mon Aug 31 00:34:18 CEST 2009


Patches item #1654666, was opened at 2007-02-07 15:08
Message generated for change (Comment added) made by millerpuckette
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1654666&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: puredata
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Matteo Sisti Sette (sistisette)
Assigned to: Miller Puckette (millerpuckette)
Summary: sending a cut message to an "invisible" subpatch makes crash

Initial Comment:
If you have a subpatch, and send a "cut" message to it when it is not in "visible" state (i.e. it is not open), pd crashes.

This may happen when using scripting, if for example you send a "find foo" message followed by a "cut" message. If the object does not exist (and the subpatch hasn't been made explicitly visible), the cut message will reach the canvas when it is invisible.

See the attached example.

Tested on 0.40.2 on Windows XP.

Matteo Sisti Sette

matteo dot sistisette at email dot it

----------------------------------------------------------------------

>Comment By: Miller Puckette (millerpuckette)
Date: 2009-08-30 15:34

Message:
fixed this slightly differently.  (Hannes -- the vis/invis editor
allocation and deallocation
code is so complicated I'm afraid to try to enable "edits" on invis
windows.  Instead I
want to write a "delete-in-rectangle" message optimized for scripting.

----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2009-01-28 10:09

Message:
raised priority since this bothers me right now!

miller: any chance to get selection/copy/paste/... to work with closed
patches?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1654666&group_id=55736




More information about the Pd-dev mailing list