[PD-dev] [ pure-data-Bugs-3437312 ] Deleting abstraction in a subpatch crashes Pd

SourceForge.net noreply at sourceforge.net
Sun Nov 13 15:51:09 CET 2011


Bugs item #3437312, was opened at 2011-11-13 06:51
Message generated for change (Tracker Item Submitted) made by reduzent
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3437312&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: 5
Private: No
Submitted By: Roman Haefeli (reduzent)
Assigned to: Nobody/Anonymous (nobody)
Summary: Deleting abstraction in a subpatch crashes Pd

Initial Comment:
Steps to reproduce the crash:

1) pd -noprefs -open crasherbug/CRASHERPATCH.pd
2) Open the [pd some_tilde_abstraction] subpatch
3) Delete the [mx-aux-send] object.
  --> Segfault

This happens on / with:
 - Ubuntu 11.04
 - Pd-0.43test5

Some additional notes:
 - This does _not_ crash the previous release (Pd-0.43test4)
 - The crash can be prevented by disconnecting the signal-wires before deleting [mx-aux-send]
 -  It seems that some abstractions inside [netpd_f] are necessary to make the crash happen. 

gdb backtrace:
#0  0x0809b08a in obj_ninlets (x=0x812f888) at m_obj.c:540
#1  0x0805936d in linetraverser_next (t=0xbfffe750) at g_canvas.c:260
#2  0x0805ad87 in canvas_deletelinesforio (x=0x812f738, text=0x812dd60, inp=0x812dcd8, outp=0x0) at g_canvas.c:788
#3  0x0805d6f7 in canvas_rminlet (x=0x812dd60, ip=0x812dcd8) at g_graph.c:311
#4  0x080705b5 in vinlet_free (x=0x8130928) at g_io.c:86
#5  0x08097cfd in pd_free (x=0x8130928) at m_pd.c:29
#6  0x0805d04d in glist_delete (x=0x812dd60, y=0x8130928) at g_graph.c:122
#7  0x0805aa25 in canvas_free (x=0x812dd60) at g_canvas.c:709
#8  0x08097cfd in pd_free (x=0x812dd60) at m_pd.c:29
#9  0x0805d04d in glist_delete (x=0x812f738, y=0x812dd60) at g_graph.c:122
#10 0x0805aa25 in canvas_free (x=0x812f738) at g_canvas.c:709
#11 0x08097cfd in pd_free (x=0x812f738) at m_pd.c:29
#12 0x0805d04d in glist_delete (x=0x812d6b0, y=0x812f738) at g_graph.c:122
#13 0x0805aa25 in canvas_free (x=0x812d6b0) at g_canvas.c:709
#14 0x08097cfd in pd_free (x=0x812d6b0) at m_pd.c:29
#15 0x0805d04d in glist_delete (x=0x812e0d0, y=0x812d6b0) at g_graph.c:122
#16 0x0805fd9b in graph_delete (z=0x812e0d0, glist=0x812cba8) at g_graph.c:992
#17 0x08076f7d in gobj_delete (x=0x812e0d0, glist=0x812cba8) at g_editor.c:66
#18 0x0805cfa9 in glist_delete (x=0x812cba8, y=0x812e0d0) at g_graph.c:110
#19 0x0807cfb2 in canvas_doclear (x=0x812cba8) at g_editor.c:2251
#20 0x0807ba5e in canvas_key (x=0x812cba8, s=0x811ae88, ac=3, av=0xbffff004) at g_editor.c:1773
#21 0x080997a1 in pd_typedmess (x=0x812cba8, s=0x811ae88, argc=3, argv=0xbffff004) at m_class.c:685
#22 0x08074ba6 in guiconnect_anything (x=0x812f630, s=0x811ae88, ac=3, av=0xbffff004) at g_guiconnect.c:70
#23 0x08099c57 in pd_typedmess (x=0x812f630, s=0x811ae88, argc=3, argv=0xbffff004) at m_class.c:769
#24 0x0809d704 in binbuf_eval (x=0x81290b8, target=0x812f630, argc=0, argv=0x0) at m_binbuf.c:722
#25 0x080a5c5f in socketreceiver_read (x=0x812b550, fd=6) at s_inter.c:551
#26 0x080a51ca in sys_domicrosleep (microsec=5000, pollem=1) at s_inter.c:191
#27 0x080a523c in sys_microsleep (microsec=5000) at s_inter.c:213
#28 0x080a2c3b in m_pollingscheduler () at m_sched.c:508
#29 0x080a2d9b in m_mainloop () at m_sched.c:568
#30 0x080a34ae in sys_main (argc=4, argv=0xbffff3f4) at s_main.c:302
#31 0x080ab17b in main (argc=4, argv=0xbffff3f4) at s_entry.c:32


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

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



More information about the Pd-dev mailing list