Re: Bus error in formatting.c NUM_numpart_to_char (9.4.12, 9.6.3, sparc)

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Turelinckx <tom(at)turelinckx(dot)be>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bus error in formatting.c NUM_numpart_to_char (9.4.12, 9.6.3, sparc)
Date: 2017-06-21 15:44:48
Message-ID: 20170621154447.eazyyleirccpofju@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-06-21 16:24:08 Re: Bus error in formatting.c NUM_numpart_to_char (9.4.12, 9.6.3, sparc)
Previous Message Tom Turelinckx 2017-06-21 15:26:59 Bus error in formatting.c NUM_numpart_to_char (9.4.12, 9.6.3, sparc)