On Fri, Mar 15, 2019 at 12:10:59AM +0800, Mike Yeap wrote:
> Hi Noah, below is the output from one of the servers having this issue:
>
> $ echo "select pg_backend_pid(); load 'dblink'; select pg_sleep(100)" | psql -X &
> [1] 9731
>
> $ select pg_backend_pid(); load 'dblink'; select pg_sleep(100)
> pg_backend_pid
> ----------------
> 9732
> (1 row)
>
> LOAD
>
> $ gdb --batch --pid 9732 -ex 'info sharedlibrary ldap'
>
> warning: .dynamic section for "/lib64/libldap-2.4.so.2" is not at the expected address (wrong library or version
mismatch?)
>
> warning: .dynamic section for "/lib64/liblber-2.4.so.2" is not at the expected address (wrong library or version
mismatch?)
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> 0x00007f1e7592dcf3 in __epoll_wait_nocancel () from /lib64/libc.so.6
> From To Syms Read Shared Object Library
> 0x00007f1e7637d0f8 0x00007f1e763ae51c Yes (*) /lib64/libldap-2.4.so.2
> 0x00007f1d9f2c16d0 0x00007f1d9f2f5ae4 Yes (*) /lib64/libldap_r-2.4.so.2
> (*): Shared library is missing debugging information.
Thanks. That rules out my guess. I don't have another guess at this time.