Re: gcc5: initdb produces gigabytes of _fsm files - Mailing list pgsql-hackers

From Tom Lane
Subject Re: gcc5: initdb produces gigabytes of _fsm files
Date
Msg-id 22708.1423774704@sss.pgh.pa.us
Whole thread Raw
In response to gcc5: initdb produces gigabytes of _fsm files  (Christoph Berg <cb@df7cb.de>)
Responses Re: gcc5: initdb produces gigabytes of _fsm files  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Christoph Berg <cb@df7cb.de> writes:
> gcc5 is lurking in Debian experimental, and it's breaking initdb.

Yeah, I just heard the same about Red Hat as well:

https://bugzilla.redhat.com/show_bug.cgi?id=1190978

Not clear if it's an outright compiler bug or they've just found some
creative new way to make an optimization assumption we're violating.
Either way it seems clear that the find-a-page-with-free-space code is
getting into an infinite loop whereby it keeps extending the FSM till
it runs out of disk space.

There's a more detailed stack trace in the Red Hat report.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: assessing parallel-safety
Next
From: Jim Nasby
Date:
Subject: Re: enabling nestedloop and disabling hashjon