BUG #15266: libpq: PQgetvalue fails with Break at address"0x8000fb50" Signal : SIGSEGV:Segmentation fault)

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #15266: libpq: PQgetvalue fails with Break at address"0x8000fb50" Signal : SIGSEGV:Segmentation fault)
Дата
Msg-id 153100486384.1405.1126891640113042710@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #15266: libpq: PQgetvalue fails with Break at address"0x8000fb50" Signal : SIGSEGV:Segmentation fault)  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15266
Logged by:          bug gy
Email address:      buggy@trashmail.de
PostgreSQL version: 10.4
Operating system:   Windows 10 64 bit
Description:

installation: EnterpriseDB installer 10.4 64 bit

code: 1st example
https://www.postgresql.org/docs/9.1/static/libpq-example.html fails at the
first call to it at line ~100
built with mingw64
gcc "-IC:\\Program Files\\PostgreSQL\\10\\include" -O0 -g3 -Wall -c
-fmessage-length=0 -o testlibpq.o "..\\testlibpq.c" 
gcc "-LC:\\Program Files\\PostgreSQL\\10\\lib" -o testcpq.exe testlibpq.o
-lpq -lws2_32 

calling PQgetvalue with i=0 j=0 fails with Break at address "0x8000fb50"
with no debug information available, or outside of program code. Thread #1 0
(Suspended : Signal : SIGSEGV:Segmentation fault)            0x8000fb50

console output:
 datname        datdba         encoding       datcollate     datctype
datistemplate  datallowconn   datconnlimit   datlastsysoid  datfrozenxid
datminmxid     dattablespace  datacl


version 9.6 of libpq.dll & libpq.lib works jsut fine with that code


В списке pgsql-bugs по дате отправления:

Предыдущее
От: "ceccareb@talusmusic.com"
Дата:
Сообщение: Re: BUG #15263: pg_dump / psql failure. When loading, psql does not see function-based constraints or indices
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #15266: libpq: PQgetvalue fails with Break at address"0x8000fb50" Signal : SIGSEGV:Segmentation fault)