Re: [HACKERS] segmentation fault in function

2010-01-14 Thread Dimitri Fontaine
Sergej Galkin sergej.gal...@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

[HACKERS] segmentation fault in function

2010-01-13 Thread Sergej Galkin
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. *Datum gist_mov_consistent(PG_FUNCTION_ARGS)* *{* *GISTENTRY *entry = (GISTENTRY *)PG_GETARG_POINTER(0);* *BOX *query = PG_GETARG_BOX_P(1);*