Well, I&#39;m at a loss, for now.&nbsp; I&#39;ve gone through sqlite.ss and added &#39;raw to every malloc call in the file, and I still get random memory corruption and segmentation violations when running, for example<br>(select&nbsp; *my-db*&nbsp; &quot;select * from&nbsp; my_table where my_index &gt; 600000 and my_index &lt; 1000000&quot;)
<br>where there are 399999 result rows, with two columns, from my_table.&nbsp; <br><br>I thought it might be related to callbacks, but there are no callbacks used in the particular code path I&#39;m testing.&nbsp; It seems to me that something must be going awry when libsqlite3 allocates the space to hold the strings from the query, and sets the pointers allocated by mzscheme to point to this space.&nbsp; Is it possible that the system malloc() is getting shadowed somehow by mzscheme?&nbsp; I know that sounds crazy....
<br><br>By the way, this behavior is not restricted to RHEL3; I see the same problems on Debian Etch.<br><br>Is anybody else here getting substantial, reliable use out of sqlite.plt on 370 or 371?&nbsp; On what platform?<br><br>
Thanks, <br><br>Keith Frost<br>