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

segmentation fault in pg_basebackup

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: segmentation fault in pg_basebackup
Date: 2013-01-09 15:56:30
Message-ID: CAHGQGwH0u+ToOr_9DFhDuPWMKP+urELSfEa2tU9rs=aMeAL6Hw@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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.

Regards,

-- 
Fujii Masao

Attachment: pg_basebackup_segv_bugfix_v1.patch
Description: application/octet-stream (440 bytes)

Responses

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2013-01-09 15:58:59
Subject: Re: segmentation fault in pg_basebackup
Previous:From: Christian UllrichDate: 2013-01-09 15:30:03
Subject: Re: PL/perl should fail on configure, not make

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