Re: Initdb problem on debian mips cobalt: Bus error - Mailing list pgsql-general

From Tom Lane
Subject Re: Initdb problem on debian mips cobalt: Bus error
Date
Msg-id 14390.1217890815@sss.pgh.pa.us
Whole thread Raw
In response to Re: Initdb problem on debian mips cobalt: Bus error  (Glyn Astill <glynastill@yahoo.co.uk>)
Responses Re: Initdb problem on debian mips cobalt: Bus error  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-general
Glyn Astill <glynastill@yahoo.co.uk> writes:
> Heres a backtrace on a fresh core file
> http://privatepaste.com/911BTjYrY1
> Does this change get us any closer?

Not really ... there's no plausible reason to crash there, either.

Just for entertainment's sake, try recompiling with -O0 instead of the
default -O2.  (Rather than trying to browbeat configure into doing this,
I'd suggest manually adjusting CFLAGS in src/Makefile.global, then
"make clean" and rebuild.)  This has two purposes: if it's a compiler
bug, that will likely make it go away; and if gdb is misleading us about
exactly where the crash is, that should help it give a correct answer.

            regards, tom lane

pgsql-general by date:

Previous
From: Rob Adams
Date:
Subject: Re: recovery via base + WAL replay failure
Next
From: Gregory Stark
Date:
Subject: Re: Initdb problem on debian mips cobalt: Bus error