Re: strange segfault with 8.3.8 - Mailing list pgsql-hackers

From Filip Rembiałkowski
Subject Re: strange segfault with 8.3.8
Date
Msg-id 92869e660912100537m33202436t70df37a3067f5bdd@mail.gmail.com
Whole thread Raw
In response to Re: strange segfault with 8.3.8  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-hackers

W dniu 7 grudnia 2009 17:43 użytkownik Greg Smith <greg@2ndquadrant.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.rembialkowski@gmail.com
http://filip.rembialkowski.net/

pgsql-hackers by date:

Previous
From: Roger Leigh
Date:
Subject: Re: explain output infelicity in psql
Next
From: Andrew Dunstan
Date:
Subject: Re: explain output infelicity in psql