pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PokerAce <pkrace@gmail.com>
To: pgsql-interfaces@postgresql.org
Subject: libpq crashing under Vista
Date: Sun, 11 Nov 2007 19:27:12 -0500
Message-ID: <a413e23d0711111627l3124d175rf219663e9865734@mail.gmail.com> (raw)

I recently upgraded my computer to Vista.  When I went to run my application
(which ran beautifully under XP), the release build (VC++ 6) crashes every
time libpq attempts to connect to the server I have running on localhost.
The debug build runs fine.  Through logging, I've found that it happens
inside the PQconnectdb function and because I get no firewall notifications,
I know it's not even attempting to connect over the network.

I've tried using version 8.1.9 and 8.2.5 and get the same result in both.
If I link with the libraries included with PostgreSQL 8.2.5, it works fine,
but I'd rather have a statically linked version (my debug build has better
performance when linked to the static lib than the release build did linked
to the DLLs).

Again, this exact same setup with the exact same version of PostgreSQL
worked fine under XP.  I'm new to Vista, so perhaps there's something I'm
overlooking.  Any ideas or advice is appreciated.

Josh

view thread (2+ messages)  latest in thread

Message-ID: <a413e23d0711111627l3124d175rf219663e9865734@mail.gmail.com>
Permalink:  ../a413e23d0711111627l3124d175rf219663e9865734@mail.gmail.com/
Also on:    postgresql.org/message-id/a413e23d0711111627l3124d175rf219663e9865734@mail.gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pkrace@gmail.com
  Subject: Re: libpq crashing under Vista
  In-Reply-To: <a413e23d0711111627l3124d175rf219663e9865734@mail.gmail.com>

* 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