Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8VSM-0000d7-Uz for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Mar 2019 19:40:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h8VSK-0001Ol-Mg for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Mar 2019 19:40:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8VSK-0001CG-96 for pgsql-hackers@lists.postgresql.org; Mon, 25 Mar 2019 19:40:24 +0000 Received: from lb3-smtp-cloud7.xs4all.net ([194.109.24.31]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8VSH-0001yM-9F for pgsql-hackers@lists.postgresql.org; Mon, 25 Mar 2019 19:40:23 +0000 Received: from webmailclassic.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:199]) by smtp-cloud7.xs4all.net with ESMTPA id 8VSBhiaSBNG8z8VSBhRhIc; Mon, 25 Mar 2019 20:40:18 +0100 Received: from tor-exit-anonymizer-04-v6.appliedprivacy.net (2a03:e600:100::15) by webmailclassic.xs4all.nl with HTTP (HTTP/1.1 POST); Mon, 25 Mar 2019 20:40:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 25 Mar 2019 20:40:15 +0100 From: Erik Rijkers To: Pavel Stehule Cc: Artur Zakirov , Dean Rasheed , Fabien COELHO , Gilles Darold , PostgreSQL Hackers Subject: Re: [HACKERS] proposal: schema variables In-Reply-To: References: <20180919112305.GA18604@zakirov.localdomain> Message-ID: X-Sender: er@xs4all.nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfDzcBoxRp4WCjE30/ZeBMC/Fuguw50RwJPPvZDSEFbITbfJwvoTg9tixdR5ABfJkTVMu9vrA6yydVBjwnZsmzPxyUmps2rzelywiZxtKSYi3pmMMvlxL rDqlcZSCjJLIc2IM869LzMVBKnY6lRh0vaUTKL2p+t0sIKR8lZ7T4WSy0tTk5tJmGEptxij56Kpicoz2KHbPcsXlTW3oLea0+M14z+kCWr7XDbjE+QzqjTas Aq0Ho4StmyGGQFTuF5q50XxXKPXJMRcU9885ck3ik1gGATANSVbU81vvbXbns5bOZH5S4QhYl7MpdJkP3hKStMEPhMTGDZk9sGl7XKL22VhFbmHKZn+crdhI oOYLjmTkabZrd37L2P22QHMNU8iOBugqupYKAOjHOYE/LOio6g9RbeBWEwz2H2JYUmOu35zl List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-03-24 10:32, Pavel Stehule wrote: > ne 24. 3. 2019 v 10:25 odesílatel Erik Rijkers napsal: > >> On 2019-03-24 06:57, Pavel Stehule wrote: >> > Hi >> > >> > rebase against current master >> >> I ran into this: >> >> (schema 'varschema2' does not exist): >> >> drop variable varschema2.testv cascade; >> ERROR: schema "varschema2" does not exist >> create variable if not exists testv as text; >> server closed the connection unexpectedly >> This probably means the server terminated abnormally >> before or while processing the request. >> connection to server was lost >> >> >> (both statements are needed to force the crash) >> > > I cannot to reproduce it. > [backtrace and stuff] Sorry, I don't have the wherewithal to get more info but I have repeated this now on 4 different machines (debian jessie/stretch; centos). I did notice that sometimes those two offending lines " drop variable varschema2.testv cascade; create variable if not exists testv as text; " have to be repeated a few times (never more than 4 or 5 times) before the crash occurs (signal 11: Segmentation fault). Erik Rijkers