[BUGS] BUG #14490: psql and createdb crash with SIGSEGV

Поиск
Список
Период
Сортировка
От mr@marcelruff.info
Тема [BUGS] BUG #14490: psql and createdb crash with SIGSEGV
Дата
Msg-id 20170110202953.24287.32435@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: [BUGS] BUG #14490: psql and createdb crash with SIGSEGV  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: spanu_andrea@yahoo.it
Дата:
Сообщение: [BUGS] BUG #14489: PG_FUNCTION_INFO_V1(funcname) is not bomb proof
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [BUGS] BUG #14490: psql and createdb crash with SIGSEGV