[PD-dev] [ pure-data-Bugs-1191610 ] subpatch rename

SourceForge.net noreply at sourceforge.net
Tue Sep 16 10:06:48 CEST 2008


Bugs item #1191610, was opened at 2005-04-28 12:28
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1191610&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: Nobody/Anonymous (nobody)
Assigned to: Miller Puckette (millerpuckette)
Summary: subpatch rename

Initial Comment:
1 create a subpatch (pd sub).
2 create object (ctl 1) click only once into the canvas 
(the object is still blue)
3 rename the subpatch to a unknown object (trtrtrtrtr)
4 pd freezes.
marius.schebella_at_chello.at


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

>Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2008-09-16 10:06

Message:
the problem is that glist_noselect() is called recursively and thus it's
inner while-loop does not return (since glist_deselect() immediately quits
and therefore the terminating condition (which should be set within
glist_deselect()) is never met.

a quick and dirty hack is to comment out the line g_editor.c:174 ("if
(reenter) return;" in glist_deselect())

however, the re-entrance code seems to be there on purpose, so i guess, my
"solution" is NOT recommended.

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

Comment By: marius schebella (mariusschebella)
Date: 2008-09-16 05:12

Message:
just had a dj vu. this bug is still freezing Pd.

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

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2007-10-16 13:35

Message:
Logged In: YES 
user_id=564396
Originator: NO

raised priority since it (still) hangs Pd

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

Comment By: ClaudiusMaximus (claudiusmaximus)
Date: 2005-11-09 00:33

Message:
Logged In: YES 
user_id=769033

I just ran into this bug (or related bug):

1. create a subpatch [pd test]
2. create a couple of number boxes in the subpatch
3. click into the canvas of the subpatch
4. select the number boxes in the subpatch
5. click into the [pd test] box and rename it to the object
[mtof]
6. on clicking into the canvas, Pd hangs:

Pd version 0.39-1
compiled 05:20:44 Nov  7 2005

(gdb) where
#0  glist_deselect (x=0x828b2a0, y=0x8289178) at g_editor.c:215
#1  0x08086de1 in glist_noselect (x=0x828b2a0) at g_editor.c:222
#2  0x0805961c in canvas_free (x=0x828b2a0) at g_canvas.c:873
#3  0x080a4387 in pd_free (x=0x828b2a0) at m_pd.c:33
#4  0x0805c2a9 in glist_delete (x=0x8249318, y=0x828b2a0) at
g_graph.c:120
#5  0x08062b82 in text_setto (x=0x0, glist=0x8249318, 
    buf=0x4b <Address 0x4b out of bounds>, bufsize=54) at
g_text.c:1293
#6  0x080818c1 in glist_deselect (x=0x8249318, y=0x828b2a0)
at g_editor.c:207
#7  0x08083229 in canvas_doclick (x=0x8249318, xpos=115,
ypos=82, which=1, 
    mod=137019608, doit=1) at g_editor.c:222
#8  0x080875db in canvas_mousedown (x=0x8295a88, xpos=0,
ypos=0, which=0, 
    mod=0) at g_editor.c:1252
#9  0x080a54ed in pd_typedmess (x=0x8249318, s=0x82ac0c8,
argc=136614680, 
    argv=0x42e60000) at m_class.c:728
#10 0x080a53b6 in pd_typedmess (x=0x82bfc90, s=0x82ac0c8,
argc=4, 
    argv=0x81266e8) at m_class.c:749
#11 0x080a8894 in binbuf_eval (x=0x8295a88,
target=0x82bfc90, argc=0, argv=0x0)
    at m_binbuf.c:574
#12 0x080b0cf0 in socketreceiver_read (x=0x8243228, fd=0) at
s_inter.c:540
#13 0x080b28bf in sys_domicrosleep (microsec=136927880,
pollem=1)
    at s_inter.c:180
#14 0x080b1f58 in sys_microsleep (microsec=136927880) at
s_inter.c:202
#15 0x080ad6cf in m_scheduler () at m_sched.c:487
#16 0x080b80db in main (argc=136927880, argv=0x8295a88) at
s_entry.c:27


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

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




More information about the Pd-dev mailing list