Skip site navigation (1) Skip section navigation (2)

Re: segmentation fault in pg_basebackup

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: segmentation fault in pg_basebackup
Date: 2013-01-09 15:58:59
Message-ID: CABUevEyzEN7vZg=suX1xt-S123dAOztMxYfikjRapbTJuS3FpA@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Wed, Jan 9, 2013 at 4:56 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> Hi,
>
> The pg_basebackup in HEAD caused a segmentation fault in my box.
>
> $ pg_basebackup -D mmm
> Segmentation fault: 11
>
> The cause is that WriteRecoveryConf() is wrongly called even if -R option is
> not specified in pg_basebackup. Attached patch fixes this problem.

Ugh, my fault. Failure when merging my changes with those from Zoltan.

Applied, thanks.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2013-01-09 16:00:01
Subject: Re: PL/perl should fail on configure, not make
Previous:From: Fujii MasaoDate: 2013-01-09 15:56:30
Subject: segmentation fault in pg_basebackup

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group