make check crashes on POWER8 machine

From: Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: make check crashes on POWER8 machine
Date: 2020-03-13 07:29:13
Message-ID: 20200313102913.67767ff1@fafnir.l.postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I've encountered a problem with Postgres on PowerPC machine. Sometimes
make check on REL_12_STABLE branch crashes with segmentation fault.

It seems that problem is in errors.sql when executed

select infinite_recures(); statement

so stack trace, produced by gdb is too long to post here.

Problem is rare and doesn't occur on all runs of make check.
When I run make check repeatedly it occurs once a several hundreds runs.

It seems that problem is architecture-dependent, because I cannot
reproduce it on x86_64 CPU with more than thousand runs of make check.

Machine is KVM virtual server on POWER8 system with following CPU:

$ lscpu
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 8
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Model: 2.0 (pvr 004d 0200)
Model name: POWER8 (architected), altivec supported
Hypervisor vendor: KVM
Virtualization type: para
L1d cache: 64K
L1i cache: 32K
NUMA node0 CPU(s): 0-31

Running RedHat 7.6.

I've collected all relevant information i've can think of (including
210Mb core file, git commit id, configure and backend logs, list of
installed RPMs) and put it into Google Drive
https://drive.google.com/file/d/1Xs7DixBhMPEmViGUt5wAMewB6_xbZirY/view

Hope that somebody more experienced with POWER CPUs can suggest
something about this problem.

--

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2020-03-13 07:34:50 Re: shared-memory based stats collector
Previous Message Peter Eisentraut 2020-03-13 07:28:20 Re: BEFORE ROW triggers for partitioned tables