Re: Text search segmentation fault

From: Tommy Gildseth <tommy(dot)gildseth(at)usit(dot)uio(dot)no>
To:
Cc: General Postgres Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Text search segmentation fault
Date: 2009-01-29 14:48:48
Message-ID: 4981C1D0.6010508@usit.uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Teodor Sigaev wrote:
>> How do I make a backtrace?
>
> - if you have coredump, just execute gdb /PATH1/postgres gdb /PATH2/core
> and type bt. Linux doesn't make core by default, so you allow to do it
> by ulimit -c unlimited for postgresql user
> - connect to db, and attach gdb to backend process: gdb /PATH1/postgres
> BACKEND_PID and type run in gdb, next, execute CREATE DICTIONARY and
> type bt in gdb

I am completely unfamiliar with gdb, but hopefully, this is what you are
after?

(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182898870848 (LWP 606)]
0x00000000005a6f65 in makeCompoundFlags ()
(gdb) bt
#0 0x00000000005a6f65 in makeCompoundFlags ()
#1 0x00000000005a712a in mkSPNode ()
#2 0x00000000005a709b in mkSPNode ()
#3 0x00000000005a709b in mkSPNode ()
#4 0x00000000005a709b in mkSPNode ()
#5 0x00000000005a71a2 in mkSPNode ()
#6 0x00000000005a734d in NISortDictionary ()
#7 0x00000000005a4dae in dispell_init ()
#8 0x0000000000638823 in OidFunctionCall1 ()
#9 0x00000000004f4800 in verify_dictoptions ()
#10 0x00000000004f48da in DefineTSDictionary ()
#11 0x000000000059c4fe in PortalRunUtility ()
#12 0x000000000059c5dc in PortalRunMulti ()
#13 0x000000000059bf28 in PortalRun ()
#14 0x00000000005977d2 in exec_simple_query ()
#15 0x000000000059a874 in PostgresMain ()
#16 0x0000000000572821 in BackendRun ()
#17 0x0000000000572112 in BackendStartup ()
#18 0x000000000057034c in ServerLoop ()
#19 0x000000000056f938 in PostmasterMain ()
#20 0x0000000000529f5b in main ()

--
Tommy Gildseth

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Katson 2009-01-29 15:06:51 Re: Text search name and name synonims dictionary
Previous Message Oleg Bartunov 2009-01-29 14:44:37 Re: Text search name and name synonims dictionary