Skip site navigation (1) Skip section navigation (2)

PgDatabase, on heap construction results in SIGSEGV.

From: JSavage(at)data-mate(dot)com (Savage)
To: pgsql-interfaces(at)postgresql(dot)org
Subject: PgDatabase, on heap construction results in SIGSEGV.
Date: 2002-10-16 02:26:25
Message-ID: c23c6cdc.0210151826.70007e3c@posting.google.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
I am having a problem constructing a PgDatabase object. If I create
the object on the stack (as a var local to a function) then it
constructs and connects to the DB ok. But, if I create and construct
the object on the heap, a SIGSEGV occurs within libpq++.so.4.

Has anyone got any ideas what could be causing this? I have only been
programming under linux for a month or so at this stage, but I've a
lot of Win32 experience. Any pointers to things that a Win32 to Linux
newbie would not be aware of would be much appreciated.

Thanks,
John

Responses

pgsql-interfaces by date

Next:From: Tom LaneDate: 2002-10-16 03:00:12
Subject: Re: DBD::Pg now without maintainer
Previous:From: Bruce MomjianDate: 2002-10-15 22:00:01
Subject: Re: DBD::Pg now without maintainer

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group