Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YNSAm-0001aF-EF for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Feb 2015 20:21:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YNSAl-0002rN-S5 for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Feb 2015 20:21:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YNSAk-0002oH-7k for pgsql-bugs@postgresql.org; Mon, 16 Feb 2015 20:21:38 +0000 Received: from elysion.barrera.io ([174.136.104.18]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YNSAe-0000Qp-0I for pgsql-bugs@postgresql.org; Mon, 16 Feb 2015 20:21:35 +0000 Received: from elysion.barrera.io (localhost [127.0.0.1]); by elysion.barrera.io (OpenSMTPD) with ESMTP id 7da967f0; Mon, 16 Feb 2015 20:21:21 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=barrera.io; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=elysion; bh=0rlVp8vD9fJSngLTcnoTTQYH6Ds=; b=I9jR V/r7tJl1URGM7/g6juJKUQXFww0+WFy0xMnSWO411KLHUMp3RRbZkpD0rbT+3ySk QQXiLQ+c+zkcGp19Q1QNv+VOErLsVZ4fpL6t1Ccrp1d3H7oRPQlW2MjjiEf15Yj3 dj+gGCW4A1kHs/UbcR3rDeKVbJ2aUdhpfy3PVSzjOS98VSMjtmL31eEe2K1j16Ca brB1FmdDiG0UWtY3u32LQa24S2OrACdPtLHDp3Fao/V1CMveBkPFlnjeyjfPTrTK yDjX/8iWFBha3619kUAw+1RssEOoDHq9/CspL4HJ3WOt6CPTAaoQA6fyiLmPADvg V5hElVxTm7JMhu2/0g== DomainKey-Signature: a=rsa-sha1; c=nofws; d=barrera.io; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=elysion; b=EwkuzsuU7RR5wKgslsuojlUWQx48ZP VyD6hrwKSA1i5AjRQtP5J/fD4XG1F6p3vYV8R7ZDTiGiMpR2llHFfym2YmP5yAX/ D+6p/LKqhhmACTsHLpuPdYCeRB9z7DCW78SGNMJTP7g6pwXXGuxlUt38crjJp5vH GLThZlc3NgKpULZWXFcsZgzbpFpL9cZpt/PGGKR38O0RuFlmFgeZLNkyzkZcLNlV 5OhcF/IFwMp2gXwtYGH3AhgG7+L8vMdCqrSgDWZDyd4lKwQ7FIdJsjihvM6y4ihU AggsOPvszAe7Wits8f7neuTdYNqSwBSkG6xoMi86XvbVi4cyJxLwwfgQ== Received: from athena.barrera.io (2800:40:7aa:1:bae8:56ff:fe18:7bf6 [IPv6:2800:40:7aa:1:bae8:56ff:fe18:7bf6]); by smtp.barrera.io (OpenSMTPD) with ESMTPSA id 48272959; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 16 Feb 2015 20:21:21 +0000 (GMT) Received: from athena.barrera.io (athena.barrera.io [IPv6:::1]); by athena.barrera.io (OpenSMTPD) with ESMTP id 604764cd; Mon, 16 Feb 2015 20:21:38 +0000 (UTC) Date: Mon, 16 Feb 2015 17:21:38 -0300 From: Hugo Osvaldo Barrera To: Heikki Linnakangas Cc: pgsql-bugs@postgresql.org Subject: Re: postgresql-server exiting abnormally after an OS upgrade Message-ID: <20150216202138.GB20474@athena.barrera.io> References: <20150212224257.GA16161@athena.barrera.io> <54DDFC33.6090703@vmware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline In-Reply-To: <54DDFC33.6090703@vmware.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Pg-Spam-Score: -2.0 (--) 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 --tsOsTdHNUZQcU9Ye Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2015-02-13 15:29, Heikki Linnakangas wrote: > On 02/13/2015 12:42 AM, Hugo Osvaldo Barrera wrote: > >Here's the error which repeats ad infinitum: > > > > LOG: database system was shut down at 2015-02-12 14:41:29 GMT > > LOG: database system is ready to accept connections > > LOG: autovacuum launcher started > > LOG: server process (PID 21205) was terminated by signal 6: Abort = trap > > LOG: terminating any other active server processes > > WARNING: terminating connection because of crash of another server= process > > DETAIL: The postmaster has commanded this server process to roll b= ack the current transaction and exit, because another server process exited= abnormally and possibly corrupted shared memory. > > HINT: In a moment you should be able to reconnect to the database = and repeat your command. >=20 > Can you get a core dump and a stack trace from it? >=20 > - Heikki >=20 It certainly took me a bit, but, with some help, I managed to get one: (gdb) bt #0 0x0000110a2815b92a in kill () at :2 #1 0x0000110a28195119 in abort () at /usr/src/lib/libc/stdlib/abort.c:53 #2 0x0000110a2816a238 in memcpy (dst0=3D0xfb8d4, src0=3D0x6, length=3D0)= at /usr/src/lib/libc/string/memcpy.c:65 #3 0x000011080cf8d1b1 in check_ip (raddr=3D0x110a899f7918, addr=3D0x110a= 899f9058, mask=3D0x110a899f9158) at hba.c:704 #4 0x000011080cf90a04 in check_hba (port=3D0x110a899f7800) at hba.c:1718 #5 0x000011080cf91d34 in hba_getauthmethod (port=3D0x110a899f7800) at hb= a.c:2256 #6 0x000011080cf88eb3 in ClientAuthentication (port=3D0x110a899f7800) at= auth.c:307 #7 0x000011080d1edf5d in PerformAuthentication (port=3D0x110a899f7800) a= t postinit.c:223 #8 0x000011080d1eeae7 in InitPostgres (in_dbname=3D0x110af4508c00 "virts= tart-dev", dboid=3D0,=20 username=3D0x110af4508be0 "virtstart-dev", out_dbname=3D0x0) at posti= nit.c:688 #9 0x000011080d0a3eb1 in PostgresMain (argc=3D1, argv=3D0x110af4508c20, = dbname=3D0x110af4508c00 "virtstart-dev",=20 username=3D0x110af4508be0 "virtstart-dev") at postgres.c:3749 #10 0x000011080d033537 in BackendRun (port=3DCould not find the frame bas= e for "BackendRun". ) at postmaster.c:4155 #11 0x000011080d032be8 in BackendStartup (port=3D0x110a899f7800) at postm= aster.c:3829 #12 0x000011080d02f2d0 in ServerLoop () at postmaster.c:1597 #13 0x000011080d02e968 in PostmasterMain (argc=3D3, argv=3D0x7f7ffffd9658= ) at postmaster.c:1244 #14 0x000011080cf96dc8 in main (argc=3DCould not find the frame base for = "main". ) at main.c:228 Current language: auto; currently asm I stopped pg once it crashed and then bt'd the core. Does this help at all?= Is there something else I can provide? Thanks, --=20 Hugo Osvaldo Barrera A: Because we read from top to bottom, left to right. Q: Why should I start my reply below the quoted text? --tsOsTdHNUZQcU9Ye Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJU4lFSAAoJEG+f/xIrmMDNvJ0P/jMj0bdt1Aj7nNVBbooMDlOI 2dcC7AUpBbza9bumEfkrwJ74ujZRhggAm1VDRlpGHzTCd9rYjuI19grze+Q0bwwf KnF7LxHpsD5RrhhCicxXv/AUidGAall71QOkQuvXKoMygMQz6sWboE7f9ay7CJol 66DqVXXC9tQ0XcHvfZhpKv0QgLKY+oXb6vLIOhK4wV97QbBeoNRNseuJ/+3tAaT4 P+/OrrXg3SpoiTq3nimmnEYqaw0S9bDxWZCRu4CFzRsnCBbx3BAzFyiMx1spAh2E SVxsE82FOEegVApks3JeUFjqe4MZUfXejPVoZ2DGzfo6l/uBFhuef3ZRuL9RrZQ4 dWQUqgoFroSBC8h7EGPL48aNTyLeKj+rR9Jz7DMTO5ZRt30fZ8Sw1O88dlZ8boBb vzynq6Yb/SVZ6mDvq5PzgOUoM1uH7mR6xvaAT8aHsVxqhC0oZWEi3d7dI/BFjjER YVGDq6+kisYa6+6O9gJ193zSv3d5ghGs0n8xFPs+qj0KI1LzoyxIyDM2VXRDNIBa rAjWxepwJkkK2HCx5P3jSdK7RdW8IYmogDxxboBxiTWBSencylVugH352TfLRT4b wcsS+MNCpeywdPeGjHb/WbSoEZV62QdMpM30u13k7w5GEIE22Y5snqkTt3kDWjU2 PmaEROWpSD1Lb1Yd1Xi9 =SLM/ -----END PGP SIGNATURE----- --tsOsTdHNUZQcU9Ye--