On Thu, 26 Oct 2000 10:14:16 -0400, Tom Lane said:
> gdb /path/to/postgres-executable /path/to/core-file
> bt
> quit
[postgres@nis-master] ~
132: gdb bin/postgres data/base/users/core
This GDB was configured as "i386-slackware-linux"...
Core was generated by `/usr/local/postgres/bin/postgres localhost s'.
Program terminated with signal 11, Segmentation fault.
..
[SNIP: Loading symbols...]
..
#0 0x8115eb2 in ri_BuildQueryKeyFull ()
(gdb) bt
#0 0x8115eb2 in ri_BuildQueryKeyFull ()
#1 0x8115dc2 in RI_FKey_keyequal_upd ()
#2 0x8096d7c in DeferredTriggerSaveEvent ()
#3 0x8096016 in ExecARUpdateTriggers ()
#4 0x809c617 in ExecReplace ()
#5 0x809c256 in ExecutePlan ()
#6 0x809b8f3 in ExecutorRun ()
#7 0x80eb46a in ProcessQueryDesc ()
#8 0x80eb4d0 in ProcessQuery ()
#9 0x80ea153 in pg_exec_query_dest ()
#10 0x80ea033 in pg_exec_query ()
#11 0x80eaeec in PostgresMain ()
#12 0x80d565a in DoBackend ()
#13 0x80d523a in BackendStartup ()
#14 0x80d45ee in ServerLoop ()
#15 0x80d407c in PostmasterMain ()
#16 0x80ab115 in main ()
#17 0x400f9577 in __libc_start_main () from /lib/libc.so.6
(gdb) quit
There we go :) Thanks,
--
Sean Kelly <[EMAIL PROTECTED]>
"If 99% is good enough, then gravity will not work for 14 minutes
every day."