Record speed, thanks and cheers!<br><br><div class="gmail_quote">On Sun, Nov 27, 2011 at 1:53 PM, Peter Brinkmann <span dir="ltr">&lt;<a href="mailto:peter.brinkmann@googlemail.com">peter.brinkmann@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Miller,<br>
Thanks for taking care of this so quickly!  I merged the latest change<br>
and it works.  All is well in libpd-land.<br>
Cheers,<br>
     Peter<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Nov 26, 2011 at 8:08 PM, Miller Puckette &lt;<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>&gt; wrote:<br>
&gt; Hi Rich and all -<br>
&gt;<br>
&gt; I think I&#39;ve tracked that down and fixed it... I just now pushed the change to<br>
&gt; the git repo.<br>
&gt;<br>
&gt; cheers<br>
&gt; Miller<br>
&gt;<br>
&gt; On Sun, Nov 27, 2011 at 11:15:46AM +1100, Rich E wrote:<br>
&gt;&gt; I just wanted to point out that the recent change to glist_delete() (commit<br>
&gt;&gt; here&lt;<a href="http://pure-data.git.sourceforge.net/git/gitweb.cgi?p=pure-data/pure-data;a=blobdiff;f=src/g_graph.c;h=cdebbdc981bb35b24d55baaf4c401254b4c65aea;hp=57db6556efe9f60777f15b9d2e9d8f0c627c4aa0;hb=5c78db0883a3450e1cac727aee422ad7f4dd56eb;hpb=c7fb8e4a06d6253890ca2f73dfe4980c8c88fce9" target="_blank">http://pure-data.git.sourceforge.net/git/gitweb.cgi?p=pure-data/pure-data;a=blobdiff;f=src/g_graph.c;h=cdebbdc981bb35b24d55baaf4c401254b4c65aea;hp=57db6556efe9f60777f15b9d2e9d8f0c627c4aa0;hb=5c78db0883a3450e1cac727aee422ad7f4dd56eb;hpb=c7fb8e4a06d6253890ca2f73dfe4980c8c88fce9</a>&gt;)<br>

&gt;&gt; is causing crashes in libpd when closing patches.  Not sure if it is<br>
&gt;&gt; actually related, but it seems pretty similar to the bug already submitted<br>
&gt;&gt; here&lt;<a href="http://sourceforge.net/tracker/?func=detail&amp;atid=478070&amp;aid=3433140&amp;group_id=55736" target="_blank">http://sourceforge.net/tracker/?func=detail&amp;atid=478070&amp;aid=3433140&amp;group_id=55736</a>&gt;,<br>

&gt;&gt; which appeared a few days after the commit that I linked to.  I&#39;ll place<br>
&gt;&gt; the backtrace here, indicating that there is a stale pointer that is being<br>
&gt;&gt; accessed somewhere (this is on an EXC_BAD_ACCESS):<br>
&gt;&gt;<br>
&gt;&gt; (gdb) bt<br>
&gt;&gt; #0  0x00091e53 in obj_nexttraverseoutlet (lastconnect=0x7124740,<br>
&gt;&gt; destp=0xbfffd4b0, inletp=0xbfffd4b8, whichp=0xbfffd4c0) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/m_obj.c:563<br>
&gt;&gt; #1  0x00035bcd in linetraverser_next (t=0xbfffd4a0) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_canvas.c:258<br>
&gt;&gt; #2  0x00037caa in canvas_deletelinesforio (x=0x71230d0, text=0x7123ab0,<br>
&gt;&gt; inp=0x7123c70, outp=0x0) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_canvas.c:788<br>
&gt;&gt; #3  0x00047009 in canvas_rminlet (x=0x7123ab0, ip=0x7123c70) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_graph.c:311<br>
&gt;&gt; #4  0x00054374 in vinlet_free (x=0x7123c00) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_io.c:86<br>
&gt;&gt; #5  0x000927f2 in pd_free (x=0x7123c00) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/m_pd.c:29<br>
&gt;&gt; #6  0x00046605 in glist_delete (x=0x7123ab0, y=0x7123c00) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_graph.c:122<br>
&gt;&gt; #7  0x00037892 in canvas_free (x=0x7123ab0) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_canvas.c:709<br>
&gt;&gt; #8  0x000927f2 in pd_free (x=0x7123ab0) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/m_pd.c:29<br>
&gt;&gt; #9  0x00046605 in glist_delete (x=0x71230d0, y=0x7123ab0) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_graph.c:122<br>
&gt;&gt; #10 0x00037892 in canvas_free (x=0x71230d0) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_canvas.c:709<br>
&gt;&gt; #11 0x000927f2 in pd_free (x=0x71230d0) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/m_pd.c:29<br>
&gt;&gt; #12 0x000bdfe7 in libpd_closefile (x=0x71230d0) at<br>
&gt;&gt; /Users/r/code/pd/Libpd/pd-for-ios/libpd/libpd_wrapper/z_libpd.c:343<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Rich<br>
&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Pd-dev mailing list<br>
&gt;&gt; <a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br>
&gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pd-dev mailing list<br>
&gt; <a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
&gt;<br>
</div></div></blockquote></div><br>