Re: SIGSEGV in Postgres 8.0.3 (libpq4)

From: Richard Huxton <dev(at)archonet(dot)com>
To: pgsql-hackers(at)postgresql(dot)org, wildfire(at)progsoc(dot)uts(dot)edu(dot)au
Subject: Re: SIGSEGV in Postgres 8.0.3 (libpq4)
Date: 2005-10-19 08:14:51
Message-ID: 4356007B.9030005@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Anand Kumria wrote:
> Hi,
>
> 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.
>
> I am using Debian testing and have recompiled postgres-8.0.3-15 to
> include debugging symbols. This is a dual-CPU dual-stacked IPv4/IPv6
> host running Linux 2.4.22.
>
>>From what I have been able to determine the problem is in libpq4:
>
> Starting program: /usr/bin/perl ./add_address 265 2001:502:d399:0:0:0:0:44
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 8523)]
> (no debugging symbols found)
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 8523)]

The first thing the developers will ask for is a reproducible test-case.
Could you reduce "add_address" to the minimum?

The next thing they'll ask is whether you built with
--enable-thread-safety turned on.
http://www.postgresql.org/docs/8.0/static/libpq-threading.html

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-10-19 08:32:12 pg_dump permissions
Previous Message Ivan Pavlov 2005-10-19 06:36:56 Re: Call for translators