Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afUFG-0000J3-Fj for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Mar 2016 15:17:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1afUFG-0001KA-1K for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Mar 2016 15:17:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1afUEd-0000ae-8I for pgsql-bugs@postgresql.org; Mon, 14 Mar 2016 15:16:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1afUEa-000096-PR for pgsql-bugs@postgresql.org; Mon, 14 Mar 2016 15:16:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u2EFGTMs030021; Mon, 14 Mar 2016 11:16:29 -0400 From: Tom Lane To: nummervet@mail.ru cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14019: Security label TAB causes unexpected EOF and client session termination In-reply-to: <20160314080637.8902.35041@wrigleys.postgresql.org> References: <20160314080637.8902.35041@wrigleys.postgresql.org> Comments: In-reply-to nummervet@mail.ru message dated "Mon, 14 Mar 2016 08:06:37 -0000" Date: Mon, 14 Mar 2016 11:16:29 -0400 Message-ID: <30020.1457968589@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org nummervet@mail.ru writes: > Fresh installation of postgresql 9.5.1 from EDB wizard installer causes EOF > errors and client connection termination every time you enter SECURITY LABEL > command and start tabbing for options. The client receives error message: > /opt/PostgreSQL/9.5/bin/psql: line 27: 16163 Segmentation fault (core > dumped) LD_PRELOAD=$PLL LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PG_BIN_PATH/../lib > "$PG_BIN_PATH/psql.bin" "$@" Oh, interesting ... I don't get a crash, but I do get lots more words offered than I should. Looks like list_SECURITY_LABEL_preposition[] is missing a trailing NULL, and so you pick up whatever's next in memory. Will fix, thanks for the report! regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs