Re: The Data Base System is in recovery mode

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Palle Girgensohn <girgen(at)partitur(dot)se>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: The Data Base System is in recovery mode
Date: 2000-10-22 02:33:30
Message-ID: 2300.972182010@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Palle Girgensohn <girgen(at)partitur(dot)se> writes:
> GNU gdb 4.18
> Program terminated with signal 11, Segmentation fault.
> (gdb) bt
> #0 0x8136eb2 in GetTemplateEncoding ()
> #1 0x8136d66 in pg_mb2wchar_with_len ()
> #2 0x810adab in int8_text ()
> #3 0x810ae82 in textlike ()
> #4 0x812ef14 in fmgr_c ()

I do not believe this backtrace. textlike does not call int8_text;
int8_text does not call pg_mb2wchar_with_len; pg_mb2wchar_with_len
doesn't call GetTemplateEncoding; and GetTemplateEncoding is just
about as SEGV-proof as any routine I've ever seen:

static int templateEncoding;
...
int
GetTemplateEncoding()
{
return (templateEncoding);
}

I speculate that you gave gdb the wrong executable file to compare
to the core file ...

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Palle Girgensohn 2000-10-22 02:44:56 Re: The Data Base System is in recovery mode
Previous Message Tom Lane 2000-10-22 02:22:57 Re: The Data Base System is in recovery mode