From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Pierre-Yves LANDURE <pylandur(at)ifremer(dot)fr> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Polygon contrib |
Date: | 2002-08-08 06:45:22 |
Message-ID: | 632.1028789122@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Pierre-Yves LANDURE <pylandur(at)ifremer(dot)fr> writes:
> and, to ask a stupid question..... How can i do a stack trace ;))))
Something like
gdb /path/to/postgres-executable /path/to/corefile
gdb> bt
gdb> quit
If you do not see a core file in the $PGDATA/base/yourdbnumber/
directory, you probably are running the postmaster with core dumps
disabled by ulimit. Try setting "ulimit -c unlimited" in the
script that starts it.
If the bt command produces a bunch of numbers and no routine names, you
need to recompile with debug symbols --- rerun configure adding
"--enable-debug", then rebuild and reinstall.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Pierre-Yves LANDURE | 2002-08-08 06:49:46 | Re: Polygon contrib |
Previous Message | Pierre-Yves LANDURE | 2002-08-08 06:37:11 | Re: Polygon contrib |