"Segmentation Fault" errors in libpq++ programs. - Mailing list pgsql-novice

From Eric W. Brown
Subject "Segmentation Fault" errors in libpq++ programs.
Date
Msg-id 39B1EC36.D22190A@saugus.net
Whole thread Raw
List pgsql-novice
Hi, I'm fairly new to PostgreSQL and have been having some problems
getting
C++ programs linked with libpq++ to run error free.  Regardless of what
the
program is or does (provided it utilizes at least one libpq++ class
instance)
it will crash with a Segmentation Fault just prior to properly exiting.
That
is, the program will do all the hard stuff properly and fail at the very
end
(presumably having destructor problems).

I'm running Solaris 2.7 and am using the GNU gcc version 2.95.2 compiler
suite.  PostgreSQL is version 7.0.2 and was built (seemingly properly,
psql appears to function okay and hand queries all work without mishap)
on the same machine with the same copy of gcc.

Has anyone gotten this to work?

Thanks,
Eric

pgsql-novice by date:

Previous
From: "Poul L. Christiansen"
Date:
Subject: Re: Problems with varchar/text
Next
From: "Anthony E . Greene"
Date:
Subject: Re: data entry