Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gGPqv-00078b-6a for pgsql-bugs@arkaria.postgresql.org; Sat, 27 Oct 2018 14:46:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gGPqr-0002WI-TH for pgsql-bugs@arkaria.postgresql.org; Sat, 27 Oct 2018 14:46:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gGPqr-0002WB-Fm for pgsql-bugs@lists.postgresql.org; Sat, 27 Oct 2018 14:46:09 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gGPqk-0000hl-4w for pgsql-bugs@lists.postgresql.org; Sat, 27 Oct 2018 14:46:07 +0000 Received: by mail-qk1-x742.google.com with SMTP id q184-v6so2443890qkd.3 for ; Sat, 27 Oct 2018 07:46:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=euRDw1+VfpoPHbRBukS8QzYQ/0R5v3sknN7ZDMRWX/I=; b=QEXfIG9E29cyBdyulxvUwY0eVY4wFGMk4gy2uzUU1ltcvBKtb1Gew8xwRqxkB/jphO /ZLqbP6XDOWH7+myoadU7RO7IjRs5fGgtkyfJSaGyeBCyqFm5VJBcYyzbw1lBTKB6fPn Uz56x5edODMArue7NlhzhzywaTlLXxsmHZbrrPn0QTwDl6F3I8glskban0M/DHpwOqiT fgWKCyshhhWNXLYk1HSb5UPydYqY/iOLBqlW+2ZJmUTwGhMD4C9nAm5psRM22qocqF/z R5TNH89QPUCRsq6a23312fW0I0ot3c0w6c+hUVA2J62hm1f7nvW98s6/SqUc2NlRhA1j s52g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=euRDw1+VfpoPHbRBukS8QzYQ/0R5v3sknN7ZDMRWX/I=; b=LKb5/6g14jGMlcA/s9BdS0swUSQwWedEzVvXomfE6ipI4kUvqWpDhFGbRVIw1M9ZmS NPZJhvdinQnNEBmZh5hfhVoybOxzThWFx1iZ6cIQykqRmyJAjqKYcXb0gGtFsTcjSBWo L4oz/R25wAsseskNt3NPbZu7mME5EHqrf3d5DFIcazVt6w4mu2RuF1QbwYke9SAh0F/w Xh329iy3qATyoqpu/ECRUYJncmScKbYUuHv5QppuUeSUy1R89dxegF2MvPtHFgEIpgHf w5WuiU6ated3aSp27veuIukYqL2+vGUH7zwaFhHYNJFutRAZjZLyGymwYkHZl5sXjP8t 7Yxg== X-Gm-Message-State: AGRZ1gIawpPStBKI9BL9l6iJdsjx+Z2RQMwtJ33VqN99lO/rvII0zCg9 wPWB05sOcDeyk8kwgjR9Mg2aVQ== X-Google-Smtp-Source: AJdET5fzxYuqrXQfCrH8hJUbr1yrcEAcUydqoQuh99Va93vnFw2NpTyMRcEvlkMcO2SFtlmse8UZSA== X-Received: by 2002:a37:1745:: with SMTP id i66mr6669961qkh.125.1540651560817; Sat, 27 Oct 2018 07:46:00 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([201.186.80.75]) by smtp.gmail.com with ESMTPSA id z9-v6sm1992061qkf.77.2018.10.27.07.45.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Oct 2018 07:45:59 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 49543681; Sat, 27 Oct 2018 11:45:57 -0300 (-03) Date: Sat, 27 Oct 2018 11:45:57 -0300 From: Alvaro Herrera To: Dmitry Molotkov Cc: Andres Freund , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15446: Crash on ALTER TABLE Message-ID: <20181027144557.6uil4sqrvor25m3x@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Oct-27, Dmitry Molotkov wrote: > I just checked with that statement and pgadmin and it still crash the db. > Its not related to my pc, since i initially encountered it on CI with > totally different os and setup, and then reproduced it locally. > https://i.imgur.com/qn1cyOz.png here what happen if i execute that alter > query in pgadmin It probably depends on other things in the table -- maybe indexes, or foreign keys, or something else. If you can reproduce in psql or pgadmin starting from an empty database and some DDL, please submit that. If not, can you attach a debugger to the process before it crashes, and get a core file? There are some instructions here: https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD Thanks -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services