Solaris + locale bug identified

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org, pgsql-ports(at)postgreSQL(dot)org
Subject: Solaris + locale bug identified
Date: 2002-05-03 02:56:50
Message-ID: 3224.1020394610@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

Boban Acimovic was kind enough to give me access to a Solaris 8 system
to track down a reproducible server crash. What I find is that strxfrm
is buggy on that system. Given locale is_IS.ISO8859-1, the call

strxfrm(<ptr>, "pg_amop_opc_strategy_index", 58)

was observed to scribble on 108 bytes of memory at <ptr>, not the 58
that it was allowed to. This naturally led to death and destruction
upon next use of the adjacent data structures.

I don't know yet whether this is a known/repaired problem, or whether
it occurs in any locales besides Icelandic. But I thought I'd give
the list a heads-up. If anyone recognizes this bug, more info would
be appreciated.

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Dalibor Andzakovic 2002-05-03 03:06:41 Re: PostgreSQL mission statement?
Previous Message mlw 2002-05-03 02:46:21 Re: PostgreSQL mission statement?

Browse pgsql-ports by date

  From Date Subject
Next Message frank.brinkmann 2002-05-03 07:14:05 Problems running on Sharp Zaurus ( armv4l )
Previous Message Aleksander Wala 2002-04-25 18:59:57 question?