Teodor Sigaev wrote:
> Does it crashed?
> # select txt2txtidx('Can - Live 1971-77');
>
>
> Line txtidx.c:366 :
> lemm = lemmatize(token, &lenlemm, type);
>
> lemmatize() is defined in morph.c. Did you use another modules for
> postgresql?
>
> It seems to me that we see a name conflict. Function lemmatize is
> defined in somewhere also.
>
>
> Magnus Naeslund(f) wrote:
>
>> More info, the gdb> sharedlibrary loaded some more symbols:
>>
>> (gdb) bt
>> #0 0x02d10000 in ?? ()
>> #1 0x401faf48 in parsetext (prs=0xbfffea60, buf=0x4277eb3c "Can - Live
>> 1971-77", buflen=18) at txtidx.c:366
>> #2 0x401fb5e6 in txt2txtidx (fcinfo=0xbfffeaf0) at txtidx.c:487
>> #3 0x080ec45c in ExecMakeFunctionResult (fcache=0x83172bc,
>> arguments=0x831187c, econtext=0x8317114, isNull=0xbfffec8f "",
>> isDone=0xbfffecd8) at execQual.c:839
Pointers 0x40* - functions in tsearch.so, 0x08 - postgres file.
So first string '#0 0x02d10000 in ?? ()' has pointer to 'black hole'.....
Very strange....
--
Teodor Sigaev
teodor@stack.net