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 1hcBGh-0003s7-DL for pgsql-hackers@arkaria.postgresql.org; Sat, 15 Jun 2019 16:11:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hcBFg-0008Gg-0N for pgsql-hackers@arkaria.postgresql.org; Sat, 15 Jun 2019 16:10:00 +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 1hcBFf-0008GZ-GR for pgsql-hackers@lists.postgresql.org; Sat, 15 Jun 2019 16:09:59 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcBFc-00048S-8Z for pgsql-hackers@lists.postgresql.org; Sat, 15 Jun 2019 16:09:57 +0000 Received: by mail-qt1-x841.google.com with SMTP id d17so1149841qtj.8 for ; Sat, 15 Jun 2019 09:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=FcDQIpJRWiZKL0xtifqn3eJZVaQvbK/zbufpboR5PUg=; b=rmexSw9/eTSaHxG4I3m+h47YeovjMnC109vO0XZKQaSBWJqAL0RFd1jFftYOUpv6Gf 2x7OFPYSUagUeVMDTzNgt3bVaAK/fCinXalEnTFNBnwKTQRva2l9lFiRQlzaOVsXBnDp XHkdkIHJCgthfQZRQVLx08dNHFp18mNI+UV7NmF4bTG+M03drLZf3GlaPqWwjj3LGl/L iWGTDJwxKgCeE4tNbo5nO7luDDo7/+NzRTvMgR6nGiKCl5LGuLyutus4i0BpeECKEwHT BsSH01S6OX5M7XcqHRKI33x39zvtqW52j+6oDwduTNatHevZ5nSaPfnOrGNdgKa5tXah qCnQ== 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:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=FcDQIpJRWiZKL0xtifqn3eJZVaQvbK/zbufpboR5PUg=; b=KcJOrY0/JZKtNqweaV7+d/hGP/5Q2Hq6+PohIsdZC3SmdA3EMLVpkRqoU4XrLXKXJl tG6AhGWFXc8sekKZvXI5RJHGy+e3RdRPcNd9nK/X4L9ZagnSEU7NG1htJJH7e+nVq9kP SPWKpTHZr2ZRBBaxhha9eaNFZ5QeTOrcQQDXxH6bstPm9voRMAZ6ETx5kKXDZCXiFcYz 2IGjNdP+b5Yrej1p99rqnO6GcjHDOf4NtbOQDlBYJKVMKM569lIR56eUFCEESmlXRdbX YfggRh6Axbz1Gs2kjvg7AfwVuw8tRwYkUEzxwWNJx834+0abHM5EgqmKEAKkkCB6lAg8 hvsQ== X-Gm-Message-State: APjAAAXjMj2jOoDbK9VM+HbNweyXofBDkLkawPk9+7tOaUL8vOI577YW p5x+o+eGpL3BbNaxqG6AiGed+pmhS0sMvi3dr4nz0c2nfP/BbCAPq6lBMg32aIc0dv61pO5uwmI GuQLShz4vELOU3Q20V/jcsnw1oUI1KqefkrjSmVF83KqURfY7DkT9vHwWAeBAu5Cjncf2pFcW1c 3QIATKCxeFlDQAf3AS X-Google-Smtp-Source: APXvYqzl1ESgcCyrMcha7mL9DxGBPU8C8P8JrEMcguoIRQKNdqOyUswAg2FtbuxTl1WngO3b89GNqQ== X-Received: by 2002:ac8:4982:: with SMTP id f2mr78606449qtq.213.1560614994847; Sat, 15 Jun 2019 09:09:54 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([177.154.139.203]) by smtp.gmail.com with ESMTPSA id p37sm3776542qtc.35.2019.06.15.09.09.54 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 15 Jun 2019 09:09:54 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id D2FE312084B; Sat, 15 Jun 2019 12:09:50 -0400 (-04) Date: Sat, 15 Jun 2019 12:09:50 -0400 From: Alvaro Herrera To: Pg Hackers Subject: assertion at postmaster start Message-ID: <20190615160950.GA31378@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Once in a blue moon I get this assertion failure on server start: 2019-06-15 12:00:29.650 -04 [30080] LOG: iniciando PostgreSQL 12beta1 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0, 64-bit 2019-06-15 12:00:29.650 -04 [30080] LOG: escuchando en la dirección IPv4 «127.0.0.1», port 55432 2019-06-15 12:00:29.650 -04 [30080] LOG: escuchando en el socket Unix «/tmp/.s.PGSQL.55432» 2019-06-15 12:00:29.658 -04 [30956] LOG: el sistema de bases de datos fue apagado en 2019-06-15 12:00:24 -04 2019-06-15 12:00:29.659 -04 [30080] LOG: proceso de servidor (PID 30107) terminó con código de salida 15 2019-06-15 12:00:29.659 -04 [30080] LOG: terminando todos los otros procesos de servidor activos TRAP: FailedAssertion(«!(AbortStartTime == 0)», Archivo: «/pgsql/source/master/src/backend/postmaster/postmaster.c», Línea: 2957) Aborted (core dumped) Apologies for the Spanish -- I cannot readily reproduce this. In essence, this shows a normal startup, until suddenly process 30107 terminates with exit code 15, and then while shutting everything down, postmaster hits the aforementioned assertion and terminates. One problem with debugging this is that I don't know what process 30107 is, since the logs don't mention it. No idea what is going on. But I'm going to set my script to start the server with log_min_messages=debug1, in case I hit it again ... Has anybody else seen this? -- Álvaro Herrera