BUG #17481: sometime pg_stat_statements coredump

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: mailtch(at)163(dot)com
Subject: BUG #17481: sometime pg_stat_statements coredump
Date: 2022-05-15 02:37:22
Message-ID: 17481-953591f62b3f8a58@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17481
Logged by: tangcheng
Email address: mailtch(at)163(dot)com
PostgreSQL version: 14.2
Operating system: debian 11
Description:

In my database , use pg_stat_statement, but sometime, coredump
occurred,Details are as follows:

Using host libthread_db library"/lib/x86 64-1inux-gnu/libthread db.so.1"
Core was generated by `postgres: XXXX XXXXX(6294) CALL Program terminated
with signal SIGSEGV, Segmentation fault.
#0 0x0000556d1bc6ac9d in CleanQuerytext()
(gdb) bt
#0 0x0000556d1bc6ac9d in CleanQuerytext()
#1 0x00007f8450d3522f in pgss_store() from
/usr/local/pgsql-14.2/1ib/pg_stat_statements.so
#2 0x00007f8450d362bd in
pgss_ProcessUtility()from/usr/1ocal/pgsq1-14.2/1ib/pg_stat_statements.so
#3 0x0000556d1bb42c7f in PortalRunUtility()
#4 0x0000556d1bb42dab in PortalRunMulti ()
#5 0x0000556d1bb43275 in PortalRun()
#6 0x0000556d1bb409fe in PostgresMain ()
#7 0x0000556d1bac74f1 in ServerLoop()
#8 0x0000556d1bac8322 in PostmasterMain()
#9 0x0000556d1b86d860 in main (()

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2022-05-15 10:42:10 Re: BUG #17480: Assertion failure in parse_relation.c
Previous Message Laetitia Avrot 2022-05-14 15:11:33 Re: Statistics updates is delayed when using `commit and chain`