BUG #17421: Core dump in ECPGdo() when calling PostgreSQL API from 32-bit client for RHEL8

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: hirose(dot)masay-01(at)jp(dot)fujitsu(dot)com
Subject: BUG #17421: Core dump in ECPGdo() when calling PostgreSQL API from 32-bit client for RHEL8
Date: 2022-02-27 05:21:32
Message-ID: 17421-790ff887e3188874@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: 17421
Logged by: Masayuki Hirose
Email address: hirose(dot)masay-01(at)jp(dot)fujitsu(dot)com
PostgreSQL version: 12.1
Operating system: Red Hat Enterprise Linux
Description:

Core dump in ECPGdo() when calling PostgreSQL API from 32-bit client for
RHEL8

Hello, I have encountered the core dump in ECPGdo () issue.
Have you ever seen this error?
--------
(gdb) where
#0 0xf7163dc7 in strlen () from /usr/lib/libc.so.6
#1 0x08169faf in dopr ()
#2 0x08169c19 in pg_vsnprintf ()
#3 0x08169c6b in pg_snprintf ()
#4 0x08153ec7 in ecpg_raise_backend ()
#5 0x081540bb in ecpg_check_Pqresult ()
#6 0x0814da6a in ecpg_autostart_transaction ()
#7 0x0814ebc6 in ecpg_do ()
#8 0x0814ec79 in ECPGdo ()
#9 0xf7f96e40 in TJVvDatabaseAPI::_ExecSQL (this=0x9fb73f0, ctxnum=0,
--------

I am using the 32-bit client for RHEL8 and it calls PostgreSQL API, thus I
encountered this error.

Regards,
Masa

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2022-02-27 12:20:57 Re: BUG #17421: Core dump in ECPGdo() when calling PostgreSQL API from 32-bit client for RHEL8
Previous Message Tom Lane 2022-02-25 21:36:42 Re: Bug plperl.c