From: | "Fendris" <f(dot)fendris(at)gmail(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #5111: Segmentation fault, if to_tsvector returns empty row to ts_stat |
Date: | 2009-10-13 09:46:18 |
Message-ID: | 200910130946.n9D9kIlE099184@wwwmaster.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 5111
Logged by: Fendris
Email address: f(dot)fendris(at)gmail(dot)com
PostgreSQL version: 8.4.1
Operating system: x86_64 Debian 5.0.3
Description: Segmentation fault, if to_tsvector returns empty row to
ts_stat
Details:
example SQL:
SELECT * from ts_stat('SELECT to_tsvector(''simple'','''')');
Core:
Core was generated by `postgres: postgres postgres [local] SELECT
'.
Program terminated with signal 11, Segmentation fault.
[New process 30914]
#0 ts_setup_firstcall (fcinfo=<value optimized out>, funcctx=0x1e96290,
stat=0x1e962e0) at tsvector_op.c:965
965 tsvector_op.c: No such file or directory.
in tsvector_op.c
(gdb) info locals
tupdesc = <value optimized out>
oldcontext = (MemoryContext) 0x1ec8ca0
node = (StatEntry *) 0x0
(gdb) print
The history is empty.
(gdb) info args
fcinfo = <value optimized out>
funcctx = (FuncCallContext *) 0x1e96290
stat = (TSVectorStat *) 0x1e962e0
(gdb) list
960 in tsvector_op.c
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2009-10-13 11:39:11 | Re: Kerberos authentication, Active Directory, and PostgreSQL |
Previous Message | Balazs Klein | 2009-10-13 07:31:45 | Re: BUG #5108: plpgsql function name conflict with table alias |