Thanks for the test and report!

On Tue, Apr 13, 2010 at 1:36 PM, Jeff Davis <[email protected]> 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: walrcv_segv_v1.patch
Description: Binary data

-- 
Sent via pgsql-bugs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to