pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #18364: psql execution error: Segmentation fault
2+ messages / 2 participants
[nested] [flat]

* BUG #18364: psql execution error: Segmentation fault
@ 2024-02-26 12:03 PG Bug reporting form <noreply@postgresql.org>
  2024-02-26 15:38 ` Re: BUG #18364: psql execution error: Segmentation fault Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2024-02-26 12:03 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: gmirocha@gmail.com

The following bug has been logged on the website:

Bug reference:      18364
Logged by:          George Gustavo Mirocha
Email address:      gmirocha@gmail.com
PostgreSQL version: 16.2
Operating system:   RHEL 8 &amp; CENTOS 7
Description:        

After upgrade Postgresql from 16.1 to 16.2 in both CENTOS 7 and RHEL 8 I'm
getting the segmentation fault error when I try to execute any "\" command
on psql. I have got this error in different hosts, plataforms, etc.

-bash-4.2$ psql
psql (16.2)
Type "help" for help.

postgres=# \l
Segmentation fault

------------- Execution with DEBUG:
postgres=# \l

Program received signal SIGSEGV, Segmentation fault.
slash_yylex (yylval_param=yylval_param@entry=0x0, yyscanner=0x6e2300) at
psqlscanslash.c:1312
1312                    *yy_cp = yyg->yy_hold_char;
(gdb)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #18364: psql execution error: Segmentation fault
  2024-02-26 12:03 BUG #18364: psql execution error: Segmentation fault PG Bug reporting form <noreply@postgresql.org>
@ 2024-02-26 15:38 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2024-02-26 15:38 UTC (permalink / raw)
  To: gmirocha@gmail.com; +Cc: pgsql-bugs@lists.postgresql.org

PG Bug reporting form <noreply@postgresql.org> writes:
> After upgrade Postgresql from 16.1 to 16.2 in both CENTOS 7 and RHEL 8 I'm
> getting the segmentation fault error when I try to execute any "\" command
> on psql. I have got this error in different hosts, plataforms, etc.

Given the location of the error, it seems like you might have a
problem with inconsistent ABI for "flex".  I'm not quite sure
how you'd get there, because that's usually pretty self-contained.
(Once there was a "libfl.a" that could possibly cause this sort of
problem, but I don't think that exists in modern flex versions.)
Anyway, I'd check that you have a consistent installation of flex
and then rebuild Postgres from source.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-02-26 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-02-26 12:03 BUG #18364: psql execution error: Segmentation fault PG Bug reporting form <noreply@postgresql.org>
2024-02-26 15:38 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox