Re: 9.3.9 and pg_multixact corruption

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: 9.3.9 and pg_multixact corruption
Дата
Msg-id 20150920142305.GC31429@msg.df7cb.de
обсуждение исходный текст
Ответ на Re: 9.3.9 and pg_multixact corruption  (Andreas Seltenreich <andreas.seltenreich@credativ.de>)
Ответы Re: 9.3.9 and pg_multixact corruption  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
Re: Andreas Seltenreich 2015-09-13 <87si6i1875.fsf@credativ.de>
> I managed disassemble RecordNewMultiXact from the core dump using a
> cross-binutils, and it reveals that the compiler[1] appears to have
> indeed generated a signed division here.  I'm attaching a piece of C
> code that does the same computation as the assembly (I think), as well
> as the disassembly itself.
> 
> Footnotes: 
> [1]  Sun C 5.12 SunOS_sparc Patch 148917-07 2013/10/18, 64-bit

Hi,

a short update here: the customer updated the compiler to a newer
version, is now compiling using -O2 instead of -O3, and the code
generated now looks sane, so this turned out to be a compiler issue.
(Though it's unclear if the upgrade fixed it, or the different -O
level.)

Thanks to all who provided feedback, it was very valuable in actually
tracking down the root of the issue.

Christoph



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WIP: Rework access method interface
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: WIP: Rework access method interface