Re: Exited with status 139 - Mailing list pgsql-hackers

From Alfred Perlstein
Subject Re: Exited with status 139
Date
Msg-id 20001005233233.A27736@fw.wintelcom.net
Whole thread Raw
In response to Re: Exited with status 139  (Kristofer Munn <kmunn@munn.com>)
List pgsql-hackers
* Kristofer Munn <kmunn@munn.com> [001005 22:41] wrote:
> On Fri, 6 Oct 2000, Tom Lane wrote:
> 
> > SIGSEGV, ie, bad pointer dereference.  There should be a core dump
> > file --- can you provide a stack backtrace from it?
> 
> I can try:
> 
> # gdb bin/postgres core
> GNU gdb 4.17.0.11 with Linux support
> (gdb)
> 
> Did I do that right?

Half-way. :)

You need to do a 'up' to get out of strcpy, then do a 'list', then
use the 'print' command to print out any nearby variables like so:

print foo

you may also want to try 'print *foo'

best of luck,
-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug
Next
From: Jean-Christophe Pazzaglia
Date:
Subject: The 85/0.0085 mistery ?