<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I experienced also seg faults with 370. However, I only noticed<br>
them while using threads. I think I've solved them in the sqlite driver.<br>
Maybe that helps? Have a go with sqld-sqlite.plt.<br>
<br>
--Hans<br>
<br>
<br>
<br>
Keith Frost schreef:
<blockquote
cite="mid:17824a080708311015x38cc1812t38792ff711817b57@mail.gmail.com"
type="cite">Well, I'm at a loss, for now. I've gone through sqlite.ss
and added 'raw to every malloc call in the file, and I still get random
memory corruption and segmentation violations when running, for example<br>
(select *my-db* "select * from my_table where my_index > 600000
and my_index < 1000000")
<br>
where there are 399999 result rows, with two columns, from my_table. <br>
<br>
I thought it might be related to callbacks, but there are no callbacks
used in the particular code path I'm testing. 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. Is it possible that the system
malloc() is getting shadowed somehow by mzscheme? 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? On what platform?<br>
<br>
Thanks, <br>
<br>
Keith Frost<br>
<pre wrap="">
<hr size="4" width="90%">
_________________________________________________
For list-related administrative tasks:
<a class="moz-txt-link-freetext" href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a>
</pre>
</blockquote>
</body>
</html>