On 6. april. 2008, at 22.04, Paul J Stevens wrote:
Found what caused the segfault.
A bug in my own code. Thing is I assigned a value to an out-of-bounds parameter. Doing so causes segfaults in the ResetSet_free code. Would it be possible to raise an SQLException in those cases instead?
libzdb should already throw an exception in that case, but unfortunately, both in mysql and postgresql we had an off-by-one bug when testing parameter and column index, so your invalid parameter index slipped through. A bug fix is checked in.