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

From: "Tom Turelinckx" <tom(at)turelinckx(dot)be>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-22 13:49:31
Message-ID: 000101d2eb5e$60a7ab60$21f70220$@turelinckx.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:

> > A potentially similar issue was introduced in 9.4.7 and resolved in 9.4.8:
> > https://www.postgresql.org/message-id/20160413094117.GC21485@msg.creda
> > tiv.de
>
> We never did get a clear explanation of why that crashed on Sparc.
> I hypothesized over-aggressive compiler assumptions about alignment, but there was no convincing evidence for that. It might be worth taking a look at the assembly code immediately around the crash point, especially if you could also get the corresponding code from 9.4.8.

I've already built 9.4.8, passing all tests. I can try to build 9.4.7 to reproduce that crash. I can also try to build 9.4.7 with just the relevant commit (0045691) applied to resolve that crash.

But I need more information / pointers to documentation on how to find and provide the information you need, as I have no experience with looking at assembly code.

Best regards,
Tom Turelinckx

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-06-22 14:21:58 Re: Bus error in formatting.c NUM_numpart_to_char (9.4.12, 9.6.3, sparc)
Previous Message Tom Turelinckx 2017-06-22 13:49:27 Re: Bus error in formatting.c NUM_numpart_to_char (9.4.12, 9.6.3, sparc)