Re: Why is "osprey" dumping core in REL8_2 branch?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rémi Zara <remi_zara(at)mac(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why is "osprey" dumping core in REL8_2 branch?
Date: 2007-03-12 02:53:19
Message-ID: 28463.1173667999@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=?ISO-8859-1?Q?R=E9mi_Zara?= <remi_zara(at)mac(dot)com> writes:
> The solution was to change the ulimit for data segment size.

Oh really ...

> Doesn't this mean that there is some place where the return value of
> malloc is not checked for null ?

You can see for yourself that the value *is* checked in the routine
that's at issue --- see line 520 in 8.2's aset.c. Also the gdb'ing
you did showed that a nonzero value had been returned.

I think what you're looking at is a platform-specific bug in malloc().

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shane Ambler 2007-03-12 03:20:04 Re: PostgreSQL - 'SKYLINE OF' clause added!
Previous Message CAJ CAJ 2007-03-12 00:18:17 Updating large postgresql database with blobs