Subject Re: [firebird-support] Firebird 1.5: isql "Segmentation fault" error on a Linux CentOS 5.3 server
Author Ann W. Harrison
On 12/7/2010 7:42 PM, Nando wrote:
> Hi to all,
>
> I'm testing several UDFs (Firebird 1.5) writen in Pascal and compiled with fpc v.2.4.2 but when I'm using isql to execute some querys, some times I get a "Segmentation fault" error and isql exits to the command prompt.
>
> I don't know what this error means, and as it can be seen it has to be with the UDF library I'm writing. I realized that if I run the same querys from within a workstation client application, this error don't occurs at any time.
>

It means you've got a bug in your UDF, probably access
to an uninitialized variable. If that bit of memory
happens to have a valid address in it, the program just
misbehaves ... possibly significantly. When run with
ISQL the value is recognizably bad.

Good luck,

Ann