From: Craig Ringer <ringerc@ringerc.id.au>
To: gilsonlasco@yahoo.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6663: 64bit *conn not handled properly by PQfinish
Date: Wed, 30 May 2012 09:08:07 +0800
Message-ID: <4FC572F7.4050503@ringerc.id.au> (raw)
In-Reply-To: <E1SXOVY-00027F-T4@wrigleys.postgresql.org>
References: <E1SXOVY-00027F-T4@wrigleys.postgresql.org>
On 05/24/2012 11:14 AM, gilsonlasco@yahoo.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 6663
> Logged by: Gilson Lasco
> Email address: gilsonlasco@yahoo.com
> PostgreSQL version: 9.1.3
> Operating system: Linux Ubuntu 12.04 x64
> Description:
>
> while PQconnectdb returns addresses below 2gb, PQfinish works nicely.
> First conn obj above 2gb line and PGfinish segfaults.
Backtrace? Minimal test program to demonstrate the problem?
Did you compile libpq yourself, or is it a packaged version? If
packaged, from where?
What compiler options were used in the build of libpq? and of your program?
Does more than one thread ever access libpq at a time? There are strict
threading rules around how you can access libpq and connections. See the
documentation. If you violate them, you enter undefined behavior territory.
If you run your test program under valgrind, do you see any issues?
> using libpq.a with a C multithread program
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ringerc@ringerc.id.au, gilsonlasco@yahoo.com
Subject: Re: BUG #6663: 64bit *conn not handled properly by PQfinish
In-Reply-To: <4FC572F7.4050503@ringerc.id.au>
References: <E1SXOVY-00027F-T4@wrigleys.postgresql.org> <4FC572F7.4050503@ringerc.id.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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