Re: Please help me debug regular segfaults on 8.3.10 - Mailing list pgsql-general

From Tom Lane
Subject Re: Please help me debug regular segfaults on 8.3.10
Date
Msg-id 9058.1273090531@sss.pgh.pa.us
Whole thread Raw
In response to Re: Please help me debug regular segfaults on 8.3.10  (pgsql <pgsql@lavabit.com>)
Responses Re: Please help me debug regular segfaults on 8.3.10  (pgsql <pgsql@lavabit.com>)
List pgsql-general
pgsql <pgsql@lavabit.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

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: pg_class has 3615 rows and 1010Mb in table size
Next
From: Daniel Scott
Date:
Subject: LDAP: Auto user creation and role membership