From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | buggy(at)trashmail(dot)de |
Subject: | BUG #15266: libpq: PQgetvalue fails with Break at address "0x8000fb50" Signal : SIGSEGV:Segmentation fault) |
Date: | 2018-07-07 23:07:43 |
Message-ID: | 153100486384.1405.1126891640113042710@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 15266
Logged by: bug gy
Email address: buggy(at)trashmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2018-07-08 00:26:12 | Re: BUG #15266: libpq: PQgetvalue fails with Break at address "0x8000fb50" Signal : SIGSEGV:Segmentation fault) |
Previous Message | ceccareb@talusmusic.com | 2018-07-07 14:50:46 | Re: BUG #15263: pg_dump / psql failure. When loading, psql does not see function-based constraints or indices |