Re: Please help me debug regular segfaults on 8.3.10

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql <pgsql(at)lavabit(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Please help me debug regular segfaults on 8.3.10
Date: 2010-05-05 20:15:31
Message-ID: 9058.1273090531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

pgsql <pgsql(at)lavabit(dot)com> writes:
> Tom Lane wrote:
>> Looking at debug_query_string in the core dumps would
>> at least show what SQL command is calling the function(s) --- and I
>> wouldn't be surprised if there's exactly one function involved here.

> Content of debug_query_string:

> core.21207
> $1 = 63106368

Um, that's not too helpful, we want to see the string it's pointing at.
In a non-debug build you probably need to say
p (char *) debug_query_string
or something like that.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nikola 2010-05-05 20:30:38 Re: pg_class has 3615 rows and 1010Mb in table size
Previous Message Joshua D. Drake 2010-05-05 19:37:05 Re: pg_class has 3615 rows and 1010Mb in table size