Обсуждение: Unregistered OpenSSL callbacks access violation

Поиск
Список
Период
Сортировка

Unregistered OpenSSL callbacks access violation

От
Ranier VF
Дата:
Hi,

Postgresql 9.5
Windows client 32 bits
msvc 2010 32 bits

WARNING: Stack unwind information not available. Following frames may be wrong.
SSLEAY32!SSL_shutdown+0x4
LIBPQ!PQpingParams+0x1631
LIBPQ!PQfinish+0x11
nginx!dbd_pgsql_close+0x106 [c:\usr\src\dbd\postgresql\dbd_pgsql.c @ 279]
nginx!dbd_pgsql_cleanup+0x3d [c:\usr\src\dbd\postgresql\dbd_pgsql.c @ 296]
nginx!ngx_destroy_pool+0x36 [c:\msys\1.0\nginx-1.10\src\core\ngx_palloc.c @ 57]
nginx!ngx_worker_process_exit+0x176 [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_process_cycle.c @ 850]
nginx!ngx_worker_process_cycle+0x526 [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_process_cycle.c @ 753]
nginx!ngx_master_process_cycle+0x37 [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_process_cycle.c @ 76]
nginx!main+0x45c [c:\msys\1.0\nginx-1.10\src\core\nginx.c @ 367]
nginx!__tmainCRTStartup+0x10b [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c @ 278]
kernel32!RegisterWaitForInputIdle+0x49

Maybe this not bug in libpq, but, I turns him.

Question?
Wy PQfinish call PQpingParams, if app it is disconnecting from server?

Best regards,

Ranier


Livre de vírus. www.avast.com.

Re: Unregistered OpenSSL callbacks access violation

От
Michael Paquier
Дата:
On Thu, Jun 9, 2016 at 4:01 AM, Ranier VF <ranier_gyn@hotmail.com> wrote:
> Postgresql 9.5
> WARNING: Stack unwind information not available. Following frames may be wrong.
> SSLEAY32!SSL_shutdown+0x4
> LIBPQ!PQpingParams+0x1631
> LIBPQ!PQfinish+0x11
> nginx!dbd_pgsql_close+0x106 [c:\usr\src\dbd\postgresql\dbd_pgsql.c @ 279]
> nginx!dbd_pgsql_cleanup+0x3d [c:\usr\src\dbd\postgresql\dbd_pgsql.c @ 296]
> nginx!ngx_destroy_pool+0x36 [c:\msys\1.0\nginx-1.10\src\core\ngx_palloc.c @ 57]
> nginx!ngx_worker_process_exit+0x176 [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_process_cycle.c @ 850]
> nginx!ngx_worker_process_cycle+0x526 [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_process_cycle.c @ 753]
> nginx!ngx_master_process_cycle+0x37 [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_process_cycle.c @ 76]
> nginx!main+0x45c [c:\msys\1.0\nginx-1.10\src\core\nginx.c @ 367]
> nginx!__tmainCRTStartup+0x10b [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c @ 278]
> kernel32!RegisterWaitForInputIdle+0x49
> Question?
> Wy PQfinish call PQpingParams, if app it is disconnecting from server?

PQfinish never calls PQpingParams, so this stack is not something we
can rely on I am afraid. Which version of Postgres 9.5 are you using?
9.5.3? If you use 9.5.2 are you still seeing the problem? We may be
seeing a side-effect of a3c17b2a here.
--
Michael