Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNhp7-0003QN-Q1 for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Jun 2017 15:45:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dNhp7-0004NM-Ca for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Jun 2017 15:45:41 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dNhoN-0000nr-Qn for pgsql-bugs@postgresql.org; Wed, 21 Jun 2017 15:44:55 +0000 Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dNhoK-0001pw-Gn for pgsql-bugs@postgresql.org; Wed, 21 Jun 2017 15:44:55 +0000 Received: by mail-qt0-x233.google.com with SMTP id f92so21451142qtb.2 for ; Wed, 21 Jun 2017 08:44:52 -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=2RiWhBOye+XAPTx9bM1cZO4ssVGxIAbFApPk4qDA3v8=; b=fnLMV1viV3zUoZfK2/xRFFN7qc/lwbEktOW5rVkGgZpy/kNDYISQngjqJ3Ec8qckY/ 7HLb6GhiMjQBpX2GFzf/mDUa5huWKHpLE67kBMTcSVznbAUU1UoGUzNzm9C/+wBd6ecn hcS+pT+h43SDJ5nGwgt/mZndFrTuSbjtopjyWdJFZ+5nyvtEF8R9t3jmuClXpCI+EYW6 nEqpWWTReG+vpIAUoJ3wCyor31WU11Bp8pNjxIlGrzFaz7cs7DMGLmIiN3aPORzDq0cF +jDgqDMBp2e5Sal+I9MOdYNuQsMr00Eqrv8MC2bp+F8+9Kosixh/iH5jjBbLQ54uYCJp 16qA== 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=2RiWhBOye+XAPTx9bM1cZO4ssVGxIAbFApPk4qDA3v8=; b=eVp0ZpG7WeNe+H4SCEgGr4s3a58XzEXT3zzkolLwV23JV5XtdLhV0B4jdag4Tp7Eo6 NBXWVsW7YsMKGbaW3TfwL9vtr7ZcsW0lKLbmLZZEqx7HZuGnqxZEghJH/ogT8vA8oT6S VqKfRQgSdjvxEgkZS7wBbGDi8DjFa/cJ8nuPmr7oCzMjey0sU0/ulbdLZ2KmxQ1srUwv nZMbml6iEvIiy2FVoJ026pdOTp3gc+O1YFg42aPCW2gN9rCFveZT/QYFXwmjpbFlhLuN mS3nXV5l+/BPfYc4JjvsmVrqI4YWkyh/HNeukBwLp7iRp3+x+11yohqhUnBVljulkB1w zXeA== X-Gm-Message-State: AKS2vOzmUwlhm3e8w3oAhG0kiOAOmg01Zi/2uBsm8vHh2M8eUIKpZjYR 0oh9wW7wjwe+Qo4TS+JzAS2xdz0+0hX0Dlu6NCAFnVYQaF4Rw8od0Q++ltsq9CHupTjxIbsMmfz wH4HHr2YCOd1M6KI9w0VCMt+yQa35DGYeGAr10cjn8N314M+/X2/V9THuoyidCvqvfw== X-Received: by 10.200.41.60 with SMTP id y57mr44815252qty.193.1498059890487; Wed, 21 Jun 2017 08:44:50 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([179.57.115.10]) by smtp.gmail.com with ESMTPSA id m129sm10349900qkc.2.2017.06.21.08.44.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 08:44:50 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 08325493; Wed, 21 Jun 2017 11:44:48 -0400 (-04) Date: Wed, 21 Jun 2017 11:44:48 -0400 From: Alvaro Herrera To: Tom Turelinckx Cc: pgsql-bugs@postgresql.org Subject: Re: Bus error in formatting.c NUM_numpart_to_char (9.4.12, 9.6.3, sparc) Message-ID: <20170621154447.eazyyleirccpofju@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <006b01d2eaa2$d4317be0$7c9473a0$@turelinckx.be> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.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 Tom Turelinckx wrote: > It seems this issue was introduced in 9.4.9: 9.4.9, 9.4.10, 9.4.11 and > 9.4.12 all crash at the same test at the same line in formatting.c, > but 9.4.8 builds successfully and passes all tests. It also seems that > both NUM_numpart_to_char and the failing test have not been touched > for, eh, decades, so the root cause must be somewhere else. You're probably misreading the git log, because this code was touched just before 9.4.9. See commit https://git.postgresql.org/pg/commitdiff/20f870fd7cab8446c208a4a9cfa5ec2a441ef69c -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs