pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: duncan.reitboeck@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15229: Crash when using PQgetvalue
Date: Mon, 04 Jun 2018 15:56:36 -0400
Message-ID: <6051.1528142196@sss.pgh.pa.us> (raw)
In-Reply-To: <30331.1528131355@sss.pgh.pa.us>
References: <152812969559.26728.1109379398061677469@wrigleys.postgresql.org>
	<30331.1528131355@sss.pgh.pa.us>

I wrote:
> =?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
>> I am getting a segmentation fault in the below code when attempting to use
>> PQgetvalue. I am not 100 percent this is a bug and not a problem on my end
>> but I have done a lot of debugging and not found an answer.

> Strange.  Your code looks fine by eye, and just to be sure I
> copied-and-pasted it and ran it here.  No problems.

Just to close out this thread --- the submitter reports the problem
went away after reinstalling libpq, so apparently "broken libpq"
was the correct diagnosis.

			regards, tom lane




view thread (3+ messages)

Message-ID: <6051.1528142196@sss.pgh.pa.us>
Permalink:  ../6051.1528142196@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6051.1528142196@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, duncan.reitboeck@gmail.com
  Subject: Re: BUG #15229: Crash when using PQgetvalue
  In-Reply-To: <6051.1528142196@sss.pgh.pa.us>
  References: <152812969559.26728.1109379398061677469@wrigleys.postgresql.org> <30331.1528131355@sss.pgh.pa.us> <6051.1528142196@sss.pgh.pa.us>

* 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