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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

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.


Fujii Masao

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


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-2018 The PostgreSQL Global Development Group