Re: strange segfault with 8.3.8

From: Filip Rembiałkowski <plk(dot)zuber(at)gmail(dot)com>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: strange segfault with 8.3.8
Date: 2009-12-10 13:37:02
Message-ID: 92869e660912100537m33202436t70df37a3067f5bdd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

W dniu 7 grudnia 2009 17:43 użytkownik Greg Smith <greg(at)2ndquadrant(dot)com>napisał:

> Filip Rembiałkowski wrote:
>
> Dec 7 07:24:45 nsXXXXXX kernel: postgres[22481]: segfault at 7fda5e1d5000
> ip 00007fda604553c3 sp 00007fffe41faf28 error 4 in libc-2.9.so
> [7fda603d1000+168000]
> Dec 7 07:24:45 nsXXXXXX kernel: grsec: From XX.YY.ZZ.51: Segmentation
> fault occurred at 00007fda5e1d5000 in
> /usr/lib/postgresql/8.3/bin/postgres[postgres:22481] uid/euid:103/103
> gid/egid:114/114, parent
> /usr/lib/postgresql/8.3/bin/postgres[postgres:29857] uid/euid:103/103
> gid/egid:114/114
>
> This is on 8.3.8, latest Ubuntu distribution, server under quite heavy
> load.
>
> afterwards we had some corrupted pages ("*ERROR: compressed data is
> corrupt*").
>
> Random segfaults only under heavy load with corrupted pages afterwards
> normally means bad RAM. I'd suggest a round of memtest86+ on the system if
> it's PC hardware.
>

Just a note for all other who may encouter this problem:

This was not a vanilla Ubuntu - this was vendor-modified version, witch
custom grsecurity patched kernel and probably with custom patched libc.

# uname -a
Linux nsXXXXXX.ovh.net
2.6.31.5-grsec-xxxx-grs-ipv4-64 #2 SMP Thu Nov 5 12:36:20 UTC 2009
x86_64 GNU/Linux

--
Filip Rembiałkowski
JID,mailto:filip(dot)rembialkowski(at)gmail(dot)com
http://filip.rembialkowski.net/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-12-10 13:41:15 Re: explain output infelicity in psql
Previous Message Roger Leigh 2009-12-10 13:29:55 Re: explain output infelicity in psql