Re: [HACKERS] Debug crash

2008-12-11 Thread Zdenek Kotala
Alif Isophoqote napsal(a): Hi, I am developing a backend module for postgresql. For some queries, postgresql crashes: segmentation fault (most probably due to my own code). How to get the function name & line number where it crashes? At first it depends on your OS. On unixes you should get cor

Re: [HACKERS] Debug crash

2008-12-11 Thread Martijn van Oosterhout
On Thu, Dec 11, 2008 at 04:29:56PM +0800, Alif Isophoqote wrote: > Hi, > > I am developing a backend module for postgresql. For some queries, > postgresql crashes: segmentation fault (most probably due to my own code). > How to get the function name & line number where it crashes? Arrange for a c

[HACKERS] Debug crash

2008-12-11 Thread Alif Isophoqote
Hi, I am developing a backend module for postgresql. For some queries, postgresql crashes: segmentation fault (most probably due to my own code). How to get the function name & line number where it crashes? isophoqote