Re: Exited with status 139

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: Kristofer Munn <kmunn(at)munn(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Exited with status 139
Date: 2000-10-06 06:32:34
Message-ID: 20001005233233.A27736@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Kristofer Munn <kmunn(at)munn(dot)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(at)wintelcom(dot)net|alfred(at)freebsd(dot)org]
"I have the heart of a child; I keep it in a jar on my desk."

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jean-Christophe Pazzaglia 2000-10-06 12:28:18 The 85/0.0085 mistery ?
Previous Message Tom Lane 2000-10-06 05:57:33 Re: Bug