Re: SIGSEGV in Postgres 8.0.3 (libpq4) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: SIGSEGV in Postgres 8.0.3 (libpq4)
Date
Msg-id 11690.1129827398@sss.pgh.pa.us
Whole thread Raw
In response to SIGSEGV in Postgres 8.0.3 (libpq4)  (Anand Kumria <wildfire@progsoc.uts.edu.au>)
List pgsql-bugs
Anand Kumria <wildfire@progsoc.uts.edu.au> writes:
> I have a set of perl scripts which invoke each other (via system());
> eventually I found that they were crashing and ultimately causing Perl
> to SIGSEGV.

Are you doing anything multi-threaded in those scripts?  libpq is not
thread-aware --- it's up to you to ensure that only one thread touches
a given PG connection (only one at a time anyway).

That might have nothing to do with your problem, but no other theories
come to mind with the limited info you've provided...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Michael Meskes
Date:
Subject: Re: BUG #1962: ECPG and VARCHAR
Next
From: Chris Travers
Date:
Subject: Re: BUG #1947: Enhancement Request - CONCAT() function