Hi Thomas,<div>Don&#39;t suppose you ever figured this out?</div><div>Cheers</div><div>Luke<br><br><div><span class="gmail_quote">On 5/17/07, <b class="gmail_sendername">Luke Iannini (pd)</b> &lt;<a href="mailto:lukexipd@gmail.com">
lukexipd@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Great!&nbsp;&nbsp;Hope it is not too painful : )<br>Thanks!<br>Luke<br>On 5/9/07, Thomas Grill &lt;
<a href="mailto:gr@grrrr.org">gr@grrrr.org</a>&gt; wrote:<br>&gt; Hi Luke,<br>&gt; thanks for the report.<br>&gt; It&#39;s a typical buffer overrun (caused by a loooong line of data),<br>&gt; making quick-and-dirty code choke.
<br>&gt; I hope to fix it shortly, please stand by!<br>&gt; greetings, Thomas<br>&gt;<br>&gt; Am 09.05.2007 um 04:24 schrieb Luke Iannini (pd):<br>&gt;<br>&gt; &gt; Hi Thomas (and list),<br>&gt; &gt; I have run into what appears to be a limitation with [pool], namely
<br>&gt; &gt; that it crashes with something around ~780 characters loaded from a<br>&gt; &gt; file as values in a key.<br>&gt; &gt;<br>&gt; &gt; I ran into this loading a particularly long list in Memento.&nbsp;&nbsp;I&#39;ve<br>&gt; &gt; attached a patch and a file from which to load to experience the
<br>&gt; &gt; crash.&nbsp;&nbsp;The file is just a little over the character count needed to<br>&gt; &gt; crash it (it seems to be between 780 and 800?).&nbsp;&nbsp;It does not seem to<br>&gt; &gt; be a function of the number of elements in the list, but rather the
<br>&gt; &gt; length of the text in those elements.&nbsp;&nbsp;Shorten a few of the values in<br>&gt; &gt; the list and it loads right up.<br>&gt; &gt;<br>&gt; &gt; I&#39;m also pretty sure this is a per-key limitation, as memento&#39;s lddir
<br>&gt; &gt; first loads files into /tmp before copying them into the proper key.<br>&gt; &gt; I&#39;ve used that with a file that was just under the crashing length and<br>&gt; &gt; that worked fine (loaded into two keys).
<br>&gt; &gt;<br>&gt; &gt; I have tested this on both my PPC Mac and my Intel Mac; maybe others<br>&gt; &gt; can check it out too?<br>&gt; &gt;<br>&gt; &gt; (also to clarify, the problem occurs when loading data from a file;
<br>&gt; &gt; data of any length (that I&#39;ve tried) makes it into the pool without<br>&gt; &gt; issue, and saves without issue)<br>&gt; &gt;<br>&gt; &gt; Thanks!<br>&gt; &gt; Luke<br>&gt; &gt; &lt;PoolCrash.pd&gt;<br>&gt; &gt; &lt;CoscNearlyAll&gt;
<br>&gt;<br>&gt; Thomas Grill<br>&gt; <a href="http://grrrr.org">http://grrrr.org</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; <a href="mailto:PD-list@iem.at">PD-list@iem.at</a>
 mailing list<br>&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info">http://lists.puredata.info</a>/listinfo/pd-list<br>&gt;<br></blockquote></div><br></div>