Re: 2nd try @NetBSD/2.0 Alpha

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 'PostgreSQL-development' <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 2nd try @NetBSD/2.0 Alpha
Date: 2005-10-19 11:00:27
Message-ID: 20051019110023.GC5422@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 18, 2005 at 10:07:26PM -0500, Larry Rosenman wrote:
> >...or attach with a debugger like gdb.
>
> d'oh. I go stupid occasionally :)
>
> If someone wants me to, I can try that.

Yes, actually. See, its dying in the seg test already with:

-- Open intervals
SELECT '0..'::seg AS seg;
! ERROR: floating-point exception
! DETAIL: An invalid floating-point operation was signaled. This
probably means an out-of-range result or an invalid operation, s
uch as division by zero.
SELECT '0...'::seg AS seg;
! ERROR: floating-point exception
! DETAIL: An invalid floating-point operation was signaled. This
probably means an out-of-range result or an invalid operation, s
uch as division by zero.

You need to attach a debugger to find out where that error is actually
happenening. Just startup the backend, connect to it and connect gdb to
the newly spawned backend and just run that query by hand. Then you
should get the backtrace at SIGFPE.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Szima Gábor 2005-10-19 11:15:23 collector/autovacuum after crash (8.1beta3)
Previous Message Martijn van Oosterhout 2005-10-19 10:07:19 Re: Question about Ctrl-C and less