Re: Possible alpha5 SR bug

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, quinn(at)fairpath(dot)com, Josh Berkus <josh(at)postgresql(dot)org>
Subject: Re: Possible alpha5 SR bug
Date: 2010-04-13 06:22:53
Message-ID: o2g3f0b79eb1004122322t2e5ab435x37793b36e8ad3a9b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks for the test and report!

On Tue, Apr 13, 2010 at 1:36 PM, Jeff Davis <pgsql(at)j-davis(dot)com> wrote:
> FATAL:  could not load library "/usr/local/pgsql-9.0alpha5-build1/lib/libpqwalreceiver.so": dlopen(/usr/local/pgsql-9.0alpha5-build1/lib/libpqwalreceiver.so, 10): Library not loaded: /usr/local/pgsql/lib/libpq.5.dylib
>          Referenced from: /usr/local/pgsql-9.0alpha5-build1/lib/libpqwalreceiver.so
>          Reason: no suitable image found.  Did find:
>                /Users/quinn/lib/libpq.5.dylib: stat() failed with errno=13

Seems to have failed in loading libpq.5.dylib. I guess that "errno=13" means
"permission denied". Please ensure that the permission is appropriate.

> LOG:  WAL receiver process (PID 1011) was terminated by signal 11: Segmentation fault

Oops! I guess that this happened because walrcv_disconnect() was called in
WalRcvDie() even though libpqwalreceiver.so couldn't be loaded. The attached
patch would fix the problem.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment Content-Type Size
walrcv_segv_v1.patch application/octet-stream 580 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kenaniah Cerny 2010-04-13 08:03:45 BUG #5417: intarray adds <@ operator which breaks infromation_schema.referential_constraints
Previous Message John Regehr 2010-04-13 05:44:28 BUG #5416: int4inc() is wrong