Re: Upgrade 10.5->10.6 : db crash BUS ERROR (sig 10), reproducible

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Peter <pmc(at)citylink(dot)dinoex(dot)sub(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql(at)FreeBSD(dot)org
Subject: Re: Upgrade 10.5->10.6 : db crash BUS ERROR (sig 10), reproducible
Date: 2019-03-08 02:35:33
Message-ID: 87pnr2ayyd.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>>>>> "Peter" == Peter <pmc(at)citylink(dot)dinoex(dot)sub(dot)org> writes:

>> You can check whether your CPU supports SSE2 by looking at the Features=
>> line in /var/run/dmesg.boot. It seems unlikely that it does not, because
>> SSE2 was introduced in 2000 with the Pentium 4.

Peter> No need to check; I am absolutely certain that it does NOT.
Peter> https://www.asus.com/supportonly/CUV4X-DLS/HelpDesk_CPU/

Peter> But, Your explanation seems not to answer the fundamental
Peter> question: if the database at 10.6 is still supposed to be able
Peter> to run without SSE2?

Yes, the database is supposed to be able to run without SSE2, as long as
it is built with gcc and not clang, and without any architecture flags
that imply SSE2 support.

I'm pretty sure nothing in our buildfarm is i386 without SSE2 though.

Peter> Whateever information You like to have, just ask and I will
Peter> gladly do my best to obtain it, as I get around. (This is a
Peter> reproducible on a very well maintained piece of software - this
Peter> is rather fun.)

Your backtrace implies that you are running with checksums enabled;
true?

You should be able to build the port with debugging enabled by setting
WITH_DEBUG=1 in the environment or on the make command line. (I have not
yet tried this myself - I rarely build from the port.)

Peter> The crash happens at a specific query - I get parse,bind, but no
Peter> execute timing.

What is the exact query?

I'm doing some investigations of my own, I may have more questions
later.

--
Andrew (irc:RhodiumToad)

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew Gierth 2019-03-08 02:48:12 Re: Upgrade 10.5->10.6 : db crash BUS ERROR (sig 10), reproducible
Previous Message Peter 2019-03-08 01:20:12 Re: Upgrade 10.5->10.6 : db crash BUS ERROR (sig 10), reproducible