Re: Backend crash with tsearch

From: Teodor Sigaev <teodor(at)stack(dot)net>
To: Teodor Sigaev <teodor(at)stack(dot)net>
Cc: "Magnus Naeslund(f)" <mag(at)fbab(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Backend crash with tsearch
Date: 2002-12-03 16:29:25
Message-ID: 3DECDBE5.7060100@stack.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)stack(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2002-12-03 16:34:19 Re: [HACKERS] 7.3 -> pg_atoi: zero-length string
Previous Message Lee Kindness 2002-12-03 16:28:24 Re: 7.3 -> pg_atoi: zero-length string