Re: BUG #6425: Bus error in slot_deform_tuple - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6425: Bus error in slot_deform_tuple
Date
Msg-id 4909.1328219050@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #6425: Bus error in slot_deform_tuple  (Duncan Rance <postgres@dunquino.com>)
Responses Re: BUG #6425: Bus error in slot_deform_tuple
List pgsql-bugs
Duncan Rance <postgres@dunquino.com> writes:
> At last I have been able to reproduce this problem in a relatively simple (yet contrived) way.

> I've put together a tarball with a few scripts, some to be run on the primary and others to be run on the hot-stanby.
There'sa README in there explaining what to do. 

So far no luck reproducing any issue with this test case.  I am running
two copies of import_loop.sh against the master, per your instructions,
and see occasional deadlock errors there as expected.  No errors at all
on the standby though.

One question probably worth asking is what non-default GUC settings are
you using on the master and standby?

(BTW, for anyone else trying this: with multiple copies of
import_loop.sh you will get a lot of "duplicate key" failures with the
test as written.  I had better luck after changing import.sh from
    ts=$(perl -e 'print time')
to
    ts=$$
ie use PID not timestamp as the pseudo-unique key.  This could be made
more bulletproof yet, but it didn't seem worth more trouble.)

            regards, tom lane

pgsql-bugs by date:

Previous
From: Duncan Rance
Date:
Subject: Re: BUG #6425: Bus error in slot_deform_tuple
Next
From: Tom Lane
Date:
Subject: Re: BUG #6425: Bus error in slot_deform_tuple