Marko Ristola <Marko.Ristola@kolumbus.fi> writes:
> I don't know the reason, but that seems to be the problem, that I have
> found.
> isql crashes under conninfo_parse() on line "free(buf)".
In my experience, this is probably a symptom of some code scribbling
past the end of a malloc'd chunk of memory. What is usually right after
the end of a malloc'd chunk is a portion of malloc's own data
structures, and clobbering that data structure is highly likely to
result in a crash in a later call to malloc, free, or related routines.
You might try running the code under something like Electric Fence.
regards, tom lane