Skip site navigation (1) Skip section navigation (2)

Re: segmentation fault in function

From: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
To: Sergej Galkin <sergej(dot)galkin(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: segmentation fault in function
Date: 2010-01-14 10:19:16
Message-ID: 87my0h9efv.fsf@hi-media-techno.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Sergej Galkin <sergej(dot)galkin(at)gmail(dot)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

In response to

pgsql-hackers by date

Next:From: Simon RiggsDate: 2010-01-14 11:27:42
Subject: Re: Small Bug in GetConflictingVirtualXIDs
Previous:From: Magnus HaganderDate: 2010-01-14 10:12:18
Subject: Re: Clearing global statistics

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group