Re: segmentation fault in function - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: segmentation fault in function
Date
Msg-id 87my0h9efv.fsf@hi-media-techno.com
Whole thread Raw
In response to segmentation fault in function  (Sergej Galkin <sergej.galkin@gmail.com>)
List pgsql-hackers
Sergej Galkin <sergej.galkin@gmail.com> writes:

> I am realizing gist index and get a bug, that crashes DB. I' debugged
> my program as Robert(thanks !) advised me and I know which procedure
> crashed.

Using gdb you should have the line number in the source code and should
be able to look up the variable values. For that you need to use a
custom PostgreSQL build using --with-cassert --enable-debug.

Then report some more details if you still need help.

Also have a look at Gevel to be able to inspect your index : http://www.sai.msu.su/~megera/wiki/Gevel

Regards,
--
dim


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Clearing global statistics
Next
From: Simon Riggs
Date:
Subject: Re: Small Bug in GetConflictingVirtualXIDs