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"><<a href="mailto:peter.brinkmann@googlemail.com">peter.brinkmann@googlemail.com</a>></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 <<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>> wrote:<br>
> Hi Rich and all -<br>
><br>
> I think I've tracked that down and fixed it... I just now pushed the change to<br>
> the git repo.<br>
><br>
> cheers<br>
> Miller<br>
><br>
> On Sun, Nov 27, 2011 at 11:15:46AM +1100, Rich E wrote:<br>
>> I just wanted to point out that the recent change to glist_delete() (commit<br>
>> here<<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>>)<br>
>> is causing crashes in libpd when closing patches. Not sure if it is<br>
>> actually related, but it seems pretty similar to the bug already submitted<br>
>> here<<a href="http://sourceforge.net/tracker/?func=detail&atid=478070&aid=3433140&group_id=55736" target="_blank">http://sourceforge.net/tracker/?func=detail&atid=478070&aid=3433140&group_id=55736</a>>,<br>
>> which appeared a few days after the commit that I linked to. I'll place<br>
>> the backtrace here, indicating that there is a stale pointer that is being<br>
>> accessed somewhere (this is on an EXC_BAD_ACCESS):<br>
>><br>
>> (gdb) bt<br>
>> #0 0x00091e53 in obj_nexttraverseoutlet (lastconnect=0x7124740,<br>
>> destp=0xbfffd4b0, inletp=0xbfffd4b8, whichp=0xbfffd4c0) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/m_obj.c:563<br>
>> #1 0x00035bcd in linetraverser_next (t=0xbfffd4a0) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_canvas.c:258<br>
>> #2 0x00037caa in canvas_deletelinesforio (x=0x71230d0, text=0x7123ab0,<br>
>> inp=0x7123c70, outp=0x0) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_canvas.c:788<br>
>> #3 0x00047009 in canvas_rminlet (x=0x7123ab0, ip=0x7123c70) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_graph.c:311<br>
>> #4 0x00054374 in vinlet_free (x=0x7123c00) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_io.c:86<br>
>> #5 0x000927f2 in pd_free (x=0x7123c00) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/m_pd.c:29<br>
>> #6 0x00046605 in glist_delete (x=0x7123ab0, y=0x7123c00) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_graph.c:122<br>
>> #7 0x00037892 in canvas_free (x=0x7123ab0) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_canvas.c:709<br>
>> #8 0x000927f2 in pd_free (x=0x7123ab0) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/m_pd.c:29<br>
>> #9 0x00046605 in glist_delete (x=0x71230d0, y=0x7123ab0) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_graph.c:122<br>
>> #10 0x00037892 in canvas_free (x=0x71230d0) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/g_canvas.c:709<br>
>> #11 0x000927f2 in pd_free (x=0x71230d0) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/pure-data/src/m_pd.c:29<br>
>> #12 0x000bdfe7 in libpd_closefile (x=0x71230d0) at<br>
>> /Users/r/code/pd/Libpd/pd-for-ios/libpd/libpd_wrapper/z_libpd.c:343<br>
>><br>
>><br>
>> Cheers,<br>
>> Rich<br>
><br>
>> _______________________________________________<br>
>> Pd-dev mailing list<br>
>> <a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br>
>> <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
><br>
><br>
> _______________________________________________<br>
> Pd-dev mailing list<br>
> <a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br>
> <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
><br>
</div></div></blockquote></div><br>