Re: [HACKERS] Backend terminated abnormally

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Backend terminated abnormally
Date: 1999-11-02 11:24:26
Message-ID: Pine.BSF.4.05.9911020616510.9939-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 2 Nov 1999, Tom Lane wrote:

> I wrote:
> > Actually, the missing clue seems to be that it's cool on HPUX and
> > coredumps on Linux. Bigendian vs. littleendian bug maybe? I'm on
> > it...
>
> Well, isn't *this* special: it seems that memmove(dest, NULL, n)
> doesn't cause a coredump on HPUX, it just silently does nothing.
> Sheesh. I hardly ever use memmove, or I would've found this out
> before (and complained about it!).

HP is notorious for this. Pass a null pointer to its atoi() and it'll
return zero. Same thing on IRIX64. Do this on a *BSD or Linux machine
and it'll segfault.

Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brook Milligan 1999-11-02 15:11:20 Re: [HACKERS] change in name of perl?
Previous Message Zeugswetter Andreas SEV 1999-11-02 09:50:22 AW: [HACKERS] sort on huge table