Re: psql crash with custom build on RedHat 7

From: Dominique Devienne <ddevienne(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: psql crash with custom build on RedHat 7
Date: 2023-12-20 10:49:45
Message-ID: CAFCRh-9tRiBQer41w7XFsnPBAbbFriex=_+-hj4OQ36G-oO-cw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Dec 19, 2023 at 7:58 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:

> On Wed, Dec 20, 2023 at 4:41 AM Dominique Devienne <ddevienne(at)gmail(dot)com>
> wrote:
> > On Tue, Dec 19, 2023 at 2:02 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
> wrote:
> >> On Wed, Dec 20, 2023 at 1:39 AM Dominique Devienne <ddevienne(at)gmail(dot)com>
> wrote:
> >> > Program received signal SIGSEGV, Segmentation fault.
> >> > 0x00000000004232b8 in slash_yylex ()
>
> OK but be warned that if you're using tarballs, we shipped lexer remnants
> in the tree
>
[...] which means that if your pipeline involves tarballs but you finished
> up
> regenerating one of the files, or some other sequence involving
> different flex versions, you could get that.
>

Thanks. Very insightful. We got tarballs from
https://www.postgresql.org/ftp/source/v16.1/,
thus it could have been it indeed. We've rebuilt from scratch again, and
now things are back to normal.
I'm not 100% what fixed it exactly, since I get 2nd hand info only, and
thus don't know for sure whether
`make maintainer-clean` was used or not. Could also have been a glitch in
our SCM, we also forced a
resync on the workspace with 3rd parties (NFS mounted).

I any case, this is now resolved, albeit in a muddy way I'm afraid...

Really appreciate the help. Thanks, --DD

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Phillip Diffley 2023-12-21 06:06:39 How to generate random bigint
Previous Message Abhishek Bhola 2023-12-20 05:30:29 Re: pgBackRest for a 50 TB database