Re: psql crash while executing core regression tests

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hamid Akhtar <hamid(dot)akhtar(at)gmail(dot)com>
Cc: walker <failaway(at)qq(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: psql crash while executing core regression tests
Date: 2021-03-02 15:23:09
Message-ID: 938526.1614698589@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hamid Akhtar <hamid(dot)akhtar(at)gmail(dot)com> writes:
> I use CentOS 7 with flex 2.5.37 quite extensively have never come across a
> psql crash. This seems more like an environment related issue on your
> system.

Yeah ... also, there are more than a dozen buildfarm animals using 2.5.37,
and none of them have shown any sign of distress. We have also got
animals using just about every other flex version under the sun, and they
all work. So I'm inclined to guess that the apparent dependence on flex
version is a mirage, and the real reason why it worked or didn't work is
elsewhere. We don't have enough info here to identify the problem, but
I'd suggest a couple of things:

* make sure you're starting from a completely clean tree ("git clean -dfx"
is your friend)

* avoid changing PATH or other important environment variables between
configure and build

* watch out for conflicts between different PG installations on the same
machine

On the last point, it can be a really bad idea to have any preinstalled
PG programs or libraries on a machine where you're trying to do PG
development. It's too easy to pick up a library out of /usr/lib or a
header out of /usr/include when you wanted to use the version in your
build tree.

Whether any of this explains your problem remains to be seen, but that's
the kind of issue I'd suggest looking for.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dilger 2021-03-02 15:28:05 Re: [PATCH] Support empty ranges with bounds information
Previous Message Fujii Masao 2021-03-02 15:09:18 Re: [PATCH] psql : Improve code for help option