Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1070181

Bug#993848: postgresql-13: A SELECT query with cursor can cause segmentation fault

From Christoph Berg <myon@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#993848: postgresql-13: A SELECT query with cursor can cause segmentation fault
Date 2021-09-07 14:20 +0200
Message-ID <CUIf0-4de-5@gated-at.bofh.it> (permalink)
References <CUEO5-1TK-1@gated-at.bofh.it> <CUEO5-1TK-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Re: Tomas Barton
> a slightly sophisticated SELECT query with a CURSOR can lead to
> postgresql server segmentation fault.
> 
> LOG:  server process (PID 10722) was terminated by signal 11: Segmentation
> fault
> DETAIL:  Failed process was running: COMMIT

> I'll try to make an reproducable code, let me known if you need more
> information.
> 
> The query might be a bit nasty, but it shouldn't crash whole server.

Can you share the query and the schema?

Christoph

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#993848: postgresql-13: A SELECT query with cursor can cause segmentation fault Tomas Barton <barton.tomas@gmail.com> - 2021-09-07 10:40 +0200
  Bug#993848: postgresql-13: A SELECT query with cursor can cause segmentation fault Christoph Berg <myon@debian.org> - 2021-09-07 14:20 +0200
    Bug#993848: postgresql-13: A SELECT query with cursor can cause segmentation fault Tomas Barton <barton.tomas@gmail.com> - 2021-09-07 18:10 +0200
      Bug#993848: postgresql-13: A SELECT query with cursor can cause segmentation fault Tomas Barton <barton.tomas@gmail.com> - 2021-09-08 11:50 +0200
  Bug#993848: postgresql-13: A SELECT query with cursor can cause segmentation fault Christoph Berg <myon@debian.org> - 2021-09-09 14:30 +0200

csiph-web