Menu

#124 sending a cut message to an "invisible" subpatch makes crash

closed-fixed
puredata (385)
7
2009-09-14
2007-02-07
sistisette
No

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

Discussion

  • sistisette

    sistisette - 2007-02-07
     
  • IOhannes m zmölnig

    raised priority since this bothers me right now!

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

     
  • IOhannes m zmölnig

    • priority: 5 --> 7
    • assigned_to: nobody --> millerpuckette
     
  • IOhannes m zmölnig

    diff against todays SVN to avoid the crash

     
  • IOhannes m zmölnig

    • milestone: 665707 -->
     
  • IOhannes m zmölnig

    • labels: 680482 --> puredata
     
  • Miller Puckette

    Miller Puckette - 2009-08-30

    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.

     
  • Miller Puckette

    Miller Puckette - 2009-08-30
    • status: open --> pending-fixed
     
  • Anonymous

    Anonymous - 2009-09-10

    Miller, if I were against you, I'd suggest that you make a "delete-in-rectangle" message optimised for scripting.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel