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 1h6Qg1-0006Oi-6X for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Mar 2019 02:09:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h6Qg0-0001Bq-07 for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Mar 2019 02:09:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6Qfz-0001B9-NP for pgsql-bugs@lists.postgresql.org; Wed, 20 Mar 2019 02:09:55 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6Qfx-0007zk-Kx for pgsql-bugs@lists.postgresql.org; Wed, 20 Mar 2019 02:09:55 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3D3E622F0D; Tue, 19 Mar 2019 22:09:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 19 Mar 2019 22:09:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=ePoebzNBa+rWuk/+eb4oX6YI3aI erYnep8DsOXsqYgc=; b=N4kC6wxOimb5kN5R2R1JeWlLd3qBwai2RBbxbynznfa jK5tVJUkHKzj0Wb2F33iFVQmlY12FUxZpCmPBbAm7LOJ2l5ZLmRPwtlikFXpjpqI R+KhGunRgyaJh3YnmY5oYNeCf1IwoIqo0iN+sBOpAn1OYR4wUoGheccrE5lmYll1 7a5/sBDgB+qIB3wuYkmsAzYWBgGtIsLd48whbItkgHX63KcgPwpGFGY40sUlRmQ1 gEGJ5+jHoapA5NLXbZu+Imnh/PZWh41o//Zi1gEtS2qexkkOeExK6eRRbwvUvFI/ pJ+5FLnyKYDHnRrsqA4L80Yw4W8/0kvAC5EaA0dsDaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ePoebz NBa+rWuk/+eb4oX6YI3aIerYnep8DsOXsqYgc=; b=HQe8JXPwH+yonlQemG1L4X K0zVtg8DpXTJMzqfa+z2G9HYSao4IsREaK8l7gPnbYf7S7MqyUDIeCenYe9OhkH/ zeb90dlK6YT8E1GgwcKDXaBcXAHl0O7jLLA4ijXRe/aOGDQetPV3fwj09opbNZsD NOGgmrYlZWC0YBIvq81cjqRIpjXJH5Bc8G3bzbH0xVTcU8OXfyNc47ap4hRqP9ep vYfAr19MtWPqB2rw+SA5gr+XcEEZxyhoZ2wwqRJvJsDnchOJcgc8Scp2c0XPEZ/T FGRGABHBFHPbzY2I+a9EhDwP0w0otDZ0dRaZMH+M5sJQhOWir2AN82SqgbuO8iYA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrieehgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecukfhppeduudekrddvgedurddvgeekrdduudenucfrrghrrghm pehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlhhush htvghrufhiiigvpedu X-ME-Proxy: Received: from paquier.xyz (mp76f1f80b.ap.nuro.jp [118.241.248.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 7114C10314; Tue, 19 Mar 2019 22:09:50 -0400 (EDT) Date: Wed, 20 Mar 2019 11:09:39 +0900 From: Michael Paquier To: Thomas Munro Cc: dr00487751@techmahindra.com, PostgreSQL mailing lists Subject: Re: BUG #15704: Possible causes for calling abort () system call during querying database. Message-ID: <20190320020939.GF3488@paquier.xyz> References: <15704-c7a33dbbab491dce@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w/VI3ydZO+RcZ3Ux" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --w/VI3ydZO+RcZ3Ux Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 20, 2019 at 02:01:49PM +1300, Thomas Munro wrote: > Just to rule something obvious out: did you make sure that libpq > connections are never accessed by multiple threads at the same time? More to the point: if you do that the memory handling of the internal libpq structures gets heavily messed up, in ways similar to what your report shows. -- Michael --w/VI3ydZO+RcZ3Ux Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlyRoOMACgkQnvQgOdby QH3j6A/9GsTMPwfI+vdRPa+UR3URQt5UHsdRZVaHy8aVVDQ31xfq1tobRUlkGbGq elIIO+q+aEm1GlkXWvfgqfdnIypkD1ExhvcYM+zlDglAjiRTRK9BYlYtHmNnXxqL pIRuFB+VKAlT6ZkFpEnmFp15LX1rxKMHjM/ty5ozGO+eT/OH3x68EFcPCYeM4ghI SgN42nmdABI+a8DAcnTHCMXcg8DCpgP/k21swWLDnlLRDBsohBT9ko5T/ojtlfg5 YlBzzxIaPaqCwOGHq1zeR/bDeM7WIFWnElu+ITLpecldfzwABr/pAMiLvtvyJUI6 QFwYvg2fV2bVfgXCNg8erF9h6upUn7ppLxo0MqNIFgcb0+66Fx08N6OjSDJOFD6V aWZM37WwNLG3ygGh9sX88ISym4/r9fmuro3fXHNHnZHmYmA7XT+VcPLAHbN0mU3s hOP3p8ixN8joJMPY53/fp2gRUNxIyyIHqKazZP0chs7jWAWdGB28dIcss3R5aWxq tweU2ZWOraj9NsPhhKlZiGL5Q+ovQR90m+gWsnpXp8RYfkS/y92sDxPs1gqHllGc KOvVnVJOg3cMdP5iPnHtMkkKzu0anMzXLJtmDUb/Wkup+Lg5Ql0bJCJ83J5vbnwE J+2Ca/KNmoZbnrkYPnm6jdzWSOgM/S/Kw2ur9F4ppJ/HdCXB5SM= =jdbW -----END PGP SIGNATURE----- --w/VI3ydZO+RcZ3Ux--