[PD-dev] [ pure-data-Bugs-3436716 ] Calling a tclpd with a namespace prefix crashes Pd

SourceForge.net noreply at sourceforge.net
Sat Nov 12 00:18:58 CET 2011


Bugs item #3436716, was opened at 2011-11-11 15:18
Message generated for change (Tracker Item Submitted) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3436716&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: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: mescalinum (mescalinum)
Summary: Calling a tclpd with a namespace prefix crashes Pd

Initial Comment:
If I create an tclpd object using a namespace prefix (i.e. tclfile/mkdir), it crashes Pd. Here's a backtrace:

0   pd                            	0x00029bc9 pd_new + 25
1   tclpd.pd_darwin               	0x00789924 tclpd_new + 81
2   pd                            	0x0002b6fa pd_typedmess + 1418
3   pd                            	0x0002b8b3 new_anything + 419
4   pd                            	0x0002b4a8 pd_typedmess + 824
5   pd                            	0x0002f8bd binbuf_eval + 1565
6   pd                            	0x00009de0 canvas_objtext + 96
7   pd                            	0x0000d704 text_setto + 260
8   pd                            	0x00022c2f glist_deselect + 335
9   pd                            	0x00022d5e glist_noselect + 46
10  pd                            	0x00024de6 canvas_doclick + 2694
11  pd                            	0x000253ad canvas_mouse + 61
12  pd                            	0x0002b5bb pd_typedmess + 1099
13  pd                            	0x0002b4a8 pd_typedmess + 824
14  pd                            	0x0002f8bd binbuf_eval + 1565
15  pd                            	0x00038508 socketreceiver_read + 952
16  pd                            	0x00037439 sys_domicrosleep + 409
17  pd                            	0x00038041 sys_pollgui + 33
18  pd                            	0x00034a47 m_mainloop + 327
19  pd                            	0x00036aab sys_main + 1675
20  pd                            	0x00001ffb _start + 209
21  pd                            	0x00001f29 start + 41

This would be a good opportunity to support having a multi-tiered namespace for the class name, i.e. tclfile::exists, then $self could be based on that, so that self would be something like tclfile::exists::x0 or ::tclpd::tclfile::exists::x0 rather than ::tclpd.exists.x0


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

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



More information about the Pd-dev mailing list