Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Magnus Naeslund(f)" <mag@fbab.net> writes:
>> The backend dies in a segfault.
>
>> Backtrace:
>
>> #0 0x02d10000 in ?? ()
>> #1 0x401faf48 in ?? ()
>> #2 0x401fb5e6 in ?? ()
>> #3 0x080d8f5c in ExecMakeFunctionResult (fcache=0x82d3710,
>> arguments=0x82ce170, econtext=0x82d3580, isNull=0xbfffec8f "",
>> isDone=0xbfffecd8) at execQual.c:839
>
> Did you compile tsearch with debug support? If so, the lack of any
> symbolic info here must mean that gdb didn't know where to find the
> tsearch .so module. You could get a more useful trace by telling
> gdb
> sharedlibrary /path/to/tsearch.so
>
> regards, tom lane
>
I'm working on it (--enable-debug --enable-cassert).
It's either that it can't load the lib (shouldn't it complain?) or it's
a bad pointer.
We'll find out, i hope...
Magnus