pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #15266: libpq: PQgetvalue fails with Break at address "0x8000fb50" Signal : SIGSEGV:Segmentation fault)
2+ messages / 2 participants
[nested] [flat]
* BUG #15266: libpq: PQgetvalue fails with Break at address "0x8000fb50" Signal : SIGSEGV:Segmentation fault)
@ 2018-07-07 23:07 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2018-07-07 23:07 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: buggy@trashmail.de
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #15266: libpq: PQgetvalue fails with Break at address "0x8000fb50" Signal : SIGSEGV:Segmentation fault)
@ 2018-07-08 00:26 Michael Paquier <michael@paquier.xyz>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: Michael Paquier @ 2018-07-08 00:26 UTC (permalink / raw)
To: buggy@trashmail.de; pgsql-bugs@lists.postgresql.org
On Sat, Jul 07, 2018 at 11:07:43PM +0000, PG Bug reporting form wrote:
> 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
>
> version 9.6 of libpq.dll & libpq.lib works jsut fine with that code
Is that MinGW or something else? I have just copied the program from
the 9.1 documentation and it worked for me, on Linux though.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-07-08 00:26 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-07-07 23:07 BUG #15266: libpq: PQgetvalue fails with Break at address "0x8000fb50" Signal : SIGSEGV:Segmentation fault) PG Bug reporting form <noreply@postgresql.org>
2018-07-08 00:26 ` Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox