Bugs item #1186531, was opened at 2005-04-20 05:13 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1186531...
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: Pending
Resolution: None Priority: 5 Private: No Submitted By: Tim Blechmann (timblech) Assigned to: Nobody/Anonymous (nobody) Summary: crash when using donecanvasdialog message
Initial Comment: hi all ...
pd crashes, if i send a donecanvasdialog message to a closed subpatch:
|;pd-mysubpatch donecanvasdialog 0 0 1(
works fine (switching on gop)
|;pd-mysubpatch donecanvasdialog 0 0 0(
results in:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 11495)] 0x0805f3d3 in glist_findrtext (gl=0x0, who=0x83dc7f8) at g_rtext.c:332 332 t_rtext *x = gl->gl_editor->e_rtext; (gdb) where #0 0x0805f3d3 in glist_findrtext (gl=0x0, who=0x83dc7f8) at g_rtext.c:332 #1 0x0805a23d in graph_vis (gr=0x83dc7f8, parent_glist=0x83dc718, vis=0) at g_graph.c:665 #2 0x0805a1e5 in graph_vis (gr=0x83dc718, parent_glist=0x84808d0, vis=138266616) at g_graph.c:804 #3 0x0806c81c in canvas_setgraph (x=0x83dc718, flag=0) at g_editor.c:830 #4 0x0806c8a7 in canvas_donecanvasdialog (x=0x83dc718, xperpix=-nan(0x7fffff), yperpix=1, fgraphme=-nan(0x7fffff)) at g_editor.c:872 #5 0x08085671 in pd_typedmess (x=0x83dc718, s=0x83dc8f8, argc=0, argv=0x8108428) at m_class.c:815 #6 0x080882a4 in binbuf_eval (x=0x0, target=0x83dc718, argc=1, argv=0xbff3d9b0) at m_binbuf.c:597 #7 0x0805bfd0 in message_float (x=0x83dc7f8, f=0) at g_text.c:300 #8 0x0808653d in outlet_float (x=0x0, f=0) at m_obj.c:431 #9 0x0807ca3e in toggle_bang (x=0x83de2e8) at g_toggle.c:250 #10 0x0807cbbe in toggle_newclick (z=0x0, glist=0x84808d0, xpix=511, ypix=328, shift=0, alt=0, dbl=0, doit=1) at g_toggle.c:282 #11 0x0806e14b in canvas_doclick (x=0x84808d0, xpos=511, ypos=328, which=1, mod=0, doit=1) at g_editor.c:1036 #12 0x0806eb6a in canvas_mousedown (x=0x0, xpos=511, ypos=328, which=1, mod=0) at g_editor.c:1209 #13 0x08085671 in pd_typedmess (x=0x84808d0, s=0x83dc8f8, argc=0, argv=0x8108408) at m_class.c:815 #14 0x080852b3 in pd_typedmess (x=0x83dcce0, s=0x83dc8f8, argc=4, argv=0x81083e8) at m_class.c:836 #15 0x080882a4 in binbuf_eval (x=0x0, target=0x83dcce0, argc=0, argv=0x0) at m_binbuf.c:597 #16 0x0808e7eb in socketreceiver_read (x=0x822b6a0, fd=5) at s_inter.c:537 #17 0x0808d9fa in sys_domicrosleep (microsec=0, pollem=138266616) at s_inter.c:177 #18 0x0808e404 in sys_pollgui () at s_inter.c:820 #19 0x0808c094 in m_scheduler () at m_sched.c:488 #20 0x0808d841 in sys_main (argc=2, argv=0xbff3f554) at s_main.c:354 #21 0x080918a6 in main (argc=0, argv=0x0) at s_entry.c:27
cheers ... t
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-01-01 20:28
Message: Using Pd-devel 0.43 on Mac OS X 10.5.8, I couldn't reproduce this.
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2005-06-21 05:58
Message: Logged In: YES user_id=564396
i cannot reproduce this. could you post a patch ? (to pd-dev)?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1186531...