pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
libpq crashing under Vista
2+ messages / 2 participants
[nested] [flat]

* libpq crashing under Vista
@ 2007-11-12 00:27 PokerAce <pkrace@gmail.com>
  2007-12-06 21:02 ` Re: libpq crashing under Vista =?ISO-8859-2?Q?Adam_Rad=B3owski?= <adamr@informatyka.gdansk.pl>
  0 siblings, 1 reply; 2+ messages in thread

From: PokerAce @ 2007-11-12 00:27 UTC (permalink / raw)
  To: pgsql-interfaces

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: libpq crashing under Vista
  2007-11-12 00:27 libpq crashing under Vista PokerAce <pkrace@gmail.com>
@ 2007-12-06 21:02 ` =?ISO-8859-2?Q?Adam_Rad=B3owski?= <adamr@informatyka.gdansk.pl>
  0 siblings, 0 replies; 2+ messages in thread

From: Adam Radłowski @ 2007-12-06 21:02 UTC (permalink / raw)
  To: PokerAce <pkrace@gmail.com>; +Cc: pgsql-interfaces

I'm writing programs for Linux only, but ...
Have You tested, how psql works ? Psql program uses libpq library too.
Brgds
Adam

PokerAce pisze:
> 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-12-06 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-11-12 00:27 libpq crashing under Vista PokerAce <pkrace@gmail.com>
2007-12-06 21:02 ` =?ISO-8859-2?Q?Adam_Rad=B3owski?= <adamr@informatyka.gdansk.pl>

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