Hi people: I think I am having a bug in SqueakDBX with mysql backend. SqueakDBX uses FFI to talk to openDBX C library.&nbsp; Sometimes (totally random), after running several times (4 or 5) our 80 tests, I got a segmentation fault. Always in the same function but in different calls. I mean, the same function is called many times (at least one per test). <br>
<br>I don&#39;t know what the problem is and it is very difficult for me to find the cause of the problem. Because of this, I am trying to use valgrind and I have never use it before.<br><br>In all of the valgrind examples I see in internet it uses the C program directly, for example:<br>
<pre class="programlisting">  valgrind --leak-check=yes myprog arg1 arg2<br></pre><br>
But I do it from Squeak using FFI, so, I have no idea where to put the  valgrind :(<br><br>Sorry but I don&#39;t know too much about C.<br><br>Thanks a lot!<br><br>Mariano<br><br><br>