Re: 7.2.1 backend crash (convert_string_datum, locale)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Mats Lofkvist <mal(at)algonet(dot)se>, pgsql-bugs(at)postgresql(dot)org, Andrew Sullivan <andrew(at)libertyrms(dot)info>
Subject: Re: 7.2.1 backend crash (convert_string_datum, locale)
Date: 2002-07-12 03:36:06
Message-ID: 200207120336.g6C3a6x09284@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> Mats Lofkvist <mal(at)algonet(dot)se> writes:
> > When testing postgres 7.2.1 on a sparc/solaris8 box with
> > --enable-locale --enable-multibyte I get a crash in
> > convert_string_datum.
>
> This smells like a problem that we chased down awhile back, that
> snprintf on Solaris is broken (it will write past the end of the
> specified buffer length, thus corrupting adjacent data).
>
> Andrew, I think that was your test case we found it on. Do you
> recall if a fix is available from Sun?

Yes, I remember this too. It was specifically multibyte-related.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Sullivan 2002-07-12 03:58:45 Re: 7.2.1 backend crash (convert_string_datum, locale)
Previous Message Stephan Szabo 2002-07-12 03:16:31 Re: Bug #710: Fail To Create/Drop Temporary Table IN PL/PGSQL