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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
pg_basebackup_segv_bugfix_v1.patch application/octet-stream 440 bytes

Responses

Browse pgsql-hackers by date

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