Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group