pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: william.crowell@openlogic.com
Subject: BUG #16340: lo_manage() crashs DB instance
Date: Fri, 03 Apr 2020 13:46:15 +0000
Message-ID: <16340-591c7449dc7c8c47@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16340
Logged by:          William Crowell
Email address:      william.crowell@openlogic.com
PostgreSQL version: 11.7
Operating system:   RHEL 7.7
Description:        

PostgreSQL crashes if you do the following:

$psql postgres -c 'create extension lo'
CREATE EXTENSION
$psql postgres -c 'select lo_manage()' server closed the connection
unexpectedly
       This probably means the server terminated abnormally
       before or while processing the request.
connection to server was lost

...
2020-04-02 13:42:23 CEST / postgres / xxxx / 1043 / 00000 / [local]] - LOG: 
AUDIT: SESSION,1,2,FUNCTION,EXECUTE,FUNCTION,public.lo_manage,select
lo_manage(),<none>
[2020-04-02 13:42:23 CEST /  /  / 24618 / 00000 / ] - LOG:  server process
(PID 1043) was terminated by signal 11: Segmentation fault
[2020-04-02 13:42:23 CEST /  /  / 24618 / 00000 / ] - DETAIL:  Failed
process was running: select lo_manage()
[2020-04-02 13:42:23 CEST /  /  / 24618 / 00000 / ] - LOG:  terminating any
other active server processes

I do know that lo_manage requires an argument, but it should not create a
segmentation fault even though the argument is not provided.



view thread (3+ messages)  latest in thread

Message-ID: <16340-591c7449dc7c8c47@postgresql.org>
Permalink:  ../16340-591c7449dc7c8c47@postgresql.org/
Also on:    postgresql.org/message-id/16340-591c7449dc7c8c47@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, william.crowell@openlogic.com
  Subject: Re: BUG #16340: lo_manage() crashs DB instance
  In-Reply-To: <16340-591c7449dc7c8c47@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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