Subject BLOB_SUBSTR from udflib crashes my FB2.5 on linux x64
Author Ivan Zelensky
I'm compilied example library 'udflib' on my Ubuntu x64:
$gcc -c udflib.c -fPIC
$gcc -shared -Wall -o udflib.so udflib.o

Then declare function:

DECLARE EXTERNAL FUNCTION BLOB_SUBSTR
blob, Integer, Integer
RETURNS CSTRING(1024)
ENTRY_POINT 'fn_blob_substr'
MODULE_NAME 'udflib';

And when I try to use this UDF it crashes my server. But when I did same
things at Ubuntu x32 all works. What I did wrong?

Thanks,
Ivan


[Non-text portions of this message have been removed]