pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mr@marcelruff.info
To: pgsql-bugs@postgresql.org
Subject: BUG #14490: psql and createdb crash with SIGSEGV
Date: Tue, 10 Jan 2017 20:29:53 +0000
Message-ID: <20170110202953.24287.32435@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      14490
Logged by:          Marcel Ruff
Email address:      mr@marcelruff.info
PostgreSQL version: 9.6.1
Operating system:   Debian GNU/Linux 8 (jessie) 3.18.44 x86_64
Description:        

psql --version
psql (PostgreSQL) 9.6.1

psql 
Speicherzugriffsfehler

ldd /usr/local/pgsql/bin/psql
        linux-vdso.so.1 (0x00007ffeaf3ba000)
        libpq.so.5 => /usr/local/pgsql/lib/libpq.so.5 (0x00007f0d74ba8000)
        libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6
(0x00007f0d74958000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0d74650000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0d742a0000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f0d74080000)
        libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5
(0x00007f0d73e50000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f0d74dd8000)

strace pqsl
...
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, 4294967295) = 1 ([{fd=3,
revents=POLLOUT}])
sendto(3, "\0\0\0R\0\3\0\0user\0watchee\0database\0wa"..., 82, MSG_NOSIGNAL,
NULL, 0) = 82
poll([{fd=3, events=POLLIN|POLLERR}], 1, 4294967295) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0E\0\0\0\\SFATAL\0VFATAL\0C3D0"..., 16384, 0,
NULL, NULL) = 102
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV +++


createdb xxxx 
crashes with SIGSEGV as well


Compiled with
./configure  --with-pam --with-libxml --with-libxslt

Thank you
Marcel

Note: The server has no DNS setup


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


view thread (8+ messages)  latest in thread

Message-ID: <20170110202953.24287.32435@wrigleys.postgresql.org>
Permalink:  ../20170110202953.24287.32435@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170110202953.24287.32435@wrigleys.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: mr@marcelruff.info
  Subject: Re: BUG #14490: psql and createdb crash with SIGSEGV
  In-Reply-To: <20170110202953.24287.32435@wrigleys.postgresql.org>
  References: <20170110202953.24287.32435@wrigleys.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