Re: Segmentation Fault - Mailing list pgsql-general

From Tom Lane
Subject Re: Segmentation Fault
Date
Msg-id 19838.1155738694@sss.pgh.pa.us
Whole thread Raw
In response to Segmentation Fault  (Poul Møller Hansen <freebsd@pbnet.dk>)
Responses Re: Segmentation Fault
List pgsql-general
=?ISO-8859-1?Q?Poul_M=F8ller_Hansen?= <freebsd@pbnet.dk> writes:
> Last night one of my databases broke down temporary because of a
> segmentation fault.

> At 00:36:21 this was happening in the pgsql log
> 2006-08-16 00:36:21 CEST - LOG:  duration: 14673.110 ms  statement:
> EXECUTE <unn
> amed>  [PREPARE:  select * from app.insert_unitstat($1,$2,$3,$4,$5,$6,$7,
> $8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21)  as result]
> ...
> These statements are called in a plpgsql function and the function is
> called via JDBC

Given that you're using duration logging and JDBC, I wonder whether you
didn't trip over this recently-identified bug:
http://archives.postgresql.org/pgsql-hackers/2006-08/msg00815.php
Patch is here:
http://archives.postgresql.org/pgsql-committers/2006-08/msg00278.php

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Massive slowdown when LIMIT applied
Next
From: "Harald Armin Massa"
Date:
Subject: Re: Weird join result