Subject | Firebird 2.5 Linux UDF problem with ib_util_malloc |
---|---|
Author | kittikira |
Post date | 2011-02-17T19:16:10Z |
Hello,
I just got a problem with UDF on a linux server when move from FB2.1 to FB2.5.
I allready searched the web, but did not find anything that helped me.
In my UDFs I used malloc to allocate memory for returned strings.
Since 2.5 I get an error message, that I should use ib_util_malloc instead of malloc.
So I changed malloc to ib:util_malloc. Now the server crashes when calling such an UDF.
This problems drives me crazy.
Could anybody help me and tell me what do to?
I Use Ubuntu server 10.10, Firebird 2.5.x.
Just installed it today with all the latest versions.
I installed 32bit and 64 bit. Both the same.
Please help.
Kind regards
helmut
I just got a problem with UDF on a linux server when move from FB2.1 to FB2.5.
I allready searched the web, but did not find anything that helped me.
In my UDFs I used malloc to allocate memory for returned strings.
Since 2.5 I get an error message, that I should use ib_util_malloc instead of malloc.
So I changed malloc to ib:util_malloc. Now the server crashes when calling such an UDF.
This problems drives me crazy.
Could anybody help me and tell me what do to?
I Use Ubuntu server 10.10, Firebird 2.5.x.
Just installed it today with all the latest versions.
I installed 32bit and 64 bit. Both the same.
Please help.
Kind regards
helmut