Re: Initdb problem on debian mips cobalt: Bus error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: glynastill(at)yahoo(dot)co(dot)uk
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, pgsql-general(at)postgresql(dot)org
Subject: Re: Initdb problem on debian mips cobalt: Bus error
Date: 2008-08-04 23:00:15
Message-ID: 14390.1217890815@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Glyn Astill <glynastill(at)yahoo(dot)co(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Stark 2008-08-04 23:26:37 Re: Initdb problem on debian mips cobalt: Bus error
Previous Message Rob Adams 2008-08-04 22:39:30 Re: recovery via base + WAL replay failure